Additional NI Software Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX - Allow wildcards for batch renaming channels in tasks

NI-DAQmx Tasks can frequently have dozens of channels, sometimes hundreds.  Renaming each channel can prove tedious when the format needs to be more complex than rootname_#, indexed from zero.

 

This change will allow developers to batch rename channels in a more flexible format, saving task setup time.

 

This idea includes:

1. Using rootname as it is now, allowing for all channels to have a common base name

2. Creating wildcards for naming channels.  Each channel would then have the base name, a changeable separator character if specified, and an incremented number or character(s) specified by the wildcard.  Examples include:

a. Current_[001] = Current_001, Current_002, Current_003...

b. Temp [AA] = Temp AA, Temp AB, Temp AC, ..., Temp BA, etc.

c. [05]_Reactor = 05_Reactor, 06_Reactor, 07_Reactor, etc.

2 Comments
Knight of NI

Edit the XML file.  (Yup scary but effective)

Knight of NI

Jeff, I recently did that with Switch Executive configuration files.  Yes, it was scary, but very effective (especially since I couldn't edit inside of MAX due to being on a deployment licensed machine).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines