03-27-2015 07:02 AM
Hi everyone!
This is my first post here as I'm just starting to learn about LabView at my university and would like some help with a project I'm working on.
My general assignment is basically outlined in the post title but I need some help getting a bunch of things set up, and was hoping I could find that here!
To start off:
Hardware:
Software:
With my end product, I would like to be able to create and show waveforms along with harmonics and distortions, and to set up the parameters of these waveforms with a LabView Interface. The generator should then output such waveforms and have it shown on this Interface in various ways.
The qualities I'd like to show are:
The ways I'd like to show them are:
So that's the plan for the project. I'd like some help getting started. I've already installed a driver for the USB Connection using NI-VISA Driver Wizard and can now see the HAMEG HO720 in NI MAX.
Is this the right way to go about communicating and getting data from my Generator? I'd like to know if there are any basics I'm missing and how I first go about controlling the generator from my PC by getting it to, for example, produce a sine curve.
I've also found a LabView third party driver for the HAMEG here: LabView HAMEG Driver R&S
Is this all I will need in terms of drivers for this device and my software? I'd also like to know how to install said driver and what I should expect to see in LabView in terms of function blocks and the like.
As I'm new to all this, I'd like to ask a few more questions:
Is there any other software I'll be needing which I didn't list above?
Are there any important tutorials I should look at to help me through? I've already fone through the getting started modules 1-10 at learnni.com, and am not 100% sure where to go from there.
Thank you so much in advance for any help!
Josip
03-27-2015 07:18 AM
03-27-2015 08:11 AM
Hi Dennis,
I will undo the driver installation.
I did it because I was playing around with connecting the generator to start with simple tasks, but as you can see I'm in a little over my head which is why I'm asking for help here. I hope I won't make you too frustrated, I really do appreciate the help.
Can I ask why it was wrong to use the driver wizard? What would be the correct way to go about communicating with the generator through labview?
Thank you for replying!
03-27-2015 11:05 AM
04-12-2015 05:07 PM
Hello again!
I've been successfully communicating with the generator through labview - I've initialised driver sessions and managed to create different waveforms using the hameg driver function blocks.
What I'd like to do now is display what is on the generator display on my labview front panel. Since I cant simply hook up a waveform graph or something similar, I assume I have to use visa read/write functions in combination with something else, but I don't specifically know what.
If someone could point me in the right direction that would be great.
Josip
04-12-2015 05:17 PM
04-20-2015 07:11 AM - edited 04-20-2015 07:12 AM
Hello,
I'm not sure if the driver has this functionality. In the attached picture are all the available driver VIs - the possibly relevant ones I've highlighted at the bottom. There are four "Instrument I/O" Blocks which query either the Boolean, Int, Double or String value. I don't know what these VIs expect in the "Command ("")" Input.
I'm not using an instrument to read the signal generator at the moment, though I do have a Tektronix Oscilloscope available if I need it. I want to put in parameters for an arbitrary curve in LabView, have LabView create a CSV file and then load it into the generator to have this file displayed.
I'd like to figure out the loading a CSV File into the generator through labview part - Are there visa functions that can help me do this? I don't see how to directly do it with the driver functions.
Thanks again,
Josip
04-20-2015 07:33 AM
12-22-2015 09:35 AM
@fr00tcrunch wrote:
[...]I've also found a LabView third party driver for the HAMEG here: LabView HAMEG Driver R&S
Hi,
we think of buying HMF 2525, but we need LabView control and the driver is not accessible any more.
Link says:
Instrument Driver Erro
We are sorry, but an error has occurred with our application.
No content available with ID: EDC29D45CA25286EE0440021287E65E6
Does anybody knows, how to get this driver?
thanks a lot!
regards
12-22-2015 04:01 PM