LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

agilent 4395a impedance analyzer

screen1.jpg

 

This picture shows a query  - in this case, a request to send the ID of this instrument.  The VISA instrument control is a dropdown menu where all your VISA instruments recognized by NI-MAX are.  The error out of the VISA write is wired to the error in of the VISA read, meaning the write will happen before the read.  Some commands just tell the instrument to do something so you don't need the VISA read.  (In the real world, some commands take a long time to process and you may need additional code to take this into account, but let's stick with the basics.)

 

If you know how to do your measurement manually, you should be able to pick out the commands needed to do the measurement, then you should be able to string them together.  Given that you have some exposure to LabVIEW, I hope a lightbulb goes on and you can start programming.  Maybe you can eventually build your OWN library of CUSTOM drivers!  😄

 

Don't be afraid to ask for help!

 

 

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 11 of 46
(3,791 Views)

If you place the three VIs on the block diagram and wire the error out to the error in in squence, you can 'right-click' on the inputs of the first two and select 'create control'.  On the front panel you should have the controls select the mode and channel, along with one for wether to query the ID and one to reset the device during intialization.

 

hp4395a Initialize.vi

hp4395a Instrument mode/chan select.vi

hp4395a Close.vi

 

The block diagram should look something like this:

 

HP4395a.png

 

You are right about the plug and play version, it is very difficult to understand.

Message 12 of 46
(3,789 Views)

Hi Jack47,

 

I have tried to reproduce the block diagram you sent but I have the following error message that I do not understand: Could you please help me?

 

Thank you very much for your previous message!

 

block_diagram.JPG

0 Kudos
Message 13 of 46
(3,745 Views)
Do you have the IVI Compliance Package installed?
0 Kudos
Message 14 of 46
(3,740 Views)
I do not think so. Because in the IVI folder, I only have one file of configuration settings. Could please tell which packages I have to install? Thank you.
0 Kudos
Message 15 of 46
(3,733 Views)

What's wrong with clicking on the link I gave you?

 

You should also not have to guess whether you installed something or not. If you don't remember, open MAX and expand the software listing. If you installed it, the compliance package will be listed.

 

I have no idea wha you mean by IVI folder and configuration settings.

0 Kudos
Message 16 of 46
(3,728 Views)
No I do not have it installed I am going to install it! It is not in the MAX configuration.
0 Kudos
Message 17 of 46
(3,722 Views)

Hi, I am using this driver right now, but the VIs are broken due to some dll issue. I guess some additional installer should be installed for this to work fine. As the driver is developed a long before, the developer is not sure of what installer he used. So, pls can you help me with this.?

 

Note : these VIs are working fine in 32 bit OS but not in 64bit.. Y is this so? Can I overcome this.?

 

Thanks in advance

0 Kudos
Message 18 of 46
(2,880 Views)
Either get a 64-bit version of the dll or use the LabVIEW driver. The project style driver does not use a dll.
0 Kudos
Message 19 of 46
(2,875 Views)

I searched for the 64 bit dll for the same but couldnt find till now. If any of you guys knows about it, please send me the link.

0 Kudos
Message 20 of 46
(2,873 Views)