Labjack error:
When I turn on the Labjack and start to stream with the following settings:
Scanrate = 500
Stream resolution index = 4
AIN range = 0.1 v
I get the following error:
LJM library error code 2621 STREAM_SETTLING_INVALID
Then, without reboot of the LJ, I close the connection and change the AIN range setting to 10.0v, and then start the stream which gives no error. Then I close the connection, and restart it with AIN resolution 0.1v and now it’s working.
So in order to make the setting of 0.1v I have to start my program which uses the python API with a setting of 10.0v, and then shut down the API by closing my program, and then restart with the correct setting of 0.1v in order to make it work. So now the first configuration is working which failed the first time.
The problem is consistent and is present every time I boot the LJ.
I’m using
python, mac and win10.
LJ = T7
Firmware 1.0225
Bootloader = 0.94
Anybody who have seen this problem and might have a solution?
Regards,
96 Normal 0 false false false EN-GB X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Calibri; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;}
Steen
How many channels are you scanning?
At range ±0.1V we specify resolution 2 @ 400 Hz as the max. That is because the amplifier takes longer to settle higher gains. If you are only streaming a single channel then we can get away with less settling because the multiplexer does not need to change.
You can force the T7 to use a specific settling value by setting the settling register to a value other then zero. That may help.
I am concerned that your procedure is somehow circumventing an important verification step or that some setting isn't getting applied. Are you getting good data once stream is running?
Rate tables: https://labjack.com/support/datasheets/t7/appendix-a-1
Hi
Thanks for your answer. I end up with a fine datastream, I do the config with range 10.0v first end then 0.1 afterwards. If I does the config with 0.1v first then I get an erroneous stream.
I’ll try to experiment with the data rate and resolutions according to your table.
I stream 8 channels.
Kind regards
Steen