Error -50150 when using cDAQ 9205 with Analog Reference TriggerHardware: CompactRIO>>Analog Input Modules>>NI 9205
Problem: I am encountering Error -50150 indicating that my software has entered an unknown state. I have a cDAQ chassis and would like to use the 9205 to set up an analog reference trigger for the rest of the modules in the chassis. I am able to set up a task in the Measurement and Automation Explorer (MAX) for an analog reference trigger on channel 0 of the 9205. I get this error when I add another channel (i.e. channel 1) to my task and try to run it. No matter which other channels I try to add to the task, I get the same result. How can I access my other channels?
Solution: According to the NI-DAQmx Help: "Analog Triggering Considerations..." section, the documentation mentions the following: "When using the cDAQ 9205 with a reference trigger or pause trigger, you can use only one channel from the NI 9205 channel list, but you can use channels from other C Series devices." Essentially, if you are to use an analog reference trigger on the 9205, you are not able to use the other 31 channels on the card. Traditionally, this is a problem that is worked around in MIO devices by using the APFI 0 or APFI 1 terminal. The NI 9205, however, does not have these terminals. Moreover, you cannot create a second analog input task with the rest of the channels as each device can only run one task per operation (i.e. analog input) at a time. As a workaround, there are example programs that allow you to use a software reference trigger. You can find these in the LabVIEW shipping examples under Hardware Input and Output » DAQmx » Analog Measurements » Voltage » Cont Acq&Graph Voltage-Analog SW Trigger.vi. Related Links: KnowledgeBase 3NBF7EG0: Computer Freezes When Using a Reference Trigger Before Trigger Condition Occurs KnowledgeBase 4D67ID20: Unexpected Delay When Using DAQmx Analog Start Trigger Attachments:
Report Date: 02/08/2007 Last Updated: 12/21/2009 Document ID: 467GKRJQ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
