clser.h Source File |
clser.h
Go to the documentation of this file.
96int clSerialRead(void *serialRef, char *buffer, unsigned int *numBytes, unsigned int serialTimeout);
118int clSerialWrite(void *serialRef, char *buffer, unsigned int *bufferSize, unsigned int serialTimeout);
147int clGetManufacturerInfo(char *manufacturerName, unsigned int *bufferSize, unsigned int *version);
int clSerialWrite(void *serialRef, char *buffer, unsigned int *bufferSize, unsigned int serialTimeout) This function writes the data in the buffer to the serial device referenced by serialRef.... int clFlushPort(void *serialRef) This function discards any bytes that are available in the input buffer. . int clGetNumBytesAvail(void *serialRef, unsigned int *numBytes) This function outputs the number of bytes that are received at the port specified by serialRef but ar... int clGetSerialPortIdentifier(unsigned int serialIndex, char *portID, unsigned int *bufferSize) This function returns a manufacturer-specific identifier for each serial port in your system.... int clSetBaudRate(void *serialRef, unsigned int baudRate) This function sets the baud rate for the serial port of the selected device. . void clSerialClose(void *serialRef) This function closes the serial device and cleans up the resources associated with serialRef.... int clSetPortFeature(void *serialRef, unsigned int feature, unsigned int value) This function allows to activate different enhanced settings. . int clSetFlowControlMode(void *serialRef, void *secondRef, unsigned int flowControl) This function allows to enable asymmetric RTS/CTS hardware flow control. . int clGetNumSerialPorts(unsigned int *numSerialPorts) This function returns the number of serial ports in your system from a specific manufacturer.... int clSerialRead(void *serialRef, char *buffer, unsigned int *numBytes, unsigned int serialTimeout) This function reads numBytes from the serial device referred to by serialRef. . int clGetManufacturerInfo(char *manufacturerName, unsigned int *bufferSize, unsigned int *version) This function returns the name of the frame grabber manufacturer who created the DLL and the version ... int clSetParity(void *serialRef, unsigned int parityOn) This function sets the parity for the serial port of the selected device. . int clGetSupportedBaudRates(void *serialRef, unsigned int *baudRates) This function returns the valid baud rates of the current interface. . int clGetErrorText(int errorCode, char *errorText, unsigned int *errorTextSize) This function converts an error code to error text for display in a dialog box or in a standard I/O w... int clSerialInit(unsigned int serialIndex, void **serialRefPtr) This function initializes the device referred to by serialIndex and returns a pointer to an internal ... |