Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

What is error 50808

Hi,

I have a vi that monitors two encoders by measuring PERIOD and then sends updated serial commands to two motor controllers in a WHILE loop structure.  It takes the period values, does some simple arithmetic with the encoder values, and based on the values of the encoder period values, new serial commands are output to motor controller, in a feedback loop, 3 basic steps...i.e.

 

1.) Measure period

2.) Convert period value to command

3.) VISA write serial command to motor controller

REPEAT.....

 

So, the code works fine at slow speeds, but, as the motors increase speed and the period value becomes lower and lower, the vi shuts down and throws this Error 50808, for which I cannot find anything on this forum board.

 

I am measuring period with the counters in a cDAQ9174 using module NI 9401 and writing the serial commands through NI USB-232, maybe 3 to 5 times per second, so, not exactly a superfast rate.The commands are only sent if the encoder speed is out of range, so, there are also executions where no command is sent.

 

The serial commands are output through USB port....am I pushing too many serial commands through the USB ports? 

 

Thanks,

Dave

0 Kudos
Message 1 of 2
(6,156 Views)

Here are a few things to try.

 

Try another USB port on your computer.

Try an externally powered USB hub.

 

You can also check out this other post that had similar issues.

http://forums.ni.com/t5/Digital-I-O/9472-Error-50808-with-cDAQ-9172/m-p/2100962

Carl W.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(6,144 Views)