Hi,
I´m new to both Labview and Labjack and have encountered several difficulties while trying to stream my three analog inputs using Labjack U6 and the LJStreamUD on Labview.
What I want to do Is:
1) write the gathered data on a file. This is working already, but I do not want to write as many as 500 values per second on file, rather collect the data at the specified scan rate of 500 Hz over several seconds (4 or 5 sec.), calculate the average of the collected data over this interval and then log this average value on file. Question: Can I achieve this with the LJStreamUD? If yes, how?
2) another very frustrating issue is that the default values of the controls are not saved properly. They appear to be saved as the new default values, but when I start the programm on the next day and press the "Start Stream" button, the controler will switch back from these defaults to their original values (e.g. the negative Channels will all be at "199" again). I also loose my scaling equations and to eliminate errors while measuring, I need these default input settings to be saved properly. Can anyone help me out there?
3) Do you think the LJStreamUD is a good tool for what I want to do at all, or would you recommend me to approach the task differently? I´ve been working on it over the past three weeks and the VI is still not doing what I want it to. I am very thankful for your help
Best,
David