Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 5 out of 5     Rate this Document

Why Does My Specified Channel Not Work as an Analog Trigger Source in DAQmx?

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Multifunction DAQ (MIO)>>M Series

Problem:
I am trying to set the source of my analog trigger to of one of my device's analog input channels. However, the following error occurs:

Error -200265 occurred at DAQmx Start Task
Measurements: An attempt has been made to use an invalid analog trigger source


Solution:
The trigger source input to the DAQmx Start Trigger (Analog Edge) VI must be either a channel name that you have specified in the DAQmx Create Channel (AI-Voltage-Basic) VI or an appropriate APFI line. Specifying the device and channel name will not work.

For example, if you want to trigger off of an analog input channel, you can wire a string constant to the name to assign terminal of the DAQmx Create Channel (AI-Voltage-Basic) VI. Enter Voltage as a value for the string constant. You you must also enter Voltage in the string constant (or control) wired to the source terminal on the DAQmx Start Trigger (Analog Edge) VI.

Entering the physical channel name (i.e. dev1/ai0, M-Series1/ai1, etc.) will result in the aforementioned error. The attached image below highlights the relevant terminals in an example VI.

Related Links:
Product Manuals: M Series User Manual (July 2008)

Attachments:
analog_trigger_hl.jpg




Report Date: 10/05/2007
Last Updated: 05/05/2009
Document ID: 4E4G4NQQ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit