02-28-2013 11:49 AM
Setting up a test bed for measuring voltages on a DUT. If making multiple measurements, via DAQmx module setup for multiple channels & single samples, with the results stored in a 1D array can the elements within the array be named accordingly to the channel making the measurement? For example element 0 may be channel 21, element 1 might be channel 30 or the name may be for element 0 +5V and element 1 would be +1.8V. If so how can this be done? I have looked through the property node attributes with no success.
Solved! Go to Solution.
02-28-2013 11:58 AM
You can't do it with labels. All elements in an array must have the same attributes. Something I've seen done is use an array of clusters. The clusters would contain a string for the channel name and an array of the data.
02-28-2013 12:12 PM
Thanks and I had a feeling that I would not be able to label elements in the array differently but I had to ask just in case. I was thinking about using a cluster so I will continue on that path.