From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-25-2014 02:51 AM
Hi,
Would it be possible for you to connect the instrument via RS232. I think your instrument has this option.
It would be much easier because you wouldn't have to mess around with virtual com ports. More often than not they have trouble with LabVIEW.
I have worked with HMP4030 power supplies a couple of years ago, although I used GPIB.
The driver that came with the instrument was useless for me because it had a lot of delay between subsequent VI calls. I created my own VI's for it, which were much faster (attachment). I only used the "Initialize" and "close" VI's from the original driver.
You may have to modify them a bit because they are for HMP4030 (3 channel).
If some functions are missing, you can create your own VI's in the same way. Have a look at the manual, all commands for the instrument are listed there.
Best regards
Matej
03-25-2014 03:27 AM
Hello,
really thank you for your VI i will see if i can use it for my device,
Yes i know if i could i would have tried^^ but the laptop i have does'nt have RS232 port.. so I'm obliged to use USB (every subject I read says that RS232 is easier to use ^^)
Thanks
JF
03-25-2014 08:03 AM
Hello JF,
did you install VISA driver? you must have.., otherwis it shouldn't worl to begi with!
Can you attach your VI for us to llok at?
Sy D.
03-27-2014 09:23 AM
hello,
Yes i have visa driver, I used VI taht you can DL on their website but only the initialize.vi works
I succeded to communicate with my device finally.. but i don't understand how.. I'm not sure but its something with MAX
anyway really thank you, your help was really useful.
I have another question about VI's you sent to me, they are working well I just changed some few things.
it's about the command of arbitrary. It's the first time I use SCPI protocol so maybe I do something wrong
04-01-2014 01:09 AM
Hi,
The syntax you used for the arbitrary command is wrong. The correct commands are:
ARB:REST 1
ARB:TRAN 1
ARB:STAR 1
The colon symbol (:) is a level separator and should not be omitted!
If you are new to SCPI have a look at some tutorials. There are a lot of them on the internet.
One is on the Hameg website where the manuals for your instrument are located.
Best regards,
Matej
04-23-2014 04:43 AM
Thanks a lot !
I'll already saw it on the hameg manual.. but in VIs I have, the symbol _ is used and not : so i thought i had to use it everywhere.. my bad..
Thanks you all for your help and your patience !
JF
11-07-2014 03:48 AM
Hello Matej,
Please can you help me? I'm new to instrument control and I need help with Controlling My Hameg 2030 with Labview 2013. I can connect my power supply with Labview but I can connect the Labview drivers (VIs-----Initialize, configuration etc) I have tried but getting error out with code BFFF000E. Can you instruct me on how to connect the VIs together please?
Thanks
Floshe
11-07-2014 03:55 AM
Please can anyone help me? I'm new to instrument control and I need help with Controlling My Hameg 2030 with Labview 2013. I can connect my power supply with Labview but I can't connect the Labview drivers (VIs-----Initialize, configuration etc) I have tried but getting error out with code BFFF000E. Can anyone instruct me on how to connect the VIs together please?
Thanks
Floshe
11-07-2014 08:33 AM
Hello Floshe,
Did you install NI VISA driver properly? Try to down load the latest NI VISA driver and install it if you have not already done so.
Best,
Sy D.
11-07-2014 11:04 AM
Thanks Sy D.
I have installed NI-VISA 5.2 and it's working properly. It's just that I have to run the driver wizard all the time in order to switch from PCI to USB interface. when I do this, I get connected to my power supply without the error message. I now know how to overcome the error message but need help with my data aquisition. I basically need to store my output voltage and current and display then in real time. If you can help me on this, I will be grateful.
Thanks
Floshe