LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I/O direction of LabView shared variable?

Can I programmatically change the I/O direction of a LabView shared variable?  I'm using LV 2010 and I'm trying to change the I/O direction of a NI 9403 module programmatically.  Is this possible? 

0 Kudos
Message 1 of 2
(2,244 Views)

Hi JAF,

 

I'm assuming your intended purpose is to input and output data through the same DIO line.  

 

In that case, I would recommend using a case structure. You would need to create a case for input data and another case for the output.

 

Below is a link describing the characteristics of a case structure.

 

http://zone.ni.com/reference/en-XX/help/371361G-01/glang/case_structure/

 

I hope this helps. BTW, are you using a cRIO? I'm just curious.

 

Regards,

 

Josh L.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,217 Views)