Quantum Data 801GF Especificaciones Pagina 7

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 40
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 6
Publication # 68-00155 (Rev: B 26-JULY-95) Page 7
Board Init
Declare Function board_init Lib “hia.dll” (Comm_Data as COMM_DATA_TYPE, ByVal cmd as String, ByVal
response as String) as Integer
Board Init returns the ISA generator to all factory default settings. ALL user-created data stored in non-volatile
memory is erased and a self calibration cycle is performed. This command may take a little longer to complete than
the other commands, please be patient. To call this external function use the following syntax:
Answer = port_init (comm_data, response)
‘Analyze the error if one occurred
If Answer <> 0 then
PortConnect_Error (Answer)
Else
pnlStatus.Caption = “The generator is being initialized. Please Wait.”
End If
Error Messages
If an error occurred while communicating with the ISA generator, the external function in the DLL will respond with
an error value.
0. - Communication was successful.
1. - Incorrect ISA port. Valid ISA ports are 0-7.
2. - ISA port hardware is missing.
3. - Incorrect com port. Valid com ports are 1-4
4. - Com port hardware is missing
5. - Problem making connection.
6. - Abort - slow echo.
7. - Abort - wrong character echoed.
8. - Abort - bad command echoed.
9. - Abort - user quit.
10. - Invalid command sent to the video generator.
11. - Execution error. Could not execute the command downloaded.
12. - Abort - unknown port error.
13. - Board hung. Could not establish communication.
For More Information
For more information on Visual Basic and DLLs please access the Microsoft Development Library under Technical
Articles:Visual Basic.
Vista de pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 39 40

Comentarios a estos manuales

Sin comentarios