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.
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 ?
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:
I attached here also a zip file with the code for a finite acquisition with analog trigger.