Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Application program can't operate outputs on PCI-DIO-96

I have installed an application on a Compaq running XP. Labwindows CVI 7.1 NI-DAQ 7.2. The Inputs work with my program but the outputs will not function. The card works fine in the measurement automation test panel. I didn't get any errors when I installed the software.

TIA
0 Kudos
Message 1 of 4
(3,522 Views)
Hi TIA,

So the outputs are working in the test panel? How are you measuring the signals generated from the output channels? Are you using one of the CVI digital output examples? Which one? Are you sure that you've properly set the line directions on your digital ports?

-Sal
0 Kudos
Message 2 of 4
(3,511 Views)
Hi Sal,
This is a mature application that I have been running on multiple systems for years. We had a PC failure the other day and when reinstalled it didn't work on the new install(XP system). When I test it in MAX the test panels work OK. In my program I have a manual I/O panel and the inputs show up normal with my virtual LED's but my program can't do anything with the output port. Port 0 and 1 are used for inputs and 2 for output. I am using an older lesser used function called DIG_Out_Port() which is not in the normal library .fp files, but it has always worked before. The function is defined in the dataacq.h file. I even tried another PC. ??!! This PC was an old, slow NT system. I may have to install the developement software to solve this problem. I'm glad it is at our home plant and not one of our other facilities.

Thanks for your response!
0 Kudos
Message 3 of 4
(3,507 Views)
Have you tried one of the digital output CVI examples? The outputs are working in MAX correct? If you get the example program working I would suggest that you use the function calls in the example. This would probably be your best solution.
0 Kudos
Message 4 of 4
(3,490 Views)