DAQ PCI-FRM01 Manual de usuario Pagina 12

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 12
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 11
Application Note (AN312)
eCARD-FRM11 board API Programming
2005 DAQ system, all rights reserved.
http://www.daqsystem.com
Overview
Digital Input Output APIs
unsigned char DIO_Read (void)
BOOL DIO_Write (unsigned char val)
DIO_Read
Reads from input port
unsigned char DIO_Read (void)
Parameters:
None
Return Value:
If the function succeeds, it returns the port value.
If the function fail, it returns the -1(0xff).
DIO_Write
Writes to output port
BOOL DIO_Write (unsigned char val)
Parameters:
val :
The value to be written to the port.
Return Value:
If the function succeeds, it returns TRUE.
Vista de pagina 11
1 2 ... 7 8 9 10 11 12

Comentarios a estos manuales

Sin comentarios