Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

:SENS1:CORR:COLL:THRU 1,2 don't work for E5071C

Solved!
Go to solution

 

After the execution of :SENS1:CORR:COLL:THRU 1,2, the device does not execute this instruction as it should.

2022-11-16_112115.png

 

2022-11-16_112146.png

 

The following figure shows the correct effect of manually clicking the button.

2022-11-16_112636.png

0 Kudos
Message 1 of 3
(1,528 Views)

Is that a screen shot of the instrument?   Sending SCPI commands might not necessarily show as updated on the running software.  Some instruments require a completely different operating mode before they listen to SCPI commands.

 

Here's a few things you can try.

 

- Sendi the :SENS1:CORR:COLL:THRU 1,2 and then checking the status with the equivalent query.   :SENS1:CORR:COLL:THRU 1,2?  (not sure that's the exact format, just an example!!). 

- Send other commands, like a PRESET or :READ?  to see if they have any effect on the instrument

 

Hope that helps.

Criag

0 Kudos
Message 2 of 3
(1,474 Views)
Solution
Accepted by topic author FairyXL

I found the solution on a sample document "E5071C to E5080B Code Migration.pdf", and after executing this command, then reversing the parameters to execute one side of this command, it works. Quite strange, but forget it.

 

:SENS1:CORR:COLL:THRU 1,2\n

:SENS1:CORR:COLL:THRU 2,1\n

0 Kudos
Message 3 of 3
(1,448 Views)