Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI cDAQ-9172, Error code 200631 at random interval

Problem: When reading analogue input, DAQ generate error code 200631 at random intervals.

 

Setting/Known:

  1. One while loop only for reading analogue input. Reading 4 channels, set at continuous sampling at 50Hz, reading 25 samples/loop. Using this loop to generate "occurrence" to act as a master timing to trigger other loops.
  2. Another while loop only for digital and analogue output. "Wait for occurrence" with 2000 msec timeout and default value.
  3. Another separate loop to take care of all the calculations. "Wait for occurrence" with 2000 msec timeout
  4. No CPU intensive program running. Check when running normally, CPU usage is only 4%.
  5. Have use "DAQmx property node" to read "CurrReadPos" and "TotalSampPerChanAcquired" to see if there is any delay. The loop prior to the error occurred shows two numbers are exact match
  6. After error occurred, this "DAQmx property node" will give an error (Did not capture screenshot, something like task is not available)

Method tried:

  1. After error occurred, it CANNOT be solved using following method:
    1. Stop and restart program. (Generate same error.)
    2. go to NI-MAX, self-test. (Shows that it is complete without issue but still generate same error.)
    3. go toNI-MAX, reset. (Shows that it is complete without issue but still generate same error.)
    4. Unplug and reconnect USB.
  2. After trying all above methods, "DAQmx task" is still there, does not show abnormality but cannot "Run"/read.DAQ Error Screen shot 2.png
  3. Location of error (even after tried all methods above): DAQ Error Screen shot.png
  4. Only way known now is to manually power off cDAQ, and power back on.

 

 

 

0 Kudos
Message 1 of 4
(2,116 Views)

Does anyone know the cause. Hardware issue?

0 Kudos
Message 2 of 4
(2,030 Views)

You have probably already seen this, but the description/suggested action tied to this error code is as follows:

 

"Hardware clocking error occurred. If you are using an external sample clock, make sure it is connected and within the jitter and voltage level specifications. Also, verify that the rate of the external clock matches the specified clock rate. If you are generating your clock internally, please contact National Instruments Technical Support."

 

Here are a few questions that might help lead you down the right path:

 

1. What modules are you using in the cDAQ-9172 chassis?

2. Are you using an external sample clock? If so, are you able to measure the jitter and voltage level to confirm that they are within specification for your hardware? And are you able to measure the frequency of the external sample clock to verify that it matches the value specified in LabVIEW / NI-MAX?

 

Shannon H.
NI Support Engineer

0 Kudos
Message 3 of 4
(2,013 Views)

Hello. Were you able to fix this problem? I have the same problem with USB-600x DAQ cards.

0 Kudos
Message 4 of 4
(855 Views)