Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 258

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 257
Serial Port Library Functions MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 258 of 342 ProSoft Technology, Inc.
February 20, 2013
MVI_ERR_BADPARAM
invalid pointer
MVI_ERR_TIMEOUT
timeout elapsed before bytes retrieved
Example
BYTE str[10];
int nn;
nn = 10;
if (MVIsp_Gets(COM1, &str[0], '\r', &nn, 1000L) == MVI_SUCCESS)
printf("%d bytes were received\n",nn);
See Also
MVIsp_Getch (page 252)
MVIsp_Puts (page 253)
MVIsp_PutData (page 255)
Vue de la page 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 341 342

Commentaires sur ces manuels

Pas de commentaire