LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the *IND? with LabView ? LCR-Meter HP4263A

I am using a LCR-Bridge HP 4263A, which has sometimes a 001 option allowing to use 20kHz as frequence.
But not all models in my company has it.
My application needs to know if the unit has the 001 option.

There are two solutions:
1. Somebody uses this model, knows the problem and has a solution.

or
2. A other solution would be to read out the Ind query.
I could seperate the serial number and with this I know if the option 001 is provided.
But how to read out the Ind? string???
With MAX it works, so the unit supports this command.

Thanks for any help.

ALEX
0 Kudos
Message 1 of 12
(4,811 Views)
Query the device, (GPIB write IDN?), then read the response(GPIB Read). Then parse the string to get the option/lack of variable
Message 2 of 12
(4,811 Views)
Hi ALEX;

find attached a init file made for KEITHLEY K2400-SMU.
This file you can edit for your needs (saved in LV6.0)
As you can see - the SMU reports all the Data of interest. This should solve your problem.
regards
wha
Message 3 of 12
(4,811 Views)
Take a look at the LabVIEW<->GPIB example VI which ships with LabVIEW. This will show you the basics of building a GPIB application. With this, you can write to and read from the instrument, so you really don't have to build your own. Just make sure you know the address of the instrumetn.
J.R. Allen
Message 4 of 12
(4,811 Views)
Thanks a lot.
Somehow this solution didn't work when I tried it in the beginning.
Now it does. Wonder what went wrong.

ALEX
0 Kudos
Message 5 of 12
(4,811 Views)
Thanks for your example. Helped a lot.

ALEX
0 Kudos
Message 6 of 12
(4,811 Views)
Knappe wrote in message news:<50650000000800000049640000-1031838699000@exchange.ni.com>...
> I am using a LCR-Bridge HP 4263A, which has sometimes a 001 option
> allowing to use 20kHz as frequence.
> But not all models in my company has it.
> My application needs to know if the unit has the 001 option.
>
> There are two solutions:
> 1. Somebody uses this model, knows the problem and has a solution.
>
> or
> 2. A other solution would be to read out the Ind query.

The 4263 has an "*OPT?" command. It returns an option string.

For instruments that don't support an option command, I've found
that sending a command that only the option supports, then checking
for errors will indicate if the option is not present. (Do this at
driver start-up time and s
ave the variable in a global.)

Les.Hammer@CompleteTest.com
0 Kudos
Message 7 of 12
(4,811 Views)

I am trying to interface to the 'B' version of the LCR-Meter HP4263. Is there any important differences between the 'A' model and 'B' model as far as the downloadable vi is concerned? I can't find any other drivers than the 'A' model.

Also, I am using a USB to GPIB unit to interface to the meter and haven't been able to talk to it so far. I know the hardware is working. Is there a tutorial out here for modifying the basic Getting Started vi to talk through a virtual serial device?

Tay

0 Kudos
Message 8 of 12
(4,468 Views)
Your last couple of statements are confusing. First you say that you have a USB-GPIB converter and then you ask about a serial port. What do you actually have connected to the pc? If it is a USB-GPIB, is it the NI controller? If it's NI's does it show up in MAX and have you configured it. If you really have a USB-RS232 converter, does that show up in MAX as a serial port? In order to use a serial connection, you will probably only need to modify the initialize function to support serial. The shipping example of the the HP34401 driver is a good place to start when seeing what modifications you need to make.
Message 9 of 12
(4,452 Views)

Sorry about that. The hardware is a USB to GPIB converter. It is not the NI unit, but is made by Prologix. The software that came with it allows me to (theoretically) address it as a serial port - (a virtual COM port).

Tay

0 Kudos
Message 10 of 12
(4,448 Views)