Sensoray 118 Manual do Utilizador Página 17

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 38
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 16
Sensoray Model 118 Smart A/D™ Instruction Manual 15 Commands: Board Configuration
6.1.2 GetFWVersion
Returns the Smart A/D firmware version number, times
100. The version number is printed on the EPROM
device that is plugged into the Smart A/D board.
This can be used to automatically determine if enhanced
functions, which may only be implemented in specific
firmware releases, are available.
Driver
// Return the firmware version number from a Smart A/D board.
DOUBLE GetFWVersion( USHORT BasePort )
{
SendByte( BasePort, CMD_EXTENDED );
SendByte( BasePort, XCMD_GET_VERSION );
SendByte( BasePort, 0 );
return (DOUBLE) ReadWord( BasePort ) * 0.01;
}
Example
// Get a board’s firmware version number.
DOUBLE MyFWVersion = GetFWVersion( MyBasePort );
Command: (240),(5),(0)
Response: (VersionMSB),(VersionLSB)
Vista de página 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 37 38

Comentários a estes Manuais

Sem comentários