Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to measure power from a different computer

Hey all,

 

This is my 1st experience of using the power meter. I am using WT 120.

I have installed all the drivers on my windows laptop. But I want to measure the power of a different machine. How can I let the power meter know this. The USB goes into my laptop and I read the reading from it.

 

Thanks in advance.

0 Kudos
Message 1 of 5
(3,966 Views)

OK. I have figured it out how to set up my machine. Now, the issue is to measure power, I want something like this:

I read the power reading from the meter.

Run the program on the machine. It runs linux (ubuntu)

Read the reading again.

I want this thing to be automated so that it is accurate.

 

Please help.

0 Kudos
Message 2 of 5
(3,960 Views)

Hi,

Can you clarify a bit on your application and hardware? What is this WT 120 device that you are using? You posted on the Instrument Control forum; can you see this device as a VISA resource? Also, how does it actually measure the power consumption?
Matt
Applications Engineer
National Instruments
0 Kudos
Message 3 of 5
(3,932 Views)

I am using Yokogawa WT210 Powermeter. It uses GPIB-USB-HS. So, what I want to do is that I have a CUDA program which I am running on my linux (ubuntu) box. As the drivers for WT210 are only for Windows, I use my laptop to get the readings. Thus, I plug in the power cord of my linux workstation into the load cord of the power meter and then take readings on my laptop.

 

I want to measure the Energy that is consumed by my program. Previously, I used a simple Watt Meter and it gave me Energy Readings before and after the execution of the program. I divided the difference with the execution time of the program to get the Power.

 

Thus, can anything like this be done with this Yokogawa Power meter. Something like writing some scripts and automating the whole procedure.

 

Thanks.

0 Kudos
Message 4 of 5
(3,927 Views)
Can you command your Ubunto box to run its program using GPIB? Does it have a GPIB port? Ultimately you’re going to need a way to read the power, then autonomously start the program, and then read the power with a device from another machine. Is this right? Do both computers have a serial port? Ehternet? You could also use UDP communication; I suggest looking at the UDP sender.VI and UDP receiver.VI this is one of many ways you can communicate between two computers.
Matt
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,910 Views)