Example: DAC DC

This example writes DC values to all four channels of the analog outputs of the ZSOM-Control.

Project: ZSOM-Control_DAC_DC.lvproj. In LabVIEW, open Help → Find Examples and search for “ZSOM”.

DAC DC example, front panel
RT code: front panel

Control Function
DAC 1 – DAC 4 Output voltage in V for each of the four channels (knob or numeric field, range −10 V to 10 V)
  • FPGA (DAC_DC_FPGA_main.vi): Takes the four values from the RT, converts them for the DAC and updates all channels simultaneously.
  • RT (DAC_DC_RT_main.vi): Loads and starts the FPGA and then writes the four values to the FPGA in a loop (wait time 20 ms).

Block diagram of the RT VI
RT code: block diagram

Block diagram of the FPGA VI
FPGA code: block diagram

  • Last modified: 4 weeks ago