Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 4156C Sampling Measurements

I am currently using an Agilent 4156C Parameter Analyzer in conjunction with a  Princeton Instruments Spectra Pro 2500i in a LabVIEW vi which allows me to measure photocurrent of my device vs wavelength of light. In order to do this, I have a piece of code that coordinates the following process: Adjust wavelength of light, measure photocurrent, and read measurement data. This was done using the set of sub vi's provided by Agilent. 

 

Problem:

 

After 20 iterations there is an error -1074000000: 

Possible reasons:

Instrument Reports: "+17 unable to display data. Not enough memory"

 

I have taken over 100 sets of data in sweep measurement mode so I doubt that the machine is actually running out of memory. It could be a different case now that it is in sampling mode. I am taking 100 samples per measurement iteration.

 

Solution?

 

I am not sure if there is something wrong with the way I am iterating this process or if it is actually a limitation of the 4156C I am using. The only thing I could think of for a solution would be to somehow clear the measurement data in the 4156C. Is there a way to do this through LabVIEW code? I do not see a sub vi provided by agilent which can do this. I also do not want to restart the device to accomplish this.

 

My vi is attached along with the heirarchy required to run it. Sorry, it is a bit messy.

 

Any help would be GREATLY appreciated! I am very new to LabVIEW and could use some guidance.

 

Thank you.

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

Hello,

 

I looked into the issue a bit and the error you are getting is an Agilent error being outputed by the instrument. You may have hit the limit of the device. I am not familar with the device, so I do not have that much insight to this specific error. Here is a link to the manual for the device it may be handy.

 

http://cp.literature.agilent.com/litweb/pdf/04156-90090.pdf

 

Eric

Eric Liauw
Senior AE Specialist - Automated Test | CLD | CTA
National Instruments
0 Kudos
Message 2 of 2
(3,380 Views)