05-10-2019 02:00 AM
Hi,
I am using 9361 8ch counter modules to measure angular position of 4 encoders in Quadrature mode. I have 4 devices running in 2 test setups continuously, per device I run a separate thread in python to read the 4 signals from the buffer of the device, all devices are on a separate 9171 USB Chassis. Wiring from the encoders is through a 9923 DSUB to Screw Connector Block. In one setup 3 9171 chasis are on 1 powered USB hub. I sample using continuous sampling, and when taking a reading I read from the most recent sample backwards 200 samples.
In one of the 3 devices in this setup occasionally (3 - 4 times this year sofar) the channels are mixed-up, so the input signals appear in my software on another channel than expected (maybe circular shifted once or twice). In this case I need to reset the device to get it right again (meaning powering off and on again). This happens always on the same device, so 2 of the devices in this setup, and 1 in another single setup do not show this behaviour. Is this a known error in the device, and should I return it for repair, or is there another cause possible?
Thanks,
Frans
05-31-2019 03:35 AM
Hi FransBosman,
I've found a Knowledge based article that might have to do with your situation. (Error -200524 Channels in Data Doesn't Match Channels in Task)
Would this be something that applies with your work?
Best regards,
Geo
06-03-2019 04:32 AM
Hi Geo,
Thank you for your response, the article helps understanding the programming of the device, however, in my application I use the counter program that is built-in, using 2 digital input signals to measure angular position with the available ctr functions.
Thanks again!
Frans