Sensoray 2410 API Manual de usuario Pagina 17

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 39
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 16
Sensoray 24xx Programming Guide
13
Module-Independent Functions
5.6.2 s24xx_WriteTimestamp()
Function: Set module’s system time.
Prototype:
BOOL s24xx_WriteTimestamp( SESSION sess, u32 *err, u32 systime );
Returns: True if the operation was successful, otherwise False is returned and
err
will contain the associated error code.
Notes: This function forces a module’s system clock to a desired initial time.
Example:
// Force the system clock to zero.
u32 err = ERR_NONE;
if ( !s24xx_WriteTimestamp( sess, &err, 0 ) )
printf( "Error: %s\n", s24xx_ErrorText(err) );
Argument Description
sess
Session handle obtained from
s24xx_SessionOpen()
.
err
Pointer to error code. See Section 4.3.1 for details.
timestamp
Module’s new system time, in microseconds.
Vista de pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 38 39

Comentarios a estos manuales

Sin comentarios