07-06-2009 01:52 PM
Hello?
My DAQ code is Select_Signal( 1, ND_IN_START_TRIGGER, ND_PFI_0, ND_LOW_TO_HIGH ). Is this code converted to DAQmxExportSignal or DAQmxCfgDigEdgeStartTrig?
We are using an external pre-trigger source on PFI0 pin. I searched this forum and the manual but their example is reversed to my case. The example is:
Select_Signal
In manual:
"To send the analog input start trigger on to RTSI line 3, use the following call:"
Select_Signal(deviceNum, ND_RTSI_3, ND_IN_START_TRIGGER, ND_LOW_TO_HIGH);
I tested DAQmxErrChk (DAQmxCfgDigEdgeStartTrig(taskHandle, "/Dev1/PFI0", DAQmx_Val_RisingSlope)); but it doesn't work with DAQmx. The device is working fine with old DAQ code.
07-06-2009 03:09 PM
In this example, it uses APFI0 pin; but my case is about digital trigger, not analog trigger.
http://zone.ni.com/devzone/cda/tut/p/id/5958
When I set PFI0 as a trigger source in MAX as the example, it causes an error. I couldn't not select any analog trigger, for PCI-6025E doesn't support it.
07-07-2009 05:21 PM
07-07-2009 07:10 PM
07-08-2009 02:53 PM