07-19-2011 03:14 AM
Hi,
I feel stupid, but I'm a new user to LabVIEW and I'm trying to measure current consumption on products with different voltage input. So I got two multimeters Agilent 34410A, one for voltage and one for current. But I have been trying to connect the multimeters with LabVIEW, but I don't know how to read data from the multimeters. Every time I think I got something new, it gives me error.
So I would be thankful if someone could help me get started with this program.
/Victor Gustafsson
07-19-2011 04:36 AM - edited 07-19-2011 04:36 AM
07-20-2011 12:11 AM
Thanks Gerd
Thank you, I was looking for something like that, but NI's pages aren't that clear. ![]()
But I'm still having problems with controlling to different multimeters at the same time, it won't let me open two multimeters of the same kind at the same time.
/Victor
07-20-2011 01:51 AM
Hi Victor,
what is "it"? ![]()
- How do you connect those two multimeters?
- Did you select different "addresses" (aka "VISA resource names") for them in your VI?
- Did you set those DMMs to different addresses (like you have to do for GPIB connections)?
Show your code and we might be able to help...
07-20-2011 07:10 AM
Hi Gerd,
It is LabVIEW 🙂
I have them now connected with USB cables one from each multimeter, but i also have GPIB cables with USB interface.
Right now I have used examples to build a system that gives me results that i want. But i'm having problems getting LabVIEW to save my results into a table.
And one more question: When i measure the consumption i have to change the voltage manually cause my voltage source is really old, so is it possible to get the results in to a table so that LabVIEW takes for example every result for every half volt?
Thanks,
Victor
07-20-2011 07:14 AM - edited 07-20-2011 07:15 AM
Hi Victor,
"now connected with USB cables one from each multimeter"
Do these "USB cables" emulate a serial port? Or do you need device-specific drivers to communicate to the DMMs?
"i'm having problems getting LabVIEW to save my results into a table."
Ok - but how can we help?
"is it possible to get the results in to a table"
Yes.
Hint:
To get useful help you have to name the problems. And show us what you have programmed so far...
07-20-2011 08:03 AM
Hello,
I'm not sure what you mean, but they are both connected with different cables to different usb ports on the computer.
And about the table, i dont know how to make a table, can't find it anywhere. Now i got the results straght to the graf, though i know it doesnt save old results.
I have added what i have done so far using examples.
thanks
/victor
07-20-2011 08:31 AM - edited 07-20-2011 08:33 AM
07-21-2011 06:34 AM
Hi Gerd,
Thanks for the example, i got a table and a graph now. But how do i get the table to put X and Y in different columns and is it possible to export the table to excel?
/victor
07-21-2011 06:51 AM