LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview for HP-4145B: confused about storing data

Solved!
Go to solution

Hello everyone, I am new to the Labview and also this forum. 

 

I'm trying to control my old HP-4145B(Semiconductor parameter analyzer), and I could easily control my machine with the driver which is uploaded at NI site (https://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1765).

But, I don't know how to store the value I got. I can't see the storing block.

 

 Additionally I can display the graph to 4145B's CRT, but I can't display it through computer's monitor.

 

If anyone who has the idea, please help me.

Download All
0 Kudos
Message 1 of 10
(3,081 Views)

what steps have you done to store the data that does not work ? Can you share your code so far ? 

0 Kudos
Message 2 of 10
(3,054 Views)

I didnt use code, just driver from link I post

0 Kudos
Message 3 of 10
(3,051 Views)

The driver I used as a example of 4145B is like this

nanolab_1-1722957907224.png

nanolab_2-1722957921315.png

nanolab_3-1722957949151.png

If anyone knows how to get a data from this driver, please help me. 

I'm spending really hard time because of this old machine..

 

0 Kudos
Message 4 of 10
(3,029 Views)

Hello everyone I'm new member of this community and Labview.

Nowadays, I'm really struggling with this topic. I connected HP-4145B and my PC with GPIB cable.

I succeeded in controlling it with the driver from NI site(https://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1765),

but I can't find how to get a data from HP-4145B.

 

If anyone knows how to solve this problem, and there're any suggestions you have, please help me. 

I look forward to your kind response. 

nanolab_0-1723021126601.png

nanolab_1-1723021323153.png

 

0 Kudos
Message 5 of 10
(3,003 Views)
Solution
Accepted by nanolab

Hi nanolab,

 


@nanolab wrote:

Hello everyone I'm new member of this community and Labview.


Then you should start with all those Training resources offered at the top of the LabVIEW board!

 


@nanolab wrote:

I succeeded in controlling it with the driver from NI site(https://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1765),

but I can't find how to get a data from HP-4145B.


That driver is old. Very old. More than 30 years old…

And it's ugly code - even when knowing about the limitations of the old LabVIEW version (LabVIEW 3 was released in 1993) used to create that driver!

 

To answer your question:

  • There is an example VI inside the LLB.
  • And inside the example VI there is a subVI to "Display Graphics and Plot", that should display some plot data on the VI frontpanel. So there is your example of "how to get data"…

 

My recommendation:

  • Use the manual of your device to create a completely new driver, using modern functions and programming suggestions.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 10
(2,993 Views)

Thanks GerdW! 

You mean I can't get a data which I measured with 4145B to PC?

0 Kudos
Message 7 of 10
(2,957 Views)

Hi nanolab,

 


@nanolab wrote:

You mean I can't get a data which I measured with 4145B to PC?


Where exactly did you read this "meaning" in my previous message?

 

I mentioned an example VI that shows how to read data from your device: examine this example and learn from it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 10
(2,953 Views)

I'm so sorry I didn't understand that properly. It was not my intention. In fact, I was already checking the graphic plotting part of the front panel, and I thought I was doing something wrong because the instrument was plotting but Labview was not. Thanks for your help.

0 Kudos
Message 9 of 10
(2,948 Views)

In that driver is a VI called "HP 4145b Data Output.vi".  This collect the data from one named channel variable, say V1 for voltage or I1 for current on SMU1.  Note you need to set those names in the measurement, then read them out one at a time.  They are case sensitive and have very limited naming options. 

 

The data you get back is a string and the VI example shows you how to convert it to a double precision array.  Once you have the measurement arrays you can rebuild the graphs as required.  You cannot retrieve an image of what you see on the instrument screen directly.

 

Hope that helps.

Craig

0 Kudos
Message 10 of 10
(2,705 Views)