Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 4156B Static Current Measurement

Hello, would anyone help me out on this vi roadblock that I am encountering for Agilent 4156B. I am new to this labview programming.

 

I cannot figure out how to display the graph of the static current vs VAR1 voltage. I downloaded the Example code from NI and tried modifying some for auto-testing our products.

 

Whenever I ran the vi, it will not display the static current graph(V3 versus I4) and gives me an NaN results. See attached screen capture.

However, if I use the same setup(set by the vi) on the equipment itself (LOCAL), then static Icc graph is displayed with no issue.

 

How anyone have success displaying the static current using sweep mode on Agilent 4156B before?

 

 

thanks...

 

 

0 Kudos
Message 1 of 2
(3,257 Views)

Hi Needz,

 

I took a look at the driver you are using and noticed that the 415X driver lists support for the 4156A but not for the 4156B. I do not know what the differences are between the A and B models, but there is a possibility that that difference is causing the NaN that you are seeing. Here is the 4156B driver page which specifically lists support for your model.

 

As a first step, I would suggest debugging your code by setting a breakpoint and stepping though it. You can also place probes on wires so that you can tell what the value on each wire is. By doing this, you should be able to determine at what point you are getting an unexpected value, and should be able address the problem there.

 

Have a great weekend!

 

John M

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(3,217 Views)