Using DAQ Devices for PID or Feedback Control

Updated Feb 23, 2023

Reported In

Hardware

  • cDAQ-9188

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

I want to use my DAQ device for a feedback control system. I want to read one sample, and then output it. I need to do PID control, or something similar. How can I do this?

Solution

One way you can implement this is by doing a software-timed analog input, and then output that on demand. You can then pass information usingĀ queues, or channel wires.

Additional Information

There are speed limitations using a DAQ device with your computer. Depending on your application, the bus transfer rates between your DAQ and computer may not be fast enough. If you are looking for something that will work faster, then you will want to look into our FPGA options.