User Tools

Site Tools


slice:dhv:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
slice:dhv:api [2020/05/30 00:19] – [Set Signal Delivered to Front-Panel Output 1: MODE1] Michael Radunskyslice:dhv:api [2021/12/15 20:57] – external edit 127.0.0.1
Line 23: Line 23:
 ^ Stop Bits      1     | ^ Stop Bits      1     |
 ^ Flow Control  |  None  | ^ Flow Control  |  None  |
- 
  
 To perform an operation, an ASCII-based text message is first constructed from a command and its arguments, and then the message is transmitted to the SLICE instrument through the COM port. The following rules apply: To perform an operation, an ASCII-based text message is first constructed from a command and its arguments, and then the message is transmitted to the SLICE instrument through the COM port. The following rules apply:
Line 35: Line 34:
   - [Float] refers to a floating point argument that has a decimal point in its value.   - [Float] refers to a floating point argument that has a decimal point in its value.
  
- <WRAP important>Changes effected by issuing a serial command from this API are not permanently stored in non-volatile memory until you issue a SAVE command. Configuration changes without the SAVE command will be lost with power cycling. The Save command stores the entire configuration and so several configuration changes can be implemented and then a single SAVE command could be issued.+ <WRAP round important 100%>Changes effected by issuing a serial command from this API are not permanently stored in non-volatile memory until you issue a SAVE command. Configuration changes without the SAVE command will be lost with power cycling. The Save command stores the entire configuration and so several configuration changes can be implemented and then a single SAVE command could be issued.
  
 </WRAP> </WRAP>
Line 72: Line 71:
 ==== SCPI device information: *IDN? ==== ==== SCPI device information: *IDN? ====
  
-<WRAP center round important 100%>Replace [asterix] with a *</WRAP> +<WRAP center round important 100%>Replace [asterisk] with a *</WRAP> 
-<function=ICEfunc|0=[asterix]IDN?&1=:None;&2=Vescent Photonics, [serial#], S-V1.74, DHV-V1.18&-1>+<function=ICEfunc|0=[asterisk]IDN?&1=:None;&2=Vescent Photonics, [serial#], S-V1.74, DHV-V1.18&-1>
 Returns SCPI device information. Running System Controller firmware version 1.74 and DHV firmware version 1.18. Returns SCPI device information. Running System Controller firmware version 1.74 and DHV firmware version 1.18.
 ---- ----
Line 165: Line 164:
 ==== Query Output Voltage: OUTVOLT? ==== ==== Query Output Voltage: OUTVOLT? ====
  
-<function=ICEfunc|0=OUTVOLT?&1=I:CHANNEL:2&2=123.45689&-1>+<function=ICEfunc|0=OUTVOLT?&1=I:CHANNEL:2&2=123.456789&-1>
 Returns V<sub>out</sub> for CHANNEL. Returns V<sub>out</sub> for CHANNEL.
  
Line 435: Line 434:
 ==== Query Source of Modulation Signal for CH 2: MODEB? ==== ==== Query Source of Modulation Signal for CH 2: MODEB? ====
  
-<function=ICEfunc|0=MODEB?&1&2=257&-1>+<function=ICEfunc|0=MODEB?&1&2=513&-1>
 Returns from where CH 2 receives modulation control as seen in <tabref modeb?>. Returns from where CH 2 receives modulation control as seen in <tabref modeb?>.
  
Line 441: Line 440:
 ^  Response  ^  Meaning  ^ ^  Response  ^  Meaning  ^
 | 0 |  CH 2 accepts its modulation signal from rear-panel SMA connector  | | 0 |  CH 2 accepts its modulation signal from rear-panel SMA connector  |
-257 |  CH 2 accepts its modulation signal from front-panel Input B BNC connector  |+513 |  CH 2 accepts its modulation signal from front-panel Input B BNC connector  |
 </tabcaption></WRAP> </tabcaption></WRAP>
  
Line 452: Line 451:
 ==== Set Source of Modulation Signal for CH 2: MODEB ==== ==== Set Source of Modulation Signal for CH 2: MODEB ====
  
-<function=ICEfunc|0=MODEB&1=I:MODE:1:1&2=257&-1>+<function=ICEfunc|0=MODEB&1=I:MODE:1:1&2=513&-1>
 Returns MODEB? Returns MODEB?
  
Line 489: Line 488:
  
 <WRAP center round box 60%><tabcaption mode1|> <WRAP center round box 60%><tabcaption mode1|>
-^  Mode  ^  Location of modulation input for CH 2  ^+^  Mode  ^  Result  ^
 | 0 |  Sets signal at front-panel Output 1 to no signal  | | 0 |  Sets signal at front-panel Output 1 to no signal  |
 | 1 |  Sets signal at front-panel Output 1 to monitor CH 1 Output  | | 1 |  Sets signal at front-panel Output 1 to monitor CH 1 Output  |
Line 496: Line 495:
   * In the example, front-panel Output 1 will henceforth monitor the CH 1 output   * In the example, front-panel Output 1 will henceforth monitor the CH 1 output
   * V<sub>out</sub> = V<sub>CH 1</sub> ÷ 20   * V<sub>out</sub> = V<sub>CH 1</sub> ÷ 20
-  * To query the modulation source for CH 2, use [[slice:dhv:api#Query Signal Delivered to Front-Panel Output 1: MODE1?|MODE1?]] command+  * To query the signal delivered to the front-panel Output 1, use [[slice:dhv:api#Query Signal Delivered to Front-Panel Output 1: MODE1?|MODE1?]] command
  
 ---- ----
  
 +==== Query Signal Delivered to Front-Panel Output 2: MODE2? ====
 +
 +<function=ICEfunc|0=MODE2?&1&2=513&-1>
 +Returns identity of signal delivered to front-panel Output 2 according to <tabref mode2?>.
 +
 +<WRAP center round box 60%><tabcaption mode2?|Possible return values & meaning MODE2? command>
 +^  Response  ^  Meaning  ^
 +| 0 |  Front-panel Output 2 has no signal  |
 +| 513 |  Front-panel Output 2 monitors CH 2 HV output  |
 +</tabcaption></WRAP>
 +
 +  * In the example, front-panel Output 2 is monitoring CH 2 output 
 +  * V<sub>2</sub> = V<sub>CH 2</sub> ÷ 20
 +  * To set what signal is delivered to front-panel Output 2, use [[slice:dhv:api#Set Signal Delivered to Front-Panel Output 2: MODE2|MODE2]]
 +
 +----
 +
 +==== Set Signal Delivered to Front-Panel Output 2: MODE2 ====
 +
 +<function=ICEfunc|0=MODE2&1=I:Mode:1:1&2=513&-1>
 +Returns MODE2?
 +
 +<WRAP center round box 60%><tabcaption mode2|>
 +^  Mode  ^  Result  ^
 +| 0 |  Sets signal at front-panel Output 2 to no signal  |
 +| 1 |  Sets signal at front-panel Output 2 to monitor CH 2 Output  |
 +</tabcaption></WRAP>
 +
 +  * In the example, front-panel Output 2 will henceforth monitor the CH 2 output
 +  * V<sub>out</sub> = V<sub>CH 2</sub> ÷ 20
 +  * To query the signal delivered to the front-panel Output 2, use [[slice:dhv:api#Query Signal Delivered to Front-Panel Output 2: MODE2?|MODE2?]] command
 +
 +----
  
slice/dhv/api.txt · Last modified: 2023/12/06 20:39 by Christiana Sasser