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

  • 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 238
MVI-ADM 'C' Programmable Serial Port Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 239 of 342
February 20, 2013
MVIsp_Close
Syntax
int MVIsp_Close(int comport);
Parameters
comport
Port to close
Description
This function is used by an application to release control of the a communications
port. comport must be previously opened with MVIsp_Open.
comport specifies which port is to be closed.
The handshake lines DTR and RTS of the port specified by comport are turned
off by MVIsp_Close.
IMPORTANT: After the API has been opened, this function should always be called before exiting
the application.
Return Value
MVI_SUCCESS
port was closed successfully
MVI_ERR_NOACCESS
comport has not been opened
Example
MVIsp_Close(COM1);
See Also
MVIsp_Open (page 235)
Vue de la page 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 341 342

Commentaires sur ces manuels

Pas de commentaire