Sensoray 2410 API Manuale Utente Pagina 17

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 39
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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.
Vedere la pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 38 39

Commenti su questo manuale

Nessun commento