LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sorting signal channels

So I have a cDAQ 1972 with 8 different modules, and I need to recored about 100 channels that I created--this VI is pretty simple, it will serve as subVI for two main VIs; so it just need to show the data in numeric indicators or something.

 

The problem: Which is the quickest way to sort the data? hopefully by channel name.

So far the only that I can do is use the DAQassist and add the channels in ther other that I want and then use signal spliter and wire each one of them.

0 Kudos
Message 1 of 8
(3,373 Views)
That is how you would do it anyways. Why do you want to 'sort' the channels? Maybe explaining the challenge you are facing will help us understand what you are looking for.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 8
(3,352 Views)

Hi Would you like to sort the channels at the time of acquisition or at the time of recording.

 

Regards

 

Visuman

0 Kudos
Message 3 of 8
(3,348 Views)
At he time of acquisition
0 Kudos
Message 4 of 8
(3,327 Views)

Let me explain ab bit better:

 

On the block diagram:  

I have one DAQassist that is acquiring about 100 signals. I wire the DAQassist to a signal splitter with 100 splits and then I create 100 numeric indicator for each channel.

When I do this, the big problem is that I don't know which channel is which; the numeric indicator doesn't show the name of the channel. 

 

I am looking fior a way to sort the channel whitin the block diagram so I know which channel is which.

 

I hope that this help, I will post a picture of what I have done so far...

 

 

 

 

0 Kudos
Message 5 of 8
(3,325 Views)

I can't speak for the DAQ Assistant or the signal splitter thing, but when I use DAQmx and have a lot of channels to display, I wire the Task to a Task Property Node which is set to the Channels property. This gives me a neat list (array) of all my channels. I line up my indicators next to this list.

 

Richard






0 Kudos
Message 6 of 8
(3,320 Views)

This is the mess that I came up with:

 

code1.jpg

 

Ass you can see there should be a better way do do this. I guess that I will try what you just said, although I am not really good using tasks.

 

This is the DAQassist :

code2.jpg

0 Kudos
Message 7 of 8
(3,315 Views)
You can't have the instant satisfaction of Express VI's and DAQ Assistant as well as lower level control. The sooner you pick up the discrete DAQmx VI's the better, although this is an opinion and is probably wrong. 
Richard






0 Kudos
Message 8 of 8
(3,303 Views)