LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot get analog output voltage from bnc-2110 data acqusition connected to pcie-6321

I cannot get analog output voltage from bnc-2110 data acqusition connected to pcie-6321 card. I tried scb-68 daq device too but I couldn't get analog output voltage again. I think the problem is originated from the pcie-6321 card. What can I do to solve the issue? Is this an hardware or software/driver problem?

0 Kudos
Message 1 of 7
(4,095 Views)

It's really hard to debug other people's problems without code.

It's even harder to debug these problems if they're hardware related.

It's much harder on top of that if you don't tell us what you've tried already.

 

Have you tried communicating with your devices in Measurement and Automation Explorer (MAX)? This installs with LabVIEW and is the single most helpful tool when debugging device communication issues.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 7
(4,083 Views)

I'm sorry about lack of information.

 

I use analog inputs of the BNC-2110 and they work perfectly. It indicates the voltage that I gave from the power suply to the device.

 

The code is simple. I use only one analog input and one analog output. In while loop, from Daq Assistant (analog input-voltage (0-5V)) to meter and from knob to Daq Assistant2 (analog output - voltage(0-5V)). This is all about the code. You can see the picture below.

 

1. I tried measuring with voltmeter the analog output of the daq while giving 3V with controller consisting of Daq Assistant + Knob. Result: 0 V

2. I tried measuring with voltmeter the analog output of the daq while giving 3V from NI MAX's Test Panel to ao0 and ao1. Result: 0 V

Also when I used self-test button. It completes the test of the device successfully.

 

week 4.png

  

 

 

 

0 Kudos
Message 3 of 7
(4,063 Views)
A picture like that is next to worthless. Attach the actual VI or a snippet. We have no idea how you have configured the assistant. We have no idea how you have the terminal block configured/wired.
0 Kudos
Message 4 of 7
(4,053 Views)

 

@Dennis_Knutson wrote:
A picture like that is next to worthless. Attach the actual VI or a snippet. We have no idea how you have configured the assistant. We have no idea how you have the terminal block configured/wired.

Here is the VI file.

 

0 Kudos
Message 5 of 7
(4,030 Views)

You have the AO task setup to use Dev1/AO0, and you have the AI task setup to use Dev1/AI0.  This means you are generating and sampling on the same device.  There isn't anything wrong with this, but do you have the AI0 of device 1 connected to the AO0 of device 1?  I thought you wanted to output on one device and input on another?  If this is the case you'll need to fix your DAQ Assistant and point it to the right hardware and I/O pin.

0 Kudos
Message 6 of 7
(4,018 Views)

I


@Hooovahh wrote:

You have the AO task setup to use Dev1/AO0, and you have the AI task setup to use Dev1/AI0.  This means you are generating and sampling on the same device.  There isn't anything wrong with this, but do you have the AI0 of device 1 connected to the AO0 of device 1?  I thought you wanted to output on one device and input on another?  If this is the case you'll need to fix your DAQ Assistant and point it to the right hardware and I/O pin.


All connections are checked and they are all right. Actually, I have an MFC (mass flow controller) that I want to control the flow with controlling the voltage. With analog input I indicate the flow in terms of voltage, and with analog output I want to limit the voltage (I want the MFC not to allow the gas to flow more than a certain value) so I'll limit the flow rate. Here is the problem is that I cannot read any voltage with voltmeter even there is only analog output is connected to the daq. If you have voltmeter, can you try to have a measurement of voltage from analog output by using NI MAX panel test? So I can see that if there is a pcie card problem.

0 Kudos
Message 7 of 7
(4,012 Views)