PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get example code of PID control with PXI 8176 controller

I tried to run example code in LabVIEW 6.1. However, I can get few success in them. I think that might be a hardware compatability problem. So, Can I get example code of PID control of PXI 8176 controller with 4472 and 6713.
0 Kudos
Message 1 of 3
(3,921 Views)
Dear Sir,

Thanks for using the NI Developer Zone.

The NI-4472 is a data acquisition card and as such you can use the Analog Input Examples shipped with LabVIEW in order to program the card. The only thing that is specific to the DSA card in terms of basic functionality is the per-channel based ICP excitation.

I am incluing in this message a link to the Knowledge base entitled "How Do I Use LabVIEW to Control ICP Excitation on the NI-4472 DSA Device?" in case you need more info regarding the set-up of ICP for the NI-4472.

The NI-6713 is a regular analog output card and you can use most of the AO examples provided in LabVIEW to use the card.

After you make sure that EACH card is working individually in LabVIEW using different and independent VIs, you can comb
ine both codes in a single VI in order to implement the necessary PID control.

I suggest you to take a look at the following example in order to have a good start-up for your coding:
C:\Program Files\National Instruments\LabVIEW 6.1\examples\daq\anlog_io\anlog_io.llb\Simul AIAO Buffer(E-series).vi

Best Regards
Omar De Andrade
National Instruments - Comnputer Based Instruments


Knowledge base link
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/90e485a463517c3686256a41005b2d2c?OpenDocument
0 Kudos
Message 2 of 3
(3,921 Views)
I succeeded the real time single PID. However, it is too slow to call it is real time. In real time application, the no buffer option is used but it doesn't work with pxi 4472. How does it come? Also, could you review the modified real time pid and modify the vi to make it real time?
0 Kudos
Message 3 of 3
(3,921 Views)