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/26 23:49] Michael Radunskyslice:dhv:api [2020/05/27 00:47] – [Set Source of Modulation Signal for CH 2: MODEB] Michael Radunsky
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? ====
  
-==== Query Response to Trigger In: TRIGIN====+<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?>.
  
-<function=ICEfunc|0=TRIGIN?&1=I:CHANNEL:1&2=1&-1> +<WRAP center round box 60%><tabcaption trigout?|Possible return values & meaning for TTL high at the Trigger Out> 
-Returns the effect of Trigger In signal on CHANNEL as seen in <tabref trigin?>.+^  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 trigin?|Possible return values & meaning for TRIGIN? command>+<WRAP center round box 60%><tabcaption modea?|Possible return values & meaning MODEA? command>
 ^  Response  ^  Meaning  ^ ^  Response  ^  Meaning  ^
-| 0 |  Trigger In status has no effect on CHANNEL  | +| 0 |  CH 1 accepts its modulation signal from rear-panel SMA connector  | 
-|  High signal on Trigger In enables CHANNEL. Low signal on Trigger In disables CHANNEL  |+257 |  CH 1 accepts its modulation signal from front-panel Input A BNC connector  |
 </tabcaption></WRAP> </tabcaption></WRAP>
  
-  * In the example, CH 1 will respond to a Trigger In signal. +  * In the example, CH 1 accepts its modulation signal from the front-panel Input A
-  * To set the response to Trigger In signal, use [[slice:dhv:api#Set_Response_to_Trigger_In:_TRIGIN|TRIGIN]]+  * To set from where CH 1 accepts 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 Response to Trigger InTRIGIN ====+==== Set Source of Modulation Signal for CH 1MODEA ====
  
-<function=ICEfunc|0=TRIGIN&1=I:CHANNEL:1;I:Selection:1&2=1&-1> +<function=ICEfunc|0=MODEA&1=I:MODE:1:1&2=257&-1> 
-Returns TRIGINfor CHANNEL.+Returns MODEA?
  
-<WRAP center round box 60%><tabcaption trigin|> +<WRAP center round box 60%><tabcaption modea|> 
-^  Selection  ^  Programmed Response to Trigger In  ^ +^  Mode  ^  Location of modulation input for CH 1  ^ 
-| 0 |  CHANNEL will not respond to Trigger In  | +| 0 |  CH 1 accepts modulation signal from rear-panel SMA connector  | 
-| 1 |  High signal on Trigger In enables CHANNEL. Low signal on Trigger In disables CHANNEL  |+| 1 |  CH 1 accepts modulation signal from front-panel Input A BNC connector  |
 </tabcaption></WRAP> </tabcaption></WRAP>
  
-  * In the example, CHANNEL 1 will henceforth respond to Trigger In. +  * In the example, CH 1 will accept a modulation signal from the front-panel Input A BNC 
-  * To query Error Code, use [[slice:dhv:api#Query_Response_to_Trigger_In:_TRIGIN?|TRIGIN?]] command.+  * 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.txt · Last modified: 2023/12/06 20:39 by Christiana Sasser