slice:dhv:api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
slice:dhv:api [2020/05/30 00:26] – Michael Radunsky | slice:dhv:api [2023/11/30 21:29] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 23: | Line 23: | ||
^ Stop Bits | ^ Stop Bits | ||
^ Flow Control | ^ Flow Control | ||
- | |||
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. | ||
- | < | + | < |
</ | </ | ||
Line 48: | Line 47: | ||
---- | ---- | ||
==== Obtain System Controller firmware version: # | ==== Obtain System Controller firmware version: # | ||
- | < | + | < |
Returns firmware version of System Controller. | Returns firmware version of System Controller. | ||
---- | ---- | ||
==== Reset System to Factory default: _FACTORY ==== | ==== Reset System to Factory default: _FACTORY ==== | ||
- | < | + | < |
Restores " | Restores " | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
Line 59: | Line 58: | ||
---- | ---- | ||
==== Save current configuration in non-volatile memory: SAVE ==== | ==== Save current configuration in non-volatile memory: SAVE ==== | ||
- | < | + | < |
Saves " | Saves " | ||
__Slot Number__\\ | __Slot Number__\\ | ||
Line 72: | Line 71: | ||
==== SCPI device information: | ==== SCPI device information: | ||
- | <WRAP center round important 100%> | + | <WRAP center round important 100%> |
- | < | + | < |
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 86: | Line 85: | ||
==== Query Output Voltage Maximum: VLIM? ==== | ==== Query Output Voltage Maximum: VLIM? ==== | ||
- | < | + | < |
Returns maximum output in Volts for CHANNEL. | Returns maximum output in Volts for CHANNEL. | ||
Line 96: | Line 95: | ||
==== Set Output Voltage Maximum: VLIM ==== | ==== Set Output Voltage Maximum: VLIM ==== | ||
- | < | + | < |
Sets the maximum output in Volts for CHANNEL. | Sets the maximum output in Volts for CHANNEL. | ||
Line 107: | Line 106: | ||
==== Query Operation Mode: CONTROL? ==== | ==== Query Operation Mode: CONTROL? ==== | ||
- | < | + | < |
Returns the enumerated modulation mode and status for CHANNEL. | Returns the enumerated modulation mode and status for CHANNEL. | ||
Where: \\ | Where: \\ | ||
Line 123: | Line 122: | ||
==== Set Operation Mode: CONTROL ==== | ==== Set Operation Mode: CONTROL ==== | ||
- | < | + | < |
Sets the enumerated modulation mode and status for CHANNEL. | Sets the enumerated modulation mode and status for CHANNEL. | ||
Where: \\ | Where: \\ | ||
Line 142: | Line 141: | ||
==== Query DC Bias: DCBIASV? ==== | ==== Query DC Bias: DCBIASV? ==== | ||
- | < | + | < |
Returns V< | Returns V< | ||
Line 153: | Line 152: | ||
==== Set DC Bias: DCBIASV ==== | ==== Set DC Bias: DCBIASV ==== | ||
- | < | + | < |
Returns [[slice: | Returns [[slice: | ||
Line 165: | Line 164: | ||
==== Query Output Voltage: OUTVOLT? ==== | ==== Query Output Voltage: OUTVOLT? ==== | ||
- | < | + | < |
Returns V< | Returns V< | ||
Line 175: | Line 174: | ||
==== Query Range of Voltage Sweep: RANGEV? ==== | ==== Query Range of Voltage Sweep: RANGEV? ==== | ||
- | < | + | < |
Returns Range of the Sweep in Volts for CHANNEL. | Returns Range of the Sweep in Volts for CHANNEL. | ||
Line 187: | Line 186: | ||
==== Set Range of Voltage Sweep: RANGEV ==== | ==== Set Range of Voltage Sweep: RANGEV ==== | ||
- | < | + | < |
Sets Range of the Sweep in Volts for CHANNEL. | Sets Range of the Sweep in Volts for CHANNEL. | ||
Line 199: | Line 198: | ||
==== Query Repetition Rate of Voltage Sweep: SWEEPRT? ==== | ==== Query Repetition Rate of Voltage Sweep: SWEEPRT? ==== | ||
- | < | + | < |
Returns Repetition Rate of the Sweep in Hertz for CHANNEL. | Returns Repetition Rate of the Sweep in Hertz for CHANNEL. | ||
Line 209: | Line 208: | ||
==== Set Repetition Rate of Voltage Sweep: SWEEPRT ==== | ==== Set Repetition Rate of Voltage Sweep: SWEEPRT ==== | ||
- | < | + | < |
Sets CHANNEL Sweep Repetition Rate to Rep_Rate (in Hertz). | Sets CHANNEL Sweep Repetition Rate to Rep_Rate (in Hertz). | ||
Line 220: | Line 219: | ||
==== Query Sweep Mode: SWEEPMD? ==== | ==== Query Sweep Mode: SWEEPMD? ==== | ||
- | < | + | < |
Returns the enumerated Current Sweep Mode for CHANNEL. | Returns the enumerated Current Sweep Mode for CHANNEL. | ||
Line 236: | Line 235: | ||
==== Set Sweep Mode: SWEEPMD ==== | ==== Set Sweep Mode: SWEEPMD ==== | ||
- | < | + | < |
Returns SWEEPMD? for CHANNEL. | Returns SWEEPMD? for CHANNEL. | ||
Line 252: | Line 251: | ||
==== Query Repetition Rate of Voltage Sweep: SWEEPRT? ==== | ==== Query Repetition Rate of Voltage Sweep: SWEEPRT? ==== | ||
- | < | + | < |
Returns Repetition Rate of the Sweep in Hertz for CHANNEL. | Returns Repetition Rate of the Sweep in Hertz for CHANNEL. | ||
Line 262: | Line 261: | ||
==== Set Repetition Rate of Voltage Sweep: SWEEPRT ==== | ==== Set Repetition Rate of Voltage Sweep: SWEEPRT ==== | ||
- | < | + | < |
Sets CHANNEL Sweep Repetition Rate to Rep_Rate (in Hertz). | Sets CHANNEL Sweep Repetition Rate to Rep_Rate (in Hertz). | ||
Line 273: | Line 272: | ||
==== Query Sweep Mode: SWEEPMD? ==== | ==== Query Sweep Mode: SWEEPMD? ==== | ||
- | < | + | < |
Returns the enumerated Current Sweep Mode for CHANNEL. | Returns the enumerated Current Sweep Mode for CHANNEL. | ||
Line 289: | Line 288: | ||
==== Set Sweep Mode: SWEEPMD ==== | ==== Set Sweep Mode: SWEEPMD ==== | ||
- | < | + | < |
Returns SWEEPMD? for CHANNEL. | Returns SWEEPMD? for CHANNEL. | ||
Line 305: | Line 304: | ||
==== Query Error Code: ERROR? ==== | ==== Query Error Code: ERROR? ==== | ||
- | < | + | < |
Returns the Error Code for CHANNEL. | Returns the Error Code for CHANNEL. | ||
Line 321: | Line 320: | ||
==== Clear Error Code: Error ==== | ==== Clear Error Code: Error ==== | ||
- | < | + | < |
Returns ERROR? for CHANNEL. | Returns ERROR? for CHANNEL. | ||
Line 337: | Line 336: | ||
==== Query Response to Trigger In: TRIGIN? ==== | ==== Query Response to Trigger In: TRIGIN? ==== | ||
- | < | + | < |
Returns the effect of Trigger In signal on CHANNEL as seen in <tabref trigin?> | Returns the effect of Trigger In signal on CHANNEL as seen in <tabref trigin?> | ||
Line 353: | Line 352: | ||
==== Set Response to Trigger In: TRIGIN ==== | ==== Set Response to Trigger In: TRIGIN ==== | ||
- | < | + | < |
Returns TRIGIN? for CHANNEL. | Returns TRIGIN? for CHANNEL. | ||
Line 369: | Line 368: | ||
==== Query Trigger Out Meaning: TRIGOUT? ==== | ==== Query Trigger Out Meaning: TRIGOUT? ==== | ||
- | < | + | < |
Returns the meaning of the Trigger Out signal with respect to CHANNEL as seen in <tabref trigout?> | Returns the meaning of the Trigger Out signal with respect to CHANNEL as seen in <tabref trigout?> | ||
Line 385: | Line 384: | ||
==== Set Trigger Out: TRIGOUT ==== | ==== Set Trigger Out: TRIGOUT ==== | ||
- | < | + | < |
Returns TRIGOUT? for CHANNEL. | Returns TRIGOUT? for CHANNEL. | ||
Line 402: | Line 401: | ||
==== Query Source of Modulation Signal for CH 1: MODEA? ==== | ==== Query Source of Modulation Signal for CH 1: MODEA? ==== | ||
- | < | + | < |
Returns from where CH 1 receives modulation control as seen in <tabref modea?>. | Returns from where CH 1 receives modulation control as seen in <tabref modea?>. | ||
Line 419: | Line 418: | ||
==== Set Source of Modulation Signal for CH 1: MODEA ==== | ==== Set Source of Modulation Signal for CH 1: MODEA ==== | ||
- | < | + | < |
Returns MODEA? | Returns MODEA? | ||
Line 435: | Line 434: | ||
==== Query Source of Modulation Signal for CH 2: MODEB? ==== | ==== Query Source of Modulation Signal for CH 2: MODEB? ==== | ||
- | < | + | < |
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 452: | Line 451: | ||
==== Set Source of Modulation Signal for CH 2: MODEB ==== | ==== Set Source of Modulation Signal for CH 2: MODEB ==== | ||
- | < | + | < |
Returns MODEB? | Returns MODEB? | ||
Line 468: | Line 467: | ||
==== Query Signal Delivered to Front-Panel Output 1: MODE1? ==== | ==== Query Signal Delivered to Front-Panel Output 1: MODE1? ==== | ||
- | < | + | < |
Returns identity of signal delivered to front-panel Output 1 according to <tabref mode1?>. | Returns identity of signal delivered to front-panel Output 1 according to <tabref mode1?>. | ||
Line 485: | Line 484: | ||
==== Set Signal Delivered to Front-Panel Output 1: MODE1 ==== | ==== Set Signal Delivered to Front-Panel Output 1: MODE1 ==== | ||
- | < | + | < |
Returns MODE1? | Returns MODE1? | ||
<WRAP center round box 60%>< | <WRAP center round box 60%>< | ||
- | ^ Mode ^ | + | ^ Mode ^ |
| 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 500: | Line 499: | ||
---- | ---- | ||
- | ==== Query Signal Delivered to Front-Panel Output | + | ==== Query Signal Delivered to Front-Panel Output |
- | < | + | < |
- | Returns identity of signal delivered to front-panel Output | + | Returns identity of signal delivered to front-panel Output |
- | <WRAP center round box 60%>< | + | <WRAP center round box 60%>< |
^ Response | ^ Response | ||
- | | 0 | Front-panel Output | + | | 0 | Front-panel Output |
- | | 257 | Front-panel Output | + | | 513 | Front-panel Output |
</ | </ | ||
- | * In the example, front-panel | + | * In the example, front-panel |
- | * V< | + | * V< |
- | * To set what signal is delivered to front-panel Output | + | * To set what signal is delivered to front-panel Output |
---- | ---- | ||
- | ==== Set Signal Delivered to Front-Panel Output | + | ==== Set Signal Delivered to Front-Panel Output |
- | < | + | < |
- | Returns | + | Returns |
- | <WRAP center round box 60%>< | + | <WRAP center round box 60%>< |
- | ^ Mode ^ | + | ^ Mode ^ |
- | | 0 | Sets signal at front-panel Output | + | | 0 | Sets signal at front-panel Output |
- | | 1 | Sets signal at front-panel Output | + | | 1 | Sets signal at front-panel Output |
</ | </ | ||
- | * In the example, front-panel Output | + | * In the example, front-panel Output |
- | * V< | + | * V< |
- | * To query the signal delivered to the front-panel Output | + | * To query the signal delivered to the front-panel Output |
---- | ---- | ||
slice/dhv/api.txt · Last modified: 2023/12/06 20:39 by Christiana Sasser