05-20-2008 05:55 AM
I use
NI-6111 (NIDAQmx) since 2 years to start a test, by triggering over a rising
voltage over zero (ca 0.5 V ).
Everything worked fine, until now!
I tried to change this trigger voltage to a value below zero (ca. -0.2 V). It doesn’t
work anymore; I can not find any parameter in DAQmx witch limits the Trigger
Voltage.
use the following functions:
DAQmxCreateAIVoltageChan( hd, 'Dev1/ai0', '', DAQmx_Val_Cfg_Default, -5, 5, DAQmx_Val_Volts, NULL)
DAQmxCfgSampClkTiming( hd, '', SampleRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, NrOfSamples)
hassan
05-26-2008 06:20 AM