Prosoft-technology MVI69-ADM Manual de usuario Pagina 239

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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)
Vista de pagina 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 341 342

Comentarios a estos manuales

Sin comentarios