FAQs from Rohde & Schwarz

My HMExplorer script is not running while all commands are OK, why?

Question

I have the following script in HMExplorer to use the ARB function of the HMP.

SEND *RST

SEND INST OUTP1

SEND ARB:CLE

SEND ARB:DATA 5,0,3,5,0.1,3,5,0.2,3,5,0.3,3

SEND ARB:TRAN 1

SEND OUTP ON

SEND ARB:STAR 1

When I send the commands step by step in the SCPI mode it is working.

Why does not work my script in the script mode?

Answer

The script needs a little time between each command for processing.

Please change you script as written below:

SEND *RST

SEND *WAI

SEND INST OUTP1

SEND *WAI

SEND ARB:CLE

SEND *WAI

SEND ARB:DATA 5,0,3,5,0.1,3,5,0.2,3,5,0.3,3

SEND *WAI

SEND ARB:TRAN 1

SEND *WAI

SEND OUTP ON

SEND *WAI

SEND ARB:STAR 1

SEND *WAI