Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

digital I/O in PCI-6527

I wirte a pattern( the pattern is 11010 binary) using write one digital port.vi to PCI-6527 card. (see attachment program ) I assume that the port that I will use is port 3.Then what is the state in each line of PCI-6527(DIG3.7 to DIG3.0) when the pattern is 11010? I don't know what is the order of line, that is the pattern should go to Dig3.0 to Dig3.4 or go to Dig3.7 to Dig3.3?

Thanks
zhou
0 Kudos
Message 1 of 2
(3,103 Views)
Zhou,
Take a look to one of the examples shipped with LabVIEW, Help > Search Examples... > I/O Interfaces > Data Acquisition (DAQ) > Digital Input and Output > Immediate Digital Input and Output > and select the example named "Write to One Digital Port on an E Series Device"... this one should work with your board, and you select port 3 to work on... try switching the line state...

In conclusion.... if you are using binary representation in your pattern, then your least significant bit (right-most bit) is going to be 3.0, then the next bit to the left will be 3.1, and so on... run the example so you can see this... so whatever the port number is, always your far most right bit is your line 0 of the port...

Good luck!...

Nestor Sanchez
Applications Eng
ineer
National Instruments
Nestor
Message 2 of 2
(3,102 Views)