Error while running LabView and Matlab on the same card
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on LabVIEW in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!