Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

6356 C# 5 Analog input simultaneous sampling

I am using USB 6356 which has 8 simultaneous analog inputs at 1.25 MS/s/ch.

I am trying to read 5 AI channel in C# simultaneously with sync using internal clock because later I will use this data for timing measurement.

Sync is very important in this application.

 

I didn't find any example of X series in C# with simultaneous scan of two or more AI channel.

I also want to know do I have to this in different thread or one thread can handle it.

 

Thanks in advance

hame

 

0 Kudos
Message 1 of 2
(3,535 Views)

Hello Hame,

 

If you use the example included with the DAQmx driver, you can specify multichannel acquisition from the user interface. Multiple channels can be designated in the physical channels field in the user interface. Multiple channels such as channels 0 to 5 can be designated as Device Name/ai0:5.

 

multichannelsetup.png

 

Eric

Eric Liauw
Senior AE Specialist - Automated Test | CLD | CTA
National Instruments
0 Kudos
Message 2 of 2
(3,511 Views)