Quantum Composers 9530 Series Manual do Utilizador Página 16

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 25
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 15
16
Command Protocol
All commands have the following syntax:
$<name> <##>CR
where
PP $ indicates a command follows.
PP <name> is the command name. No spaces are allowed between the $ and the <name>. The
name is case sensitive.
PP <##> is an unsigned, integer associated with the command. A space must be inserted between
<name> and <##>.
PP CR is a carriage return character (ASCII value 13).
With echo enabled, all characters sent will be echoed back to the sender.
Unidentified commands and most out of range conditions result in the pulse generator ignoring
the command. If the command is properly identified, the pulse generator returns an ok fol-
lowed by a carriage return and a line feed (ASCII 13, ASCII 10); otherwise it returns a ?1 (a
question mark, followed by the number "one", a carriage return and a line feed). A ?2 is sent
if a valid command is received but the parameter is out of range.
Example - send the following command to set the number of cycles:
$CYCLES 100
The pulse generator will return the following:
Echo Enabled: CYCLES 100<cr><lf>
ok<cr><lf>
Echo Disabled: ok<cr><lf>
Only one command will be processed per message. Commands are not processed until the
carriage return is sent. If an error is made and identified prior to sending the carriage return,
sending a new $ will reset the input buffer and allow a corrected command to be sent.
To determine the current value of a parameter the syntax is:
$<name> ?CR
where name = a valid command name.
Vista de página 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 24 25

Comentários a estes Manuais

Sem comentários