Error while running LabView and Matlab on the same card
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LabVIEW 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!