LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple line DIO with MIO boards - do not understand

I am looking for a fairly easy way to read and write to multiple DIO lines.
I would be writing to 3 DIO lines on a PCI-MIO-16E-1 board, and reading from 3 DIO lines on a PCI-MIO-16XE-10.
 
I would be writing to or reading from each of the lines independently, and they would change state independent of each other.
This occurs at various locations within my program.
 
I am using Labview 6i.
 
0 Kudos
Message 1 of 2
(2,400 Views)
There are some shipping examples you can look at and on the palette are the high level functions Write to Digital Port and Read From Digital Port. These call DIO Port Config and either DIO Port Write or DIO Port Read. I usually used the just the lower level functions. The port functions have mask inputs so you can specify an individual line. There are also the high level functions Write to Digital Line and Read From Digital Line. You would use one of these for each line. If you look at the code though, they call the same functions as the Write Port and Read Port - they just manipulate the line mask. So, if you get comfortable with the low level functions, you can read/write individual or multiple lines as the situation demands.
0 Kudos
Message 2 of 2
(2,385 Views)