LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview pump control.

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?

 

KakaoTalk_Image_2019-04-02-13-55-37.pngKakaoTalk_Image_2019-04-02-13-55-38.png

0 Kudos
Message 1 of 2
(3,545 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(3,506 Views)