Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Using one port of PCI6509 as in- and output

I've got a new PCI 6509 Digital-IO-Card. It works quite fine, if I'm using one Port as input and another one as output. But if I'm going to try to use one Port as In- and Output there are some problems.

I planned to use the first 4 lines of port0 as input and the last 4 as output.

I've defined two DAQmx-Tasks (Line-Input and Line-Output). After that I had tested both tasks separately and there were no problems, but when I tried to use them both in LabWindows/CVI the same time it didn't work.

Isn't possible to use some lines of ONE port as Input and some others of the same port as Output or is there any other reason?
0 Kudos
Message 1 of 3
(3,092 Views)

Hello Corma,

the behaviour you're getting is correct because with your board it's not possible to write and read on different lines of the same port.

Check out this document:

Is the PCI-6509 Configurable For Input or Output On A Line-By-Line Basis?

Regards,

Andrea N.

Andrea N.
Principal Applications Engineer - Semiconductor EMEA
National Instruments Italy
Certified LabVIEW Architect - Certified TestStand Architect
0 Kudos
Message 2 of 3
(3,071 Views)
Thanks Andrea
0 Kudos
Message 3 of 3
(3,061 Views)