Solvline Eddy DK Ver 2.20 Manuel d'utilisateur Page 52

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 51
Chapter 6. Library
Bit6: RI (0:Low, 1:High)
Bit7: DCD (0:Low, 1:High)
Notice
SB_SetRts
Function Controls RTS signal line of the serial port.
Format Void SB_SetRts (int handle, int value);
handle Handle which opened the serial port.
Parameter Value
0: off Set RTS signal to low.
1: on Set RTS signal to high.
Returns None
Notice
SB_SetDtr
Function Controls DTR signal line of the serial port.
Format Void SB_SetDtr (int handle, int value);
handle Handle which opened the serial port.
Parameter Value
0: off Set DTR signal to low.
1: on Set DTR signal to high.
Returns None
Notice
SB_GetDelaySerial
Function
Calculate and return input delay time for three bytes data with given serial
communication speed in msec unit.
Format Void SB_GetDelaySerial (int bps);
Parameter Bps Serial communication speed
Returns int Input delay time
Notice
This function can be used to calculate wait_msec of SB_ReadSerial
function.
When the communication speed is faster than 230400 bps, this function will
return 1 since Eddy’s minimum delay is 1 msec.
6.6 Ethernet functions
These functions deal with the network-related information of Eddy.
These functions are optimized socket API for Eddy, and user can use other API for development by using his or her
6-9
Vue de la page 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 74 75

Commentaires sur ces manuels

Pas de commentaire