Naming Channels, Tasks, and Scales
Use the following guidelines to name your channels, tasks, and scales:
- Use any alphanumeric characters.
- Do not use non-alphanumeric characters with the following exceptions:
- In NI-DAQmx 7.4 or later, dashes are allowed in channel, task, and scale names.
- Spaces are allowed.
- You can use underscores within the channel, task, or scale name, but you cannot use leading underscores, such as _Dev1.
- You must use no more than 256 characters.
Special Considerations with LabVIEW Project
In the DAQ Assistant, you receive a warning dialog if you attempt to name a LabVIEW Project channel the same name as an existing MAX global virtual channel. The DAQ Assistant forces you to choose a unique name. However, in LabVIEW Project, you can right-click a channel and rename it to the same name as a MAX global virtual channel. If you do rename the channel to the same name as a MAX channel, the next time you use the DAQ Assistant, or an I/O Control, the MAX channel will be grayed out and you cannot select it.