LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure NI 9265 analog output

I am using a compact RIO system whose components are listed below:

 

NI cRIO 9025 (controller)

NI 9229 (24-bit analog voltage input module)

NI 9265 (16-bit analog current output module) connected to 24 VDC

 

 

Project Explorer:

Project.png 

 

 

Input and output module properties: (note the calibration mode)

calibrationMode.png

 

 

FPGA VI block diagram:

FPGA VI.png

 

 

Host VI block diagram's FPGA part:

Host VI FPGA part.png

 

(You can right-click on these images and download them to see them in full size.)

0 Kudos
Message 1 of 4
(4,419 Views)

Input signal from the NI 9229 module (typically well-defined sinusoidal waves from a function generator in test setup) is transferred to the CPU through the DMA FIFO. My goal at this point is to make the NI 9265 module produce the same sinusoidal output signal as the input signal. The input side is working properly. It produces calibrated waveforms that are displayed on the user interface.

 

However, as shown in the FPGA VI, there is currently no calibration or proper data type conversion for the uncalibrated input data coming out of the NI 9229 input node and directly going into the NI 9265 output node. There are even red coercion dots on the NI 9265 node that I cannot get rid of. I would like to get some tips about how to set up the output properly. The output current flows through a 220 ohm resistor in this test setup. The oscilloscope measures the voltage across the resistor. I was only able to see clipped or saturated near-square waves on the oscilloscope from the NI 9265 module with sinusoidal input signals from the function generator going into the NI 9229 module. Thanks for any help in advance! 

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

Hi MemoryGrowth

 

The NI 9229 is analog voltage device and the NI 9265 in an analog current device. From that image it seems that you are reading a voltage and writing the value of a voltage measurement into the write node of the NI 9265 which is a current module and works with the currents units.

 

First we will have to do the respective calculations to convert the voltage into current and then change the data type from integer into fixed point that way we will be able to eliminate the coercion dots.

 

sr 2058225.png

 

Regards

Esteban R.

0 Kudos
Message 3 of 4
(4,350 Views)

sr 2058225.png

0 Kudos
Message 4 of 4
(4,349 Views)