LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

6602 more than one channel

"i cant choose more than one channel on the daq assistent vi to measure.
how is it possible to measure more channels?
my other measures in this vi are done with the traditional daq.
i would like to do this with the 6602 too.
please give me an easy vi or explanation.

is it possible to combine traditional daq and daqmx?"
0 Kudos
Message 1 of 4
(2,752 Views)
Hi:

Hold down CTRL key (or it might be the Shift key) and select your channels. The order you select your channels will be your scanning order if you're doing A/D conversion.

Robert
0 Kudos
Message 2 of 4
(2,752 Views)
Your solution is possible for e. g. 6070E or other cards.
but it doesnt work with the 6602 counter card.
i've tried it with the daqmx assistent.
0 Kudos
Message 3 of 4
(2,752 Views)
You're right!

There are two alternative solutions I can think of.

1. Go into MAX (I use v3.1) and create DAQmx global channels for each counter. For example, create CounterFunction0 for channel zero, CounterFunction1 for channel 1, etc. To do this go to Data Neighborhood>>NI-DAQ Global Channels and right mouse click and selct create new NI-DAQmx channel.

After creating these channels, create a NI-DAQmx task.
To do this, go to Data Neighborhood>>NI-DAQ Task and right mouse click and selct create new NI-DAQmx task. When creating the task, you can now select multiple global channels with the shift key. Make sure you click on the global channel tab to enable the view of the global channels you just created.

2. Without usnig Max you can
create a listbox in the LabVIEW front panel and select whatever counter channel you need. You can then convert what is selected into the proper counter string (Dev%d/ctr%d)and then pass this string into the taskID input. Remember, the taskID input in the DAQmx VIs can accept string inputs.

I hope this helps.

Robert
0 Kudos
Message 4 of 4
(2,752 Views)