Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Load setup files on HP4155 thru labview

Hello,

 

I'm working on a program to automate diode testing. I'm trying to use labview and an HP4155C using the GPIB connection to run a V-I measurement and save the data to a spreadsheet. Is there anyway to have labview prompt the 4155 to load it's saved MES files into memory? I currently have the MES files all saved on floppy disk in the 4155 itself. I found a VI for "Get file setup parameter" but I'm not sure how to make it interact with the 4155 to load the MES file.

 

Any help would be greatly appreciated,

 

Konrad

0 Kudos
Message 1 of 8
(4,769 Views)

Is there anyway to have labview prompt the 4155 to load it's saved MES files into memory?

 

The answer to this can be ascertained by reading the programmer's manual if there is one for the 4155.

0 Kudos
Message 2 of 8
(4,767 Views)

I've looked at the programmers guide for the 4155. Unfortunately it only covers other forms of coding the 4155, it doesnt mention anything about interfacing with labview.

0 Kudos
Message 3 of 8
(4,763 Views)

@niedk wrote:

I've looked at the programmers guide for the 4155. Unfortunately it only covers other forms of coding the 4155, it doesnt mention anything about interfacing with labview.


It seems to be that you should start with LabVIEW 101. http://www.ni.com/academic/students/learn/

0 Kudos
Message 4 of 8
(4,761 Views)

I know the SCPI commands for the 4155 itself. I guess I should rephrase my question, do I simply use a VISA write function in labview to send the SCPI command to the 4155 or is there another method that works better?

 

Thanks,

 

Konrad

0 Kudos
Message 5 of 8
(4,722 Views)

Hi Konrad,

 

You will likely want to look over the following document in order to follow the correct procedure for using VISA sessions. However, you are correct that you should be able to simply output the SCPI commands to your 4155 using VISA Write.

 

I hope this helps!

 

Andy C.

Applications Engineer

National Instruments 

Message 6 of 8
(4,707 Views)

Ok thanks. That helped alot. I just had one more question. How can you set a VISA session(Read, write, etc) to be dependent on a button being pressed on the front panel? I know I can do it via the string control button but I would prefer to have a push button that the user would just click that would then link to appropriate string command being activated in the block diagram.

 

Thanks,

 

Konrad

0 Kudos
Message 7 of 8
(4,702 Views)
Therefore you need to write a small program. With an event case you detect the keypress and with a subvi you send the string to the instrument.
If you need more commands you need more push buttons and more subvi's
greetings from the Netherlands
Message 8 of 8
(4,685 Views)