Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 4156 new plug-and-play driver (Pulse-setup problem)

Solved!
Go to solution

Hello, I am new to Labview and just started using the Agilent 4156 new plug-and-play driver released on 12/02/2008. I am first trying to setup STRESS conditions using this project. While I am able to setup most things that I need, I am unable to set the Pulse Peak Value using the 'Configure Pulse.vi' program. The readme for the driver mentions that this program has not been tested. The Error message is as follows:

Instrument reports:
+181,"Illegal setup. Invalid command."
-113,"Undefined header"
+0,"No error"

 

Can somebody help me with this problem?

 

Thanks.

0 Kudos
Message 1 of 4
(4,249 Views)

Hello,

      What revision of instrument and instrument firmware are you using?  According to the readme for the instrument driver, only the 4156C is supported.  Are any of the other VIs causing errors?  Please only use the minimum amount of code that reproduces the issue and take a NI Spy capture in .spy format of the errors occuring and post it to this thread.  You can also try changing the command(s) based on the programming manual and see if you can resolve the error yourself.  If you do this, please make sure to post the correction, so that the instrument driver can be updated.

 

Thank you,

 

NathanT

0 Kudos
Message 2 of 4
(4,225 Views)
Solution
Accepted by Labview Noob
Thanks for your response.

I think I have fixed the problem. There were syntax errors in the 'Configure Pulse.vi' (PUL was used instead of PULS in two places). It is now able to set base and peak value.

In addition to this, the way the vi is designed, it will always give an error because it tries to set both 'Source' voltage (only possible when a PGU is of type V) and 'Base'/'Peak' voltages (only possible when the PGU is of type VPULSE). I removed the parts that I did not need.

FYI, I am using an Agilent 4156C. From the config screen, the CPU revision is 1 and the Software Revision is (HOSTC 03.06, SMUC 04.07, ADC 01.00).

 

 

0 Kudos
Message 3 of 4
(4,206 Views)

Hello, 

 

We are making changes to the Agilent 4156 driver now. When you say " I removed the parts that I did not need" I take it that you're still referring to the Configure Pulse VI. Could you please explain which of the two cases in the case structure you were talking about, and what parts you removed? 

 

If you can provide any other information about the error you were seeing and what your solution was for it, please let us know.  

 

Thank you,

Sumita 

0 Kudos
Message 4 of 4
(3,832 Views)