LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling solenoids with USB-6525

Solved!
Go to solution

Hi, I am new to Labview and am trying to use a USB-6525 to control six indepedent solenoid valves.  They will be switching on and off at different frequencies to control a cell perfusion system.  I have designed a block diagram that allows me to set the times that the SSR is closed and open.  The routine is inside a While loop to repeat until a given time has elapsed.  I can duplicate this six times to allow each valve to be operated independently.  But I would like to trigger all tasks at the same time.  How can I synchronize the loops so they all start at the same time?  Will it suffice to put all loops inside a conditional loop, or will this run the tasks sequentially?

 

Thanks

0 Kudos
Message 1 of 3
(3,116 Views)

Have a look at this

 

http://forums.ni.com/ni/board/message?board.id=170&thread.id=323469

 

Balaji(Certified Associate Developer)

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 2 of 3
(3,103 Views)
Solution
Accepted by topic author NJGW

your can synchronizeyour while loops using notifiers, please see the attachment.

 

Balaji(Certified Associate Developer)

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 3 of 3
(3,101 Views)