Sensoray 2255 Manuel d'utilisateur Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 33
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
Returns
Returns negative value on error, 0 if frame not ready, 1 if frame in progress(filling), or 2 if frame is
ready.
S2255_query_buf_ext(HDEVICE hdev, int channel, int frmnum, int *ts);
Queries state of frame with index frmnum.
Parameters
hdev
Handle to device
channel
Channel to check(1-4)
frmnum
Frame index to check (0 to SYS_FRAMES – 1)
ts
pointer to timestamp (valid only if return value is 2—frame ready)
Returns
Returns negative value on error, 0 if frame not ready, 1 if frame in progress(filling), or 2 if frame is
ready.
S2255_query_buf_all(HDEVICE hdev, int channel, int state[SYS_FRAMES], int
ts[SYS_FRAMES]);
Queries state of frame with index frmnum.
Parameters
hdev
Handle to device
channel
Channel to check(1-4)
state
array of frame states
ts
array of frame timestamps (valid only if state for from is 2)
Returns
Returns negative value on error, 0 on success. Frame states are stored in state and timestamps in
ts array.
S2255_get_buffer(HDEVICE hdev, int channel, int frame, char *pdata, int size);
30
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33

Commentaires sur ces manuels

Pas de commentaire