Labjack and data collection
Posted: Wed Mar 28, 2012 6:00 am
Hello,
I am wanting to communicate to multiple Labjack U3-LV, probably every analogue input will be used. Apologies for so many questions, I am a newbie and wanting to learn.
I will be sampling data probably every second.
1.) What is the most efficient way of extracting data? with a single Labjack component in Flowstone and switch the serial numbers, or would it be more efficient to have a seperate Labjack component for each device. Due consideration should be given that I may ask for user input to specify the number of devices connected and ask them for the serial numbers via a setup screen.
2.) Is there a detriment on performance for Flowstone if I connect a floating box direct to the input of the labjack component or should I sample this data using a ticker?
3.) Is it possible to use all 127 device capability at this type of data rate if I use a mains powered usb hub, or am I crazy?
4.) I am also after a robust method of collecting the data into a text file (I have seen the existing data log examples on these forums), I want the minimum number of text files but also I do not want to loose a buffer of data if there is a power cut. Is there a way to append data to a single text file? Is this a flowstone component or would I use Ruby? Any examples would really help.
5.) I'm curious to know how to create a menu system - maybe with pop up windows for settings or messages, also totally switch screens. Again examples would help
Thank you
I am wanting to communicate to multiple Labjack U3-LV, probably every analogue input will be used. Apologies for so many questions, I am a newbie and wanting to learn.
I will be sampling data probably every second.
1.) What is the most efficient way of extracting data? with a single Labjack component in Flowstone and switch the serial numbers, or would it be more efficient to have a seperate Labjack component for each device. Due consideration should be given that I may ask for user input to specify the number of devices connected and ask them for the serial numbers via a setup screen.
2.) Is there a detriment on performance for Flowstone if I connect a floating box direct to the input of the labjack component or should I sample this data using a ticker?
3.) Is it possible to use all 127 device capability at this type of data rate if I use a mains powered usb hub, or am I crazy?
4.) I am also after a robust method of collecting the data into a text file (I have seen the existing data log examples on these forums), I want the minimum number of text files but also I do not want to loose a buffer of data if there is a power cut. Is there a way to append data to a single text file? Is this a flowstone component or would I use Ruby? Any examples would really help.
5.) I'm curious to know how to create a menu system - maybe with pop up windows for settings or messages, also totally switch screens. Again examples would help
Thank you