Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Read power meter in LabVIEW via RS-232/RS-485

$
0
0

Hello!

 

I have a power meter , WM14-DIN advanced power analyzer. I want to display different values , Kwh,VA,Kvar etc, from the meter in graphs in labview. I have just a basic understanding of Modbus RTU and the connection with RS-232. But I don't know how to make it work with labview. To my meter I have connected a converter  Moxa TCC-100 ( see attachments) from RS-485 to RS-232, since my power meter only works with RS-485.

 

From the converter I have a RS-232 usb adapter( see attachment)  to COM3 on my PC .  

 

Maybe the easiest way would have been connecting this directly http://sine.ni.com/nips/cds/view/p/lang/sv/nid/12845 . But i havent bought it yet!

 

So now you know the connection setup, drivers for the usb adapter is installed and VISA drivers also. I haven't found any good examples explaining how you can do this with programming and sending adn reciving data.

 

I have googled around and found out that you should use VISA read/write blocks, and that there is a Modbus library you could use. I have installed the library but I don't know how to use them to communicate with my power meter.

 

I have a communication protocol to my power meter but I don't know how to use it.

 

I'm pretty  much stuck and really dont know where to begin. But from my understanding of modbus, these kind of things should be easy to do, so I'm guessing it isn't too hard to learn.

 

Is there anyone that could explain how these thing work or if there is something that I could read or see?

 

Best regards Maurlind

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>