Download VNMR 6.1C User Programming
Transcript
Chapter 3. Pulse Sequence Statement Reference – decoupler) or DEC3ch (third decoupler). The step_size phase shift selected is active only for the xmtrphase statement if device is OBSch, only for the dcplrphase statement if device is DECch, only for the dcplr2phase statement if device is DEC2ch, or only for the dcplr3phase statement if the device is DEC3ch. Examples: stepsize(30.0,OBSch); stepsize(step,DEC2ch); Related: Set small-angle phase of first decoupler, rf type C or D Set small-angle phase of second decoupler, rf type C or D Set small-angle phase of third decoupler, rf type C or D Set step size of first decoupler Set step size of second decoupler Set step size of third decoupler Set step size of observe transmitter Set small-angle phase of observe transmitter, rf type C dcplrphase dcplr2phase dcplr3phase decstepsize dec2stepsize dec3stepsize obsstepsize xmtrphase Subtract integer values sub Syntax: sub(vi,vj,vk) codeint vi; codeint vj; codeint vk; /* real-time variable for minuend */ /* real-time variable for subtrahend */ /* real-time variable for difference */ Description: Sets the value of vk equal to vi–vj. Arguments: vi is the integer value of the minuend, vj is the integer value of the subtrahend, and vk is the difference of vi and vj. Each argument must be a real-time variable (v1 to v14, oph, etc.). Examples: sub(v2,v5,v6); Related: add assign dbl decr divn hlv incr mod2 mod4 modn mult Add integer values Assign integer values Double an integer value Decrement an integer value Divide integer values Half the value of an integer Increment an integer value Find integer value modulo 2 Find integer value modulo 4 Find integer value modulo n Multiply integer values T tsadd Add an integer to AP table elements Applicability: All systems except the GEMINI 2000. Syntax: tsadd(table,scalarval,moduloval) codeint table; int scalarval; int moduloval; 01-999165-00 A0800 /* real-time table variable */ /* integer added */ /* modulo value of result */ VNMR 6.1C User Programming 261