I am using a T7-Pro to collect data from multiple strain gauges in 1/2 bridge configurations. We are looking to have the setup be used for testing to collect continous data to later analyze. I have been using the "StreamBasic" example from the library to model my code. We are completing user testing so the amount of time we need to collect data varies from case to case. Is it possible to have the stream run until a manual or triggered stop? Right now I have been using a large value for the "MaxRequests" variable input to have the stream run for an estimated amount of time, but I wanted to know if there was a cleaner solution. Thanks!
What language are you using? I would expect most stream examples to do stream reads in a loop such that the example can stream continuously. For example, it is normal to set ScansPerRead = ScanRate/2, which means each read call will take about a half second and the read loop will iterate at 2 Hz.
I am using Matlab, and have been following the StreamBasic.m file from the LJM library. The example code requires a "MaxRequests" input which is used for the upper bound of the for loop to call the stream. I am curious if it is possible to have the stream run until there is an external stop, rather than having a loop with a pre-set upper bound.
I'm not a Matlab person, but can say the general answer is yes a stream read loop can run forever. If you need some more Matlab specific help let us know and someone will be in this afternoon who can help.
Ok, I will play around with my code and post if I need more help, thanks!