labview 7 index waveform array by channel name string 
Author Message
 labview 7 index waveform array by channel name string

I was messing around with the index array waveform function with a
waveform array(3 elements). I had used the set waveform attribute vi
with the name input set to "Channel Name." The index waveform array
function would not return any data when I was passing a particular
channel name to it. Inside the vi I noticed that the name input has to
have the format "NI_ChannelName" to match the string constant. Is this
explained in the documentation anywhere?? Wouldn't it be more useful
to make this string constant a string control input that we wired data
into?? Then we could index the waveform array based on any name input
that we set with the waveform attribute function.

Sun, 20 Nov 2005 08:21:28 GMT  
 labview 7 index waveform array by channel name string
The online help does toak about this a little.  Under WDT Index
Channel by Name you can read the information for channel name (channel
name is the channel name of the waveform to extract from waveform
array. To use this input, the waveform must have a channel name
attribute. If you are using a virtual channel, you do not have to set
the channel name attribute manually).

If you read about setting waveform attribute online help it states
that channel name attribute is in the form of NI_ChannelName.

Mon, 21 Nov 2005 00:13:39 GMT  
 [ 2 post ] 

 Relevant Pages 

1. tds3034 scope: how to acquire waveform from channel 1 (average) and to trigger with channel 2

2. how to access arrays with variable for array names and index

3. Channel Name Adressing in LabVIEW

4. Trouble wiring a 1-d waveform to the Array To Spreadsheet

5. Best way to modify a waveform in a waveforms array

6. Extracting Waveforms from array's of waveforms

7. finding name/index of checkbutton array in -command

8. array with quoted index name

9. Arbitrary strings as array indices

10. Array to String and String to Array

11. Analog input waveform data channels occasionally swap when ...

12. Integer and a string arrays to LabVIEW from Matlab script node


Powered by phpBB® Forum Software