11-18-2013 11:12 AM
Hi all,
I have a Hameg HM 7044 power supply. I also have a lbview program that should control the power supply.
However, The problem is that when I run the program, it gives me no error but any change in voltage or current is not relected on the power supply. I hjave tried with both USB and RS232 connections. It is as if labview program is not having any control on the power supply.
Is there any hardware setting or switch on the power supply that I have to set in a particular way to allow for control through RS232 or USB? I have looked up the manual but could not figure out what to do.
The open vi for HM7044 has choice of connections namely 'COM1', 'COM2'...etc. I have tried all options. It gives connection error only for one of these connections. For all other connections, the labview program gives no error but fails to change anything in the power supply.
Thanks a lot for your inputs
Best,
chandereth
11-19-2013 06:04 AM
Hello chandereth,
have you already installed the drivers? If yes, which one?
NI Download - BUT: not officially supported, not tested (see linked page) - therefore no warranty that it works!
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=2689
Manufacturer:
http://www.hameg.com/drivers.0.html?&no_cache=1&L=http%3A%2F%2Fwww.intel.com%3F
Best regards,
11-19-2013 06:06 AM
Hello Christopher,
Thanks for your reply.
Yes I have already installed the drivers avaialble on Hameg website. The fisrt link to ni.com also directs to the second link of Hameg website.
Best,
chandereth
11-19-2013 06:20 AM
Hello,
that was a quick answer 😉
OK i got some more questions:
- can you see the device in Windows Hardware manager?
- how do you try to communicate? VISA commands? Have you tried the VISA driver wizard (do NOT do this)?
- have you tried asking the manufacturer, how to set this up? Since they provide a driver, they have to know how to set up things to get them work. And, as you can understand, we do not know every kind of third party device.
- are you using USB to RS232 adapter, or direct RS232 connection?
And some questions about the power supply itself:
So it has a RS-232 connection to be controlled by another device, e.g. PC with LabVIEW. But where does it get the power in the first place? I think it also has to be connected to the grid?
So thats a lot of quesitons here, but I have to be able to understand the setup at the beginning, before starting anything 😉
Best regards,
11-19-2013 06:28 AM
Hi Christopher,
In windows harware manager, I can see HAMEG HO820 USB under HAMGE Measurement devices. I guess that this is what reflects that windows is detecting the device. Please correct me if I am wrong.
I try to communicate with Visa commands. HM 7044 drivers use visa commands to perform various functions.
I have tried with both USB and direct RS232 connections
Did you mean if it is connected to AC supply? Yes, it is connected.
I have not yet written to the manufacturer as yet as I thought the problem is on the labview side maybe.
Best,
chandereth
11-19-2013 07:31 AM
Hello chandereth,
so as far as I can tell, it is physically a USB device but the connection is a serial one after all, so you see the COM port in VISA, the driver homepage from HAMEG says the driver creates a virtual COM port.
I would like to ask you to contact HAMEG for more information how to configure the COM port communication (baudrate, stop bits, parity, etc.). Does the manual not say something about this?
Best regards,