10-06-2021 03:08 PM
I'm having trouble making a VI work with a 9265 analog out (current) module
VI: (see attached)
1. DAQmx create channel AO-current-basic outside while loop
2. inside the while loop DAQmx write analog double 1 channel 1 sample
3.control wired to the data input that ranges from .004 to .020
I set up the task for analog output current for the module in measurement and automation explorer.
Thanks!
10-06-2021 03:12 PM
Hi GBEN,
@GBEN wrote:
I'm having trouble making a VI work with a 9265 analog out (current) module
Which trouble do you have?
10-06-2021 03:14 PM
I don't think I am getting any current output from the module.
I also posted on the multifunction daq forum verifying that I have the wiring correct to the module, but I wanted to check on if I made a mistake on the VI as well.
Thanks for your help.
10-07-2021 07:37 AM - edited 10-07-2021 07:50 AM
Gerd does the way I used that write to analog output look OK to you?
Is feeding .004 to .020 as a double to the data input correct if I want the module to ouput 4-20mA?
10-07-2021 08:48 AM
Electrical connecting is equally important as how you implement the software.
Please share the exact circuit of how you connected stuff and share the VI in LV2016 version so that you can cover a larger audience.
10-07-2021 09:29 AM
wiring:
1. +24 V from power supply to Vsup on module
2. ground from power supply to COM on module
3. wire 1 from valve to AO1
4. wire 2 from valve to AO2
10-07-2021 09:45 AM
What does the documentation of your valve tell about wire 1 and wire 2?
Regards, Jens
10-07-2021 09:53 AM
input: 4-20 mA
impedance: 260 Ohms
black is positive, white is negative
10-07-2021 09:59 AM
Since it is a current loop, the sensor/valve is always in series with the supply and measuring/generating device.
You should be connecting the valve positive to the AO of the instrument and negative to GND and not between 2 AOs
10-07-2021 10:07 AM
Thanks for the reply.
On the 9265 module, the terminals are labeled AO0 and COM0 and I understand the datasheet as indicating that the device should be wired to these terminals, and the power supply should be wired to the Vsup and the Power Supply COM. You are saying to wire
Positive from valve (black) to AO0,
negative from valve (white) to negative of power supply,
Positive from power suppply to Vsup
negative from power supply to Power Supply Common
Correct?