Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxCfgChangeDetectionTiming and VB6

Hi,
 
i am trying to do a little program in VB6 with those function  :
 
 
DAQmxErrChk DAQmxCreateDIChan(TaskHandle, "Dev1/port0/line0:7", "", DAQmx_Val_ChanPerLine)
DAQmxErrChk DAQmxCfgChangeDetectionTiming(TaskHandle, "Dev1/port0/line0:7", "Dev1/port0/line0:7", DAQmx_Val_AcquisitionType_ContSamps, 1)
DAQmxErrChk DAQmxRegisterSignalEvent(TaskHandle, DAQmx_Val_Signal2_ChangeDetectionEvent, 0, ChangeDetectionCallback, Null)
DAQmxErrChk DAQmxStartTask(TaskHandle)
i have a 6220card.
 
I got an error with DAQmxCfgChangeDetectionTiming it seems i didn't pass the right parameters but i don't find any example.
 
Is there somebody that can help me???
 
Thank you
Olivier
0 Kudos
Message 1 of 3
(3,207 Views)
Change detection timing is not supported on M-series devices. Your 6220 is an M-series device.

Reading other posts from NI engineers, I find that the hardware supports it, but DAQmx does not support it on M-series devices. Let's hope they add support soon!
John Weeks

WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com
0 Kudos
Message 2 of 3
(3,203 Views)
all right thank you for your answer
0 Kudos
Message 3 of 3
(3,194 Views)