Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

if statement in labview

Ok I am using labview 8.5. A little confuse. Can anyone give me a sample code that do the following?

 

if detect digital input from port 0 line 1 from DAQ

wait 100ms

send digital output to port 0 line 2 to DAQ

 

Thanks

0 Kudos
Message 1 of 5
(6,598 Views)

Maybe like this...

0 Kudos
Message 2 of 5
(6,586 Views)

For some reason I can't view your file. I have labview 2013 but when I try to open it, the browning window keep popping up as if I need to point it to some specific location \National Instruments\LabVIEW 2011\instr.lib\Agilent 34401\Public\Utility

0 Kudos
Message 3 of 5
(6,572 Views)

Hi for some reason I cannot open that file. It keep asking me to browse to a window or something. Can you rewrite that simple code in labview 2011? I just installed by labview 2013 and it seems to be a problem. 

0 Kudos
Message 4 of 5
(6,558 Views)

Hello Hunkeelin,

 

I downloaded the DIO.vi that was posted here and saved it for LabVIEW 2011, I hope you are able to open it now. 

 

Matthew R.
Field Applications & Systems Engineer
National Instruments

Certified-LabVIEW-Developer_rgb.jpg

Certified-TestStand-Developer_rgb.jpg


0 Kudos
Message 5 of 5
(6,549 Views)