Sensoray 417 Uživatelský manuál Strana 25

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 37
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 24
Instruction Manual 24
Read Version
This command returns the coprocessor firmware version number, times 100. The version number
is printed on the EPROM device that is plugged into the coprocessor board.
COMMAND: (224), (5), (0)
RESPONSE: (Version_MSB), (Version_LSB)
By means of this command, the host can automatically determine any enhanced coprocessor func-
tions that may be present in future firmware releases.
VB Code Example:
‘******************************************************************
‘ This function returns the coprocessor firmware version number.
‘******************************************************************
Function GetVersion!(BasePort As Integer)
Call SendByte(BasePort, 224)
Call SendByte(BasePort, 5)
Call SendByte(BasePort, 0)
GetVersion = ReadWord(BasePort) / 100.0
End Function
‘******************************************************************
‘ Fetch the coprocessor firmware version number.
‘******************************************************************
Dim Version As Single
Version = GetVersion(BaseAdrs)
Zobrazit stránku 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 36 37

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

Žádné komentáře