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 revision Previous revision
Next revision
Previous revision
slice:dhv:api [2020/05/20 12:34]
Michael Radunsky [Set Response to Trigger In: TRIGIN]
slice:dhv:api [2020/05/26 17:47] (current)
Michael Radunsky [Set Source of Modulation Signal for CH 2: MODEB]
Line 363: Line 363:
  
   * In the example, CHANNEL 1 will henceforth respond to Trigger In.   * In the example, CHANNEL 1 will henceforth respond to Trigger In.
-  * To query Error Code, use [[slice:​dhv:​api#​Query_Response_to_Trigger_In:​_TRIGIN?​|TRIGIN?​]] command.+  * To query response to trigger input, use [[slice:​dhv:​api#​Query_Response_to_Trigger_In:​_TRIGIN?​|TRIGIN?​]] command. 
 + 
 +---- 
 + 
 +==== Query Trigger Out Meaning: TRIGOUT? ==== 
 + 
 +<​function=ICEfunc|0=TRIGOUT?&​1=I:​CHANNEL:​1&​2=1&​-1>​ 
 +Returns the meaning of the Trigger Out signal with respect to CHANNEL as seen in <tabref trigout?>​. 
 + 
 +<WRAP center round box 60%><​tabcaption trigout?​|Possible return values & meaning for TTL high at the Trigger Out> 
 +^  Response ​ ^  Meaning ​ ^ 
 +| 0 |  No change in state of the Trigger Out based state of CHANNEL ​ | 
 +| 1 |  The signal at Trigger Out will go high in sync with the ramp on CHANNEL ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, the signal at Trigger Out will go high in sync with the ramp on CH 1. 
 +  * To set the meaning of the Trigger Out signal, use [[slice:​dhv:​api#​Set_Trigger_Out:​_TRIGOUT|TRIGOUT]] 
 + 
 +---- 
 + 
 +==== Set Trigger Out: TRIGOUT ==== 
 + 
 +<​function=ICEfunc|0=TRIGOUT&​1=I:​CHANNEL:​1;​I:​Selection:​1&​2=1&​-1>​ 
 +Returns TRIGOUT? for CHANNEL. 
 + 
 +<WRAP center round box 60%><​tabcaption trigout|>​ 
 +^  Selection ​ ^  Meaning of Trigger Out with respect to CHANNEL ​ ^ 
 +| 0 |  Trigger out is unresponsive to state of CHANNEL ​ | 
 +| 1 |  A TTL high signal at Trigger Out will be in sync with ramp of CHANNEL ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, Trigger Out will go high in sync with ramp on CH 1  
 +  * To query Trigger Out meaning, use [[slice:​dhv:​api#​Query_Trigger_Out_Meaning:​_TRIGOUT?​|TRIGOUT?​]] command 
 +  * Setting the Trigger Out to be in sync with CH 1 removes Trigger Out's synchronicity with CH 2 & vice versa 
 + 
 +---- 
 + 
 +==== Query Source of Modulation Signal for CH 1: MODEA? ==== 
 + 
 +<​function=ICEfunc|0=MODEA?&​1&​2=257&​-1>​ 
 +Returns from where CH 1 receives modulation control as seen in <tabref modea?>​. 
 + 
 +<WRAP center round box 60%><​tabcaption modea?​|Possible return values & meaning MODEA? command>​ 
 +^  Response ​ ^  Meaning ​ ^ 
 +| 0 |  CH 1 accepts its modulation signal from rear-panel SMA connector ​ | 
 +| 257 |  CH 1 accepts its modulation signal from front-panel Input A BNC connector ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, CH 1 accepts its modulation signal from the front-panel Input A. 
 +  * To set from where CH 1 accepts a modulation signal, use [[slice:​dhv:​api#​Set_Source_of_Modulation_Signal_for_CH_1:​_MODEA|MODEA]] 
 +  * Only one modulation source may be active at a time 
 + 
 +---- 
 + 
 +==== Set Source of Modulation Signal for CH 1: MODEA ==== 
 + 
 +<​function=ICEfunc|0=MODEA&​1=I:​MODE:​1:​1&​2=257&​-1>​ 
 +Returns MODEA? 
 + 
 +<WRAP center round box 60%><​tabcaption modea|>​ 
 +^  Mode  ^  Location of modulation input for CH 1  ^ 
 +| 0 |  CH 1 accepts modulation signal from rear-panel SMA connector ​ | 
 +| 1 |  CH 1 accepts modulation signal from front-panel Input A BNC connector ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, CH 1 will accept a modulation signal from the front-panel Input A BNC 
 +  * To query the modulation source for CH 1, use [[slice:​dhv:​api#​Query_Source_of_Modulation_Signal_for_CH_1:​_MODEA?​|MODEA?​]] command 
 + 
 +---- 
 + 
 + 
 +==== Query Source of Modulation Signal for CH 2: MODEB? ==== 
 + 
 +<​function=ICEfunc|0=MODEB?&​1&​2=257&​-1>​ 
 +Returns from where CH 2 receives modulation control as seen in <tabref modeb?>​. 
 + 
 +<WRAP center round box 60%><​tabcaption modeb?​|Possible return values & meaning MODEB? command>​ 
 +^  Response ​ ^  Meaning ​ ^ 
 +| 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 ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, CH 2 accepts its modulation signal from the front-panel Input B. 
 +  * To set from where CH B accepts a modulation signal, use [[slice:​dhv:​api#​Set_Source_of_Modulation_Signal_for_CH_2:​_MODEB|MODEB]] 
 +  * Only one modulation source may be active at a time 
 + 
 +---- 
 + 
 +==== Set Source of Modulation Signal for CH 2: MODEB ==== 
 + 
 +<​function=ICEfunc|0=MODEB&​1=I:​MODE:​1:​1&​2=257&​-1>​ 
 +Returns MODEB? 
 + 
 +<WRAP center round box 60%><​tabcaption modea|>​ 
 +^  Mode  ^  Location of modulation input for CH 2  ^ 
 +| 0 |  CH 2 accepts modulation signal from rear-panel SMA connector ​ | 
 +| 1 |  CH 2 accepts modulation signal from front-panel Input B BNC connector ​ | 
 +</​tabcaption></​WRAP>​ 
 + 
 +  * In the example, CH 2 will henceforth accept a modulation signal from the front-panel Input B BNC 
 +  * To query the modulation source for CH 2, use [[slice:​dhv:​api#​Query_Source_of_Modulation_Signal_for_CH_2:​_MODEB?​|MODEB?​]] command
  
 ---- ----
  
slice/dhv/api.1590003251.txt.gz · Last modified: 2020/05/20 12:34 by Michael Radunsky