04-16-2009 12:18 PM
Hello all,
I am new to the boards so I am not certain this is in the right place. But here goes:
I am using LabView 8.6 with DT-LV Link package to control some of their D/A & A/D boards. I am trying to do a feedback loop of sorts. The user will call up a list of voltage parameters they typically use. The program will read this list and output the voltages continuously to a power supply. The power supply will feedback the voltage it is delivering (which should be the same as the output), if these are not the same, the voltages will be mathematically corrected and the corrected voltages will now be the output and the loop will repeat indefinitely.
Ex: I want to output +5V to channel 1, I read a voltage at channel 2 of +4.5V, I then correct the output to +5.5V. My new input says +5V, and everything is good.
When I run this code it runs through the first time with no problems, outputs the voltage, and read the inputted voltage. The second time around the loop I am getting an error saying "You're attempting an output operation on an input channel. NOTE: The correction is not wired in yet, it only displays the percent difference between the input and output.
04-17-2009 11:14 AM
Hey cpc29,
It looks like the VIs being used were developed by the manufacturer of your device, so what I would recommend you do is try to get in contact with the manufacturer for advice.