next up previous contents
Next: D0 Up: Detailed Description of Commands Previous: CWT   Contents

CYC

Requests/sets the number of cycles that the A/D system will integrate during the course of one measurement.
Mnemonic:

CYCles
Syntax:

CYC [value]
value: The new number of cycles to integrate. See Remarks for acceptable range of values.
Return values:
Success:
CYC 1, value
Failure:
CYC 0, err_msg
value: The new or current number of cycles that will be integrated in subsequent measurements.
err_msg: Should the command fail, this value will be an error message string, explaining the cause of failure. CYC may fail if:
  • The parameter value is non-numeric.
  • The parameter value contains a value that is outside the range permitted by the ZY's phase system.
Remarks:

The parameter value must be 1 or greater, but not so large that $(cycles)\times (samples-per-cycle)$ exceeds 65536. If value is outside of this range, then the ZY will return an error message.
Example:
     send: CYC 32
  receive: CYC 1, 32

     send: CYC
  receive: CYC 1, 32

  Typical sequence:

           SFQ 64   ; sets the number of samples/cycle to 64.
           CYC 128  ; O.K., cyclesXsamples-per-cycle = 8192.

  Error sequence:

           SFQ 64   ; sets the number of samples/cycle to 64.
           CYC 1200 ; Error! Total number of samples = 76800.
See also:

IFF, SFQ

next up previous contents
Next: D0 Up: Detailed Description of Commands Previous: CWT   Contents
Ramon E. Creager 2002-03-11