Measurement-computing Digital488 Uživatelský manuál Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 83
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
Section 3 Command Descriptions
3.5
Configure Cn
Ports 1 thru 5 are configured as inputs or outputs with the
Configure
command.
Each port is eight bits wide. At power-on, all ports are initialized as inputs. The
Configure
command is usually the first command to be sent after power on. All ports
programmed as outputs will be set to a logic zero after receiving the
Configure
command. The actual output level is dependent on the
Invert
command (
I16
)
.
Cn
Mode n (0 thru 5) defines which ports are input and output
Port 5
4 3 2 1
C0
in in in in in
C1
in in in in out
C2
in in in out out
C3
in in out out out
C4
in out out out out
C5
out out out out out
in = programmed as an input port
out = programmed as an output port
Example:
CLEAR 718
reset the
Digital488
OUTPUT 718;"C1X"
select port 1 as output, ports 2 thru 5
as inputs
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 82 83

Komentáře k této Příručce

Žádné komentáře