Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI MAX Test Panel Digital I/O Hangs

Solved!
Go to solution

I am using an application written against the DAQmx C library. This application is unable to create digital output channels, as calls to the DAQmxCreateDOChan function hang. It does not crash, it just does nothing. 

 

In trying to diagnose this issue, I try to do the same thing using NI MAX using a test panel. In the digital I/O tab, I press start, and am unable to press stop, or change any of the channel values. All of the other tabs work fine. When I press the stop button, nothing happens, like I am just pressing a button on a static image. When i close out of  the test panel window, the process remains in task manager. 

 

Because the problem persists even when using NI MAX, the problem is most probably the application. 

 

This behaviour continues when using a simulated DAQ as well as the actual hardware device. I have reinstalled the DAQmx driver, which did not seem to help. 

Device details:

PXI-6229

Windows 7 32 bit

 

Thanks!

0 Kudos
Message 1 of 3
(4,772 Views)
Solution
Accepted by topic author cculpepper

Hi cculpepper,

 

Reinstalling the DAQmx drivers was a good step to take; in light of that not working I have a few suggestions for next steps in troubleshooting.

 

1.  Try Resetting the MAX Configuration as seen in the KB below.  After resetting the configuration, try running a self-calibrate on the device as well to see if it is working correctly.

 

http://digital.ni.com/public.nsf/allkb/2C7480E856987FFF862573AE005AB0D9

 

2.  It sounds like the issue is in MAX itself, because you mentioned seeing the issue on a simulated device as well.  Have you tried reinstalling NI MAX itself?  Getting the test panels to work is certainly the first priority before working with your code, so I would suggest continuing on attempting to perform your task through the test panels.

 

Regards,

 

Paul P.

Highest Regards,

Paul
Message 2 of 3
(4,705 Views)

That worked!  Thanks! I'd forgotten about add/remove programs > repair. 

0 Kudos
Message 3 of 3
(4,680 Views)