02-03-2017 05:35 AM
Hello,
I am acquiring analog data from 8 channels and storing them in a text file.
This program stores all the 8 channels as columns in the text file.
However i would like to choose with a user input ( something like a plot visibility checkbox) and store selected channel in the text file.
I have tried index array, subarray but have failed to come up with a solution.
Any pointers/solution would be appreciated.
02-03-2017 05:55 AM - edited 02-03-2017 05:55 AM
Hi zezendapuss,
I have tried index array, subarray but have failed to come up with a solution.
Use an array of 8 booleans to switch on/off saving of your data channels.
Then select the data columns based on boolean state.
It all boils down to use either autoindexing loops or IndexArray/ArraySubset - both are basic LabVIEW elements/functions. Did you take the free online courses to learn LabVIEW?
General hint: When there is a problem in your VI you should attach that VI so we can inspect it…