07-31-2019 11:39 AM
We are trying to read in voltage data from two different sensors and would like to have the data read in on two different charts on the same VI. We are able to chart the sensor data from both sensors on separate VIs, but when we try to run them on the same VI we receive the following error message: "Error -50103 occurred at DAQmx Start Task.vi:7220005." How can we get a chart to read each sensor on the same VI?
Solved! Go to Solution.
07-31-2019 11:50 AM
If you are using the same card, you need to put both channels into the same task. This will also mean they will have to run at the same rate. Once you have read the data, you can index out the waveforms to do the separate processing.
07-31-2019 01:29 PM
How do we index out the waveforms to do the separate processing? We have the other things you mentioned set up.
07-31-2019 01:35 PM
You have an array of waveforms. Use the index array. You can expand it to index multiple waveforms with the same index array function node.
07-31-2019 01:55 PM
Since you are using a DAQ Assistant, you get the dreaded dynamic datatype wire. There is another function called Split Signals that will break that "array of waveforms" that are hidden in the blue wire down to individual "waveforms" that are also hidden in what appears to be the same blue wire.
(That is why the blue wire is dreaded. It hides what the underlying data is that it is carrying.) If you used regular DAQmX functions, instead of Express VI's and the dynamic data type, you'll have more control as to what is going on in the acquisition.
PS: If you had searched for "error 50103", you would have found hundreds, if not thousands, of messages from people having the same problem with multiple DAQ Assistants.