10-29-2013 05:08 AM
I try to set up an analog trigger for the NI9239:
error = DAQmxCfgAnlgEdgeStartTrig(taskHandle, "/Dev1/pfi0", DAQmx_Val_Rising, 2.5);
the result is error = -200077 (Requested value is not a supported value for this property).
I have already tried different writings of the trigger channel name:
"Dev/pfi0"
"PFI0"
"APFI0"
"Dev1/ai0"
"/Dev1/ai0"
- all with the same result...
10-29-2013 03:44 PM
Only the 9205 supports analog triggering.
10-30-2013 12:18 AM
11-08-2013 08:49 AM
I also tried analog triggering with a NI USB-6210, same result.
BUT: for both devices, the list of supported properties
http://zone.ni.com/reference/en-XX/help/370471W-01/TOC40.htm
shows that analog triggering is supported. Also the M&A Explorer shows that analog triggering is supported.
Please help for the USB-6210, this is the device I want to use with analog triggering.
11-08-2013 09:11 AM
The manual for USB-6210 says nothing about support Analog Start Triggers (http://www.ni.com/pdf/manuals/371931f.pdf). And I don't see anything about it on the page you referenced.
11-08-2013 09:24 AM
opening the page
http://zone.ni.com/reference/en-XX/help/370471W-01/TOC40.htm
and following the link
shows the supported property
But, reading again through the manual: you are right, it says "Analog Input Digital Triggering" - I overlooked the word Digital.
Thank you!
11-08-2013 09:33 AM
That is a property you query to tell whether or not analog triggering is supported, not to say that it is. If you click on the link for the property, you'll see the description.
11-08-2013 09:40 AM
If I click on the link, I get no information about whether this property is supported or not - I just see the description of the C function call of
DAQmxGetDevAnlgTrigSupported
which I didn't get working, possibly because of a missing header file.
This is still leading to misunderstandings, because triggering of an analog input is supported - but with a digital signal, which I don't have...
11-11-2013 08:06 AM
"If I click on the link, I get no information about whether this property is supported or not - I just see the description of the C function call of DAQmxGetDevAnlgTrigSupported"
You're right, this property is one you query to find out whether or not the device can support this mode of operation.
"This is still leading to misunderstandings, because triggering of an analog input is supported"
Yes, analog triggering is supported, just with an external digital signal.
What are you trying to do, that requires an analog reference trigger?
Is it possible to do a continuous acquisition, monitor the data, and then stop the task so many samples after the event you are monitoring?
11-11-2013 08:18 AM
I have two analog signals and I have to use one of them as a trigger. I will do this by software: record both signals and then cut out the appropriate part...