LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control valve program

Hello dear member of the forum,

 

1st of all let me tell you all that i am very new to labview i just know the basics.

 

i am experimenting with a control valve: of LEE LHL series whose specs are asa follows

3-way HDI (High density Interface)

5 volt models 

10 ms maximum for switching states

 

i am using NI-USB 6501 controller for these valve, i need to use 3 of the above control vales to operate at same time. 

i had done a VI in labview  8.6, but it seem not be working so fine, it does not run at all. i would also like to know if i can know the postion of the valve by placing some graphic indicator?

 i would like to upload the VI that i had done, can you please tell me how to upload the VI

 

 

 

thank you

rgds

Rajan 

 

0 Kudos
Message 1 of 5
(2,939 Views)
Upload your VI by using the "Add Attachments" link below.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 5
(2,938 Views)
thank you very much,,, i added the VI
0 Kudos
Message 3 of 5
(2,935 Views)

The first problem is that the your Case structure selectors are unwired (that's why your run arrow is broken - I wired them to your activate buttons), but that's not your only problem...  I also put each section in its own While Loop.

 

As a first pass, take a look at what I've done.  It'll take a lot more work to do what I think you finally want, but this should get you running.  Your controls will stay on as long as the valve is closed, as you specified.

 

Study up on State Machines and Shift Registers; you'll need to do that if you want a maintainable program.  It's really ugly to have a separate loop for each valve.  Write back with any questions you come up with.

 

jim

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 5
(2,907 Views)

thank you very much jim, i will try to work on it, if i face any problem i will write,,,,thanks alot

 

rgds

Rajan 

0 Kudos
Message 5 of 5
(2,890 Views)