From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI6221 fast sampling

Hello,

we are using a PCI-6221 DAQ-Board, MSVS2010 C#, DAQmx-Driverfunctions, no measurement studio.  The sampling of the slow analog channels runs very well by a sample each 50 msec. . But now we have to measure a fast voltage signal. The neasurement  takes about 50msec, the sampling rate has to be about 100Hz,, the trigger has to be  by a voltage level and/or by my software.

How can we do it, which are the functions of the DAQmx ?

Gerhard

0 Kudos
Message 1 of 2
(2,614 Views)

Hi GeFi57,

if you installed the support for text based programming language along wiht the installation of DAQmx you should have plenty of C# .NET examples. See screenshot here:

 

text based.png

 

I attached here also a zip file with the code for a finite acquisition with analog trigger.

Best regards

 

Andrea 

0 Kudos
Message 2 of 2
(2,599 Views)