Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

Error -50103 While using two separate NI-9401 Modules for PWM and Duty Cycle

$
0
0

Whilst building a testing apparatus for the control and regulation of compressors, I was asked to expand my test unit to monitor and control 6 units as opposed to the 3 it was already built for. I had already finished the programming for 3 units and there were no issues. I am generating a PWM signal through the NI-9401 which controls 3 compressor units. Once the signal is read, a Tach signal from each compressor is built into a separate task and read by the 9401 to produce an RPM measurement. This works just fine when running 3 units. However, once I had been asked to expand the testing apparatus, I wired in a second NI-9401 module to control the next three units as the one module does not have enough space to include 6 inputs while outputting a signal. I wired and wrote the program for the second module EXACTLY how I did for the first module, just with different tasks and now I am receiving an Error -50103 stating that the resource is reserved for all of my close and clear task vi's. Any input would be helpful. I have attached the Vi in question to see if anything can be noticed in the coding.


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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