10-13-2015 08:49 AM
Hi I'm using a USB 6501 but, I have a problem after a time maybe 2 or 3 days it freezes I'm observing a part present sensor that it the 6501 freezes I can't detect the change of 0 to 1, I use the NI MAX and reset my device and all works perfect and other 3 days, something know how I add to my source code the reset instruction like NI MAX?
I think so that, maybe if I add one routine to reset the device USB-6501 each setup in my equipment I can resolve the issue, I try to the USB port configuration and the problem was again.
Than you
10-13-2015 12:51 PM
First thought is power saving settings on the computer...
Second thought is a memory leak in the code.
11-04-2015 07:54 PM
Hi Gene74
I would like to know more about your application. How are you using the USB 6501? What do you do with the information? Is this part of a LabVIEW project?
11-10-2015 02:20 PM
To reset your DAQ device from LabVIEW
DAQmx Driver:
The DAQmx Reset VI is located in the Measurement I/0»NI-DAQmx»Dev Config palette on the Block Diagram.
Traditional DAQ Driver:
The Device Reset VI is located in the Measurement I/0»Data Aquasition»Calibration and Configuration palette on the Block Diagram.
Though, as SnowMule mentioned, this sounds like it is likely a memory leak issue. Be sure you are closing all of your references that you open and using shift registers on references on your loops.