ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accquring data

Solved!
Go to solution

Hi guys,

 

I need a little help on this program i write. Its a dual channel program. I want to be able to read from 2 channels of mydaq.

I dont know why it can't show we the waveform, and can't keep running.

 

Thanks!

 

0 Kudos
Message 1 of 5
(3,224 Views)

Please check out the provided DAQmx examples in the Example Finder (in help-menu).

 

thanks,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,220 Views)
Solution
Accepted by RawtoLV

More specifically, look for Voltage - Continuous Input.vi.  It isn't that much of a leap from there to add another channel.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(3,212 Views)

Thanks to both of you!

I think it works basically. I use a case structure, so i can choose which channel to check each time. Can I get 2 waveforms at the same time? Or I can't because I'm using the same mydaq device?

 

Besides, how can I record two channels data together?

Thanks again!

 

0 Kudos
Message 4 of 5
(3,198 Views)

There are also examples available....

For multiple channels, you simply have to state both in the channel input.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 5
(3,128 Views)