LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help needed - flow controller using a usb 6008 with PID

Hi

I am really struggling to incorporate PID control into my vi in labview 2010.

 

I am monitoring the pressure inputs, doing a flow calc and then displaying the flow whilst using a driver from the usb6008 to control the solenoid supply current.

 

Currently everything is manual but I would like to be able to allow the user to enter a desired flow value and then the system automatically opens the solenoid to achieve the target flow.

 

I've tryed to insert a PID control into the vi but got error messages.

 

Can someone point me in the right direction where to start or even better take a look at my vi and add a PID control feature for me.

 

I'm a labview novice and have never done PID so be gentle !!

 

regards

Andy

0 Kudos
Message 1 of 3
(2,293 Views)

Hi Andy K,

 

There are a few examples of PID control on the following link: http://zone.ni.com/devzone/cda/tut/p/id/6440

 

Please have a look through them and if you have more specific questions, let me know.

 

Regards,

Shalini B
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 3
(2,272 Views)

It would be helpful for you to upload your VI showing how you tried to insert the PID VI, and describe the error that occurred.

 

There are also many examples on this forum of how to use the PID functions.  As far as I know the USB-6008 has no timer outputs so you'll have to generate a PWM signal in software.  An example of one way to do this is here: http://forums.ni.com/t5/LabVIEW/PID-control-of-heating-element-feedback/m-p/1464204.

0 Kudos
Message 3 of 3
(2,261 Views)