11-20-2014 03:52 PM
Realise this thread is old, but a copy of the VI would definately help me as well as struggling with the 4142B
11-21-2014 01:52 PM
Hi jsexton,
Since this thread is old, please start a new thread and post your question. I think you'll find more success that way.
11-21-2014 09:41 PM
I have developed this application. My application was custom made for our requirement.
Explain about your 4142b. Including the modules, slot position, 2wire or 4 wire connection etc.
Please go through the 4142-programming guide. HP/ Agilent 4142b programming manual will explain the instrument communication using HPIB and HP BASIC Programs. We need to just rewrite the code in to a LabVIEW program.
Send the VI that you have made along with your email. I will correct it if possible.
Or i will make a simple VI for resistor measurement.
This will be starting guide for you
11-21-2014 09:44 PM
I have developed this application. My application was custom made for our requirement.
Explain about your 4142b. Including the modules, slot position, 2wire or 4 wire connection etc.
Please go through the 4142-programming guide. HP/ Agilent 4142b programming manual will explain the instrument communication using HPIB and HP BASIC Programs. We need to just rewrite the code in to a LabVIEW program.
Send the VI that you have made along with email. I will correct it if possible.
Or i will make a simple VI for resistor measurement.
This will be starting guide for you
@jsexton wrote:
Realise this thread is old, but a copy of the VI would definately help me as well as struggling with the 4142B
11-22-2014 04:34 AM
@41412b wrote:
I have developed this application. My application was custom made for our requirement.
Explain about your 4142b. Including the modules, slot position, 2wire or 4 wire connection etc.
Please go through the 4142-programming guide. HP/ Agilent 4142b programming manual will explain the instrument communication using HPIB and HP BASIC Programs. We need to just rewrite the code in to a LabVIEW program.
Send the VI that you have made along with email. I will correct it if possible.
Or i will make a simple VI for resistor measurement.
This will be starting guide for you
@jsexton wrote:
Realise this thread is old, but a copy of the VI would definately help me as well as struggling with the 4142B
Dear 4142,
I am very new to Labview and attempting to connect the HP4142B DC source for device characterization, basically simple resistance measurements and a current source. The 4142 hasa GNDU, 1 high power and 1 medium power SMU, I believe in channel 0,1 and 2 respectively. I have produced a very basic labview program, but I obtain no response from the 4142 when requesting the *IDN?\n command. I have used NI spy to check the commands to and from the unit from my program and the open Visa test panel. The only difference I can see is that the test panel uses commands viOpen() and the labview program uses VISA open etc. Can this be the only problem and if so how can I force labview to use the Vi statements. I am attaching three files. The first show the response from the 4142 using NI spy. The first three lines are from the Visa test panel requesting IDN, whereas the last three lines are from the labview program (default_instrument_setup). The final 4142 IDN is a more conventional setup. Are you able to assist as once this connection issue is resolved, the rest of the programming should be more easy (I hope)... Any assitance you can provide will be greatly appreciated.
02-17-2015 11:50 PM
jsexton,
Some older HP4142B instruments do not respond to the *IDN? command. I would try a simple comman like open and close the module output relay to test your ability to talk to the instrument. You should be able to here the relay operate.
Bob