Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

"merge signals" with variable number of input signals

Hello everybody,

I receive analog signals (max 8 channels) via a NI USB-6008. I read the signals with a DAQ-Assistant. With the "Merge Signals" - function I merge the different channels to one combined signal and I save this combined signal via the Express-VI "Write to Measurement File".
No problems until now.

But I would like to be more flexible. With buttons on the front panel, I would like to choose, which channels to save which ones not to save. So maybe I want to save channel 2 only, and during the next measurement I would like to save the channels 1, 3 and 5 for instance.

In the attachement you find a simplified version of the labview-file (Labview-version: 8.2). Instead of the DAQ-Assistant you'll find the constants 1 to 5.

I'm thankful for any possible solution for the issue.

Best regards,

zuzy


0 Kudos
Message 1 of 6
(3,819 Views)

Hi zuzy,

you forgot your attachment. Here is a simple example, i´m unconvinced with it, but maybe it helps. I think a better solution would be to use the DAQmx functions.

Mike

0 Kudos
Message 2 of 6
(3,813 Views)
Hi Mike,

Yes, I forgot to upload my file. Thanks for your answer. As I can see that you understood my troubles. The problem with your solution is, that there are 32 possible combinations to distinguish. So quite complex to achieve. I would be happier with an easier way to do it. But thanks again for your effort!!

Best regards, zuzy
0 Kudos
Message 3 of 6
(3,807 Views)
Hi zuzy,
an easier way is to use the DAQmx vi´s. There you can receive your data as an array of waveforms, so that you can index the signals which you want to save to a file.
Mike


Message Edited by MikeS81 on 04-08-2008 01:03 PM
0 Kudos
Message 4 of 6
(3,801 Views)

sir i have d following 2 vi 

1st is a tracing vi which i got when i downloaded d drives for spectrum analyser and d other is a basic amplitude measurement vi 

how can i get d visa source output be given to d 2nd vi so dat i can measure d real time signal coming from d spectrum analyser

0 Kudos
Message 5 of 6
(3,418 Views)
Please don't hijack a completely unrelated thread. Especially since you've already hijacked a different thread - http://www.ni.com/download/ni-visa-14.0.1/5023/en/

And learn to spell 'the'.
0 Kudos
Message 6 of 6
(3,403 Views)