Measurement-computing Digital HS Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
The Digital488HS/32 must be set up with the following switch defaults:
S1-2 Closed 8-bit Output Port Mode
S1-3 Closed NDAC Holdoff Disabled
S1-4-8 Various IEEE 488 Bus Address = 18
S3-6 Open Active High Data
S3-4 Closed Active Low Level oBusy
S3-3 Closed Falling Edge iDAV
S3-8 Closed Active Low oClear
This program is used to transfer the ASCII text file to the Digital488HS/32 using the
IOtech Personal488 Controller package. Connect the Digital488HS/32 to the printer
with the fabricated cable. Enter this simple program and print.
*
* Sample Program - IEEE 488 to Parallel Converter
* Using the IOtech Model Digital488HS/32
* October 22, 1991
*
* Initialize Driver488
10 OPEN "\DEV\IEEEOUT" FOR OUTPUT AS #1
20 IOCTL#1,"BREAK"
30 PRINT#1,"RESET"
40 OPEN "\DEV\IEEEIN" FOR INPUT AS #2
* Open the test file for printing
50 OPEN "TEST.DAT" FOR INPUT AS #3
* Reset the Parallel Printer
60 PRINT#1,"CLEAR08"
* Now output the data from the test file
70 WHILE NOT EOF(3)
80 LINE INPUT#3,A$
90 PRINT#1,"OUTPUT08;";A$
100 WEND
110 CLOSE
Vista de pagina 55
1 2 ... 51 52 53 54 55 56

Comentarios a estos manuales

Sin comentarios