Hello All,
I'm currently working as a research assistant and am responsible for the Labview side of controlling a gripper using a solenoid valve.
My current status is the following:
- All electrical components have been set and verified. I know this because I created a task for controlling the solenoid valves in NI max, and it functions when I 'run' it in NI MAX.
- The solenoid valve is controlled by the digital output of a 6009 daq.
Here's my problem...
- My thinking was that I would be able to control the system by having two tasks, one that opens the solenoid valve and one that closes it. My thinking was to create a boolean loop which has within it the open task when true and close task when false.
- This has not worked and it seems like I need to use the activate task command but I'm not sure how.
Any advice on how to ensure that the open task activates when the condition is true and the close task activates when the condition is false would be great.
Thanks so much for your help and just for reference, the large 'while' loop in my code is for data processing as eventually I plan to use the data to control the true/false statement.