LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create selection button for different input, and show the waveforms in the graph

Hi,
 
I would like to enquire how to make selection button for different inputs, where if you select the input, let say channel 1, the waveforms will show in the graph. If we select channel 2 & 3 together , the waveforms of both 2 & 3 will show in the graph. Can i know how to do it? I am new in Labview.. Thanks guys.
 
Cheers


Message Edited by arien on 03-03-2008 08:18 PM
0 Kudos
Message 1 of 4
(3,372 Views)
You mean like this?...
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 4
(3,359 Views)
Yes Troy like this, but how am i going to replace it with DAQ Assistant so that I will be able to get the information of my measurement?
0 Kudos
Message 3 of 4
(3,350 Views)
I assumed you had all the waveforms available and just wanted to display a few of them.

You could set up the DAQ assistant to acquire all of the waveforms and just display the selected ones.

Or... you could use the DAQmx discrete functions to programmatically create and run the tasks as they're selected. (How I would do it.)
Have a look here for where to start http://zone.ni.com/devzone/cda/tut/p/id/2835

To see how to configure your tasks, right click on the DAQ assistant icon on the block diagram and select "Generate NI-DAQmx Code".
Then open the vi that replaces the DAQ assistant to see the code behind it.
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 4 of 4
(3,330 Views)