Hey Guys,
I'm sorry if this has been asked before. I tried searching for quite a while and didn't find any similar topics.
I have a T7 Pro attached to an S-Beam Load Cell and a String Potentiometer via two of the Analog Inputs which are hooked up to my tensile test bed that I use to break items that I design.
I'm trying to put together a script that essentially does what the LJStreamM program does: stream the data from these two analog inputs and output that stream data to a file. I use a Mac and so it's always been a hassle to run LJStreamM, with the most recent Mac OS update causing my computer to crash everytime I open the program.
So, in summary, i'm trying to have a Python script stream data from the Labjack and write that raw data to a CSV file. Does anyone have any resources I can look at to try and accomplish this? Or maybe there are some working examples?
Thanks in advance, any help you can give is greatly appreciated.
We have some stream examples in our LJM Python zip package. I would suggest seeing stream_basic.py first:
https://labjack.com/support/software/examples/ljm/python
We do not have any examples specifically for handling file IO, but Python has a CSV module as part of the standard library:
https://docs.python.org/3/library/csv.html
What is the maximum streaming rate of T7-pro (24-bit ADC) in samples/secs ?
We do not support stream mode with the 24-bit ADC, the acquisition takes too long. Please see our data rates page for valid stream resolution settings and corresponding rates:
https://labjack.com/support/datasheets/t-series/appendix-a-1#t7-stream-r...