Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66814

Error 200524 Different number of channels in task and data

$
0
0

Anyone out there with some information would be greatly appreciated. I  have attached my VI. Essentially I am trying to build a simple PID VI to controll the temperature of a piece of equipment in a system I am building. I have heating wire powered by 120 V source. The circuit is controlled by a simple relay, which is controlled by a digital line on my NI USB 6343 board. I have seen numerous examples throughout the forums and the shipped examples, but I cannot seem to figure out how the PID VIs work. I understand the basics of a PID controller, but cannot make the connections of how to actually get it to work in LV.

I figured that this VI I wrote is pretty simple and should work, but I keep getting this error.

 

Error -200524 occurred at PID_v0.vi:Instance:19:1

 

Possible reason(s):

Write cannot be performed, because the number of channels in the data does not match the number of channels in the task.

When writing, supply data for all channels in the task. Alternatively, modify the task to contain the same number of channels as the data written.

Number of Channels in Task: 1
Number of Channels in Data: 1000

Task Name: _unnamedTask<1>"

 

Any advice, direction, sample VIs that are not overly complicated, etc would be greatly appreciated.


Viewing all articles
Browse latest Browse all 66814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>