Error while running LabView and Matlab on the same card

1 回表示 (過去 30 日間)
Anand
Anand 2013 年 8 月 6 日
I am trying to output a sine wave through an AO channel (using Matlab function analogoutput) on a NI DAQ card and have it read on an AI channel on the same DAQ card through a LabView executable. The LabView executable also outputs data on a different (than the Matlab controlled channel) AO channel. I understand that the multiple applications cannot do the same function (e.g. input or output) on the same DAQ card. What I want to confirm is whether the error that I am getting is a direct result of this conflict. Here is the error message:
Error using daq.analogoutput_nidaqmx_1_5/start
Two or more properties that drive a line are set to the same terminal. Check
the settings of properties ending in 'DriveLine'.
When I used the object inspector to view the properties of the analog output object, I noticed the following values for the relevant properties:
ExternalClockDriveLine : None
ExternalTriggerDriveLine: None
Thanks!
Anand

回答 (0 件)

カテゴリ

Help Center および File ExchangeLabVIEW についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by