Error streaming from multiple T7s | LabJack
 

Error streaming from multiple T7s

2 posts / 0 new
Last post
Andrew Jones
arjones6's picture
Error streaming from multiple T7s

I'm getting an error when I try to stream from two T7s at once.  When I go to start the stream on the second T7 it fails with a STREAM_IS_ACTIVE error code. I've attached a simplified python script which generates the error. When I run that I get the following error:

Traceback (most recent call last):
  File "test.py", line 17, in <module>
    ljm.eWriteNames(lj1, len(keys), keys, values)
  File "/ner/lib/python/nerhw/ljm/ljm.py", line 663, in eWriteNames
    raise LJMError(error, errAddr)
ljm.ljm.LJMError: Address 4008, LJM library error code 2605 STREAM_IS_ACTIVE

Is there something I'm doing wrong when setting up the streaming?  Thanks,

Andrew

File Attachment: 
LabJack Support
labjack support's picture
One common problem that

One common problem that occurs while debugging a program is that stream will be started, but not stopped. That causes confusion the next time the program is run. I would open both units, call stream-stop on both units (This may throw an error about stream not running which will need to be discarded.) Then configure and start streaming on both units.