LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulating the outputs of the Get Channel Names.VI version 5.1

Using the get Channel Name VI. I get two arrays. One array lists the channel names acquired from the measurement and automation utility and the second array lists the accompanied units of those channels. The problem is in the order of channels listed. The VI sorts the array by date the channel was created in the measurement and automation utility. When I resort the channels in alpha numberic order I want to keep the units associated with their correct channels. How can this be done. Or can the get channel names.vi be modified to sort alpha numberically while outputing the correct units associated with those channels.
0 Kudos
Message 1 of 2
(2,525 Views)
Here's something to try (Sort 2D array ala index and bundle cluster array):
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EA4356A4E034080020E74861&p_node=DZ52026&p_submitted=N&p_rank=&p_answer=&p_source=External

You just need to remove the indexing portion and directly feed in the names to the upper terminal of the index/cluster array and units to the bottom.


2006 Ultimate LabVIEW G-eek.

Message 2 of 2
(2,525 Views)