LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HPp10158

Hello
 
I have some troubles using the high voltage power supply HPp10158 from ET System Electronics GmbH.
 
I use the SCPI-Commands in a Program written with LabVIEW 8.0 to control the supply.
EOT End of Termination is LineFeed.
As GPIB-Controller I use an Agilent GPIB-Card 82350A.
I wait 1s between the commands.
I write the complete command, for example: :VOLTage 0.800kV to set the Output to 800V.
The Output of the supply is always ON.
 
a typical test sequence is:
1. set voltage to a level e.g. 600V
 
2. measure the voltage
3. measure the current
 
Sometimes the supply doesn't execute the desired operation, e.g. the voltage remains on the same level as before
or the current can't be measured because the supply is still in voltage measure mode.
 
Has anybody seen a problem like that and found a solution? Thanks a lot for any suggestions!
Silvio
 
0 Kudos
Message 1 of 4
(3,171 Views)
What functions are you using to do the writes? Is it VISA or Agilent low level gpib? How are you setting the EOT character and are you sure you need to do this? Instruments that comply to 448.2 don't typically have LF.
0 Kudos
Message 2 of 4
(3,167 Views)

We use the VISA functions.

The description in the manual of the supply is to use LF as EOT.

In the Test Program version before we didn't use this, but we had the same problem.

In the attachment you see an example for a command.

 

 

0 Kudos
Message 3 of 4
(3,159 Views)
I don't see anything wrong with your code, though I'm going to assume that the SCPI syntax is correct. The 'age' part of the the 'VOLTage" command is optional and you can drop that but it shouldn't make a difference. If you can signle step through your program and pause it when the instrument fails to accept a command, you could try issuing the error query to it. Maybe it will respond with some sort of explanation. You might try running NI-SPY to get a capture of the bus traffic. Maybe the vendor can look at it to see if there is something wrong with the commands you send.
0 Kudos
Message 4 of 4
(3,154 Views)