Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Specify Analog Input Sample and Convert Clock: needed this program in C

Hi,
I need the example program Acq&Graph_Voltage-Specify_Convert_Clock in ANSI C. Though it is available in LabView at below, I am not able to follow it. http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BE3F040131F13EB7E034080020E74861&p_node=201213&p_source=external
0 Kudos
Message 1 of 2
(3,022 Views)

Hi,

The attached c file will have a simple code that will take 1000 analog measurements in the "data" buffer.

This example is based off Acq-IntClk.c that installs with your DAQ driver. I have added lines 52, 61, and modified line 60. The function that controls the convert clock rate is DAQmxSetAIConvRate.

You will have to decide how you would like to display the data in the buffer, whether graphically, or just in a print screen.

Hope this helps!

B Spears

 

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