Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-DIO-96 single port read/write configuration

I have an application that was recently upgraded from Windows 3.1 and LabView 3.1.1 to Windows XP and Labview 7.0 (NI-DAQ 7.0). In the process of upgrading the original PC-DIO-96 was replaced with a PCI-DIO-96. Initial testing showed no problem with the old VIs using the new card. However a recent test configuration has shown that in some circumstances the APC port, which is configured for output, can have a read operation performed on it. Labview generates an error (10611) because it is trying to read from a port configured for output.

From what I understand of the documentation for the PCI-DIO-96 it supports bi-directional control on the required port. I believe the old code and hardware would work for the same situat
ion. Can anyone tell me if the change in hardware and NI-DAQs means the bi-directional ability has to be specifically set now and if it does how?
0 Kudos
Message 1 of 2
(3,376 Views)
Dear EborLance
Thank you for choosing National Instruments!

From what I could assume from your question, it looks like you are using Traditional-DAQ for your acquisition.

Regardless of the settings for the older versions of the driver, I would recommend that you manually set the state of the digital lines in the VI -- DIO Config where you have an input called "Group Direction". An input of 3 to this terminal will configure it as bi-directional. If you need more help on this VI, please refer to the LabVIEW help manual as well as context help.

If you are using all the VIs that are supported in the 7.0 version of NI-DAQ then it should work in this case as well. However, there could be minor discrepencies. But setting the bi-directional
condition should be taken care of by wiring a "3" to the input of DIO config.

Once again, Thank you for choosing National Instruments.

Thanks and Regards
Shekhar S
Applications Engineer
National Instruments.
0 Kudos
Message 2 of 2
(3,376 Views)