04-02-2019 03:35 PM - edited 04-02-2019 03:56 PM
I am setting up a program to control the Ismatec IPC pump. With given function files to start/ stop the pump and a function that takes a couple of channels, which is called pumpen (total of 8 channels), I want to design a system using a while loop telling the pumping system to stop after 5 seconds but at the same time pumpen only takes channel 1. how would i set this up? thank you. I also attached these function files so its easier to understand.
Here is what I have so far just and I am not sure why input (start) function can't accept pumpen channel 1. Also did i set this up correctly?
04-03-2019 02:17 AM
Hi Petronas,
I am not sure why input (start) function can't accept pumpen channel 1. Also did i set this up correctly?
There are lots of broken wires: so you did not create a "correct" VI…
One problem: you cannot connect two controls (aka data sources) with a wire. As you should have learned by THINK DATAFLOW there can be only one data source, but many data sinks (aka indicators)!
I want to design a system using a while loop telling the pumping system to stop after 5 seconds but at the same time pumpen only takes channel 1. how would i set this up?
A state machine might be nice here: "Start pump", "Stop pump", and "wait" might be possible states…
When you want to handle 8 channels you could use an array. To command just one pump out of 8 you just edit an element of that array…
Falls es dir hilft: hier gibt es ein deutschsprachiges LabVIEW-Forum!