LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple vi

Hi

I am new to labview but i a need to create a vi. I have a bnc 2120 connected to a 6251 DAQ board. I want to provide 1 V DC volatge to a circuit and also measure current from the same circuit. Since the BNC 2120 can only measure voltage i am assuming i will to measure current by connecting  by connecting a low ohm shunt resistor. It would be really helpful if someone could help me start off with this.

Regards
Abhishek


Message Edited by rutgers on 11-27-2007 04:18 PM
0 Kudos
Message 1 of 6
(3,366 Views)

The easiest thing for you is to use the DAQ Assistant. Drop it on the block diagram and when the wizard starts, select Acquire Signals>Analog Input>Current. You'll then select the device and channel. The next screen will show the configuration and have a box for the value of the external resistance. You also have a Connection Diagram that shows you how things should be wired but unfortunately, the BNC 2120 is not one of the supported terminal blocks. It's pretty easy to figure out though. You just need to wire the resistor across the differential inputs.

When you are done, click the OK button on the assistant and you have a ready made VI that will return a current reading whenever it is called. You can also create an assistant for the voltage output.

Message 2 of 6
(3,356 Views)
Thanks for the help. Will try to work with this
regards
abhishek
0 Kudos
Message 3 of 6
(3,339 Views)

Is it possible to measure AC current in this way?  Thanks.

0 Kudos
Message 4 of 6
(2,826 Views)

Physically it's the same.  But, you'll have to collect multiple samples that include at least one whole cycle of your input waveform and do the math in software to calculate AC current. 

 

http://forums.ni.com/t5/Multifunction-DAQ/Determine-AC-Current-through-DAQ/m-p/803538

 

Or you can do it the easy way with a DMM connected to your PC beinf read by LabVIEW. Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 6
(2,815 Views)

Thank you for your prompt reply.

0 Kudos
Message 6 of 6
(2,808 Views)