Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write to port C and read from port A&B simultaneously using 6503 DIO-24

I attempting to read from Port A and B which are grouped together and at the same time I want to write to Port C. The problem I having now is that every time I want to read from Port A and B, Port C seems to be effected. I have only used the easy dio's vi this may be the root of my prblem
0 Kudos
Message 1 of 2
(3,496 Views)
Hello,

You will need to use the advanced digital VIs to accomplish what you are trying to do.

The Easy DIO VI's are simply a combination of two DIO advanced VI, so you will use the same two advanced VI with a little different calling method. We want to call both PORT Config VI first to configure two ports for read and one port for write. Then we can simply read and write to the ports as desired, perhaps in a loop.

The best place to start would be to look at the LabVIEW examples for Digital Input and Output operations. In LabVIEW, go to Search Examples then under I/O interfaces select DAQ (or Data Acquisition)-> Digital Input and Output->Immediate Digital Input and Output. From her you will want to look at the examples under the 8255 chip which is the chip on
the DIO-24. I would recommend looking at Read from two digtial ports and the Write to one digital port VI's.

From here you will simply need to combine the two together. One note: you will want to make sure that both port config VI are called before either Port Read or Port Write VIs.
0 Kudos
Message 2 of 2
(3,496 Views)