DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning new channel number to channel by using channelname

How can i assign a different channelnumber to a channel by using its channelname or comment?
 
Or is possible when using a formula like "FormulaCalc" or "chnintegrate" to assign the result to a predefined channel instead of automaticaly assigning it to the first free channel?
0 Kudos
Message 1 of 2
(3,045 Views)
To answer your 1st question, this cannot be done just by calling a single command. Manually, you would change the order of the channels in the portal and then you would have to call the function that changes the channel numbers according to the new order. Programatically, you would hav to do more or less the same.

Its much easies to use Formulacalc to store the results in a specific channel:
ch(#):= ...              Uses the next empty available channel for the result
ch(3):= ...              Uses explicitely channel 3
ch("[1]/speed"):=  Uses explicitely the channel with the name speed inside the first group. If there is no channel with that name, it will be allocated.

regards
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
Message 2 of 2
(3,040 Views)