ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PID control

Hi 

     I want to on and off the gate voltage .when I am running the program the gate voltage is increasing from 0 to 5 volts but when I am stopping the program still the gate voltage is 5 volts its not coming to 0 volts I don't understand why is the same. can any one help me out with this.

0 Kudos
Message 1 of 4
(2,967 Views)

Hi

 

I was not able to open the VI as it was in a higher version. If you can convert it to LV 2010 or lower, I can see if I can be of some help.

 

However, as a first aid, I can suggest using Reset Device VI after you clear your tasks, if you are using NI DAQmx vis.

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 2 of 4
(2,934 Views)

HI 

     I am doing on electronic load actually I am acquiring voltage and current in this .and i want to maintain constant current but I am not able to do so can u help me. and  what is worng with my code or any thing  to do in PID control .

0 Kudos
Message 3 of 4
(2,887 Views)

One thing that will might help is to set the output range of the PID VI properly.  Why do you have values of -100 to +100 when your DAQ card can only output 0-5V?  Also, how did you determine your P and I gain values?  Have you gone through a tuning process?  The manual included with the LabVIEW PID toolkit (PDF in the LabVIEW manuals folder) may help here.

0 Kudos
Message 4 of 4
(2,871 Views)