Agilent Technologies L4400 Guide de l'utilisateur Page 143

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 281
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 142
L4437A General Purpose Switch 6
L4400 User’s Guide 131
L4437A Example Program Segments
The following sections contain example program segments of commonly
used instrument functions.
The channel addressing scheme used in these segments follow the form
1ccc where ccc is the channel number.
For detailed example programs involving multiple drivers and
development environments, refer to the L4400 Product Reference
CD- ROM (p/n 34989- 13601).
Opening and Closing Channels
Example: Closing and opening channels The first two commands close
channel 3, then channel 5. The last command opens both channel 3 and
channel 5.
ROUTe:CLOSe (@1003)
ROUTe:CLOSe (@1005)
ROUTe:OPEN (@1003,1005)
Example: Querying channels for open or close state The following command
returns a 1 (true) or 0 (false) state of channel 016.
ROUTe:CLOSe (@1016)
ROUTe:CLOSe? (@1016) !Returns a 1
ROUTe:OPEN? (@1016) !Returns a 0
Reading Jumper State and System Identity
Example: Querying the power-failure state of 5 A relays The following
command returns the position of the power- fail jumper, either “MAIN”
(all relays maintain their present state when power fails) or “OPEN” (all
relays open when power fails). If this command is sent to a module other
than the L4437A, “NONE” is returned (no error is generated).
SYSTem:MODule:PFAil:JUMPer:AMP5? 1
Example: Querying the system for module identify The following command
returns the identify of the instrument.
SYSTem:CTYPe? 1
Reading Cycle Count and Resetting Modules to Power-On State
Example: Reading the cycle count for a relay The following command
returns the relay cycle count on channel 7 and channel 16.
DIAGnostic:RELay:CYCLes? (@1007,1016)
Vue de la page 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 280 281

Commentaires sur ces manuels

Pas de commentaire