Siemens SIMATIC RF1060R Manuel d'utilisation - Page 12
Parcourez en ligne ou téléchargez le pdf Manuel d'utilisation pour {nom_de_la_catégorie} Siemens SIMATIC RF1060R. Siemens SIMATIC RF1060R 30 pages. Simatic ident
Programming interface
4.1 The functions of the DLL
Function call
int
brp_open_usb_session(
int * Handle,
DWORD ProductID
);
Description of the parameters
Parameter
brp_open_usb_session
Return value
4.1.2
brp_close_session
This function terminates an existing USB connection that was established earlier.
Function call
int
brp_close_session(
);
Description of the parameters
Parameter
brp_close_session
Return value
12
Description
The parameter opens a connection to the reader via USB
Handle
Session key initialized by this function.
ProductID
The product ID of the device to be connected.
•
•
•
•
•
•
You will find more information on return values in the section "Return val-
ues (Page 18)".
int Handle
Description
This parameter terminates a connection.
Handle
The session key returned by the function "brp_open_usb_session()".
•
•
You will find more information on return values in the section "Return values
(Page 18)".
BRP_OK
BRP_ERR_BUSY
BRP_ERR_GENERAL_IO
BRP_ERR_BUFFER_OVERFLOW
BRP_ERR_NO_MORE_HANDLES
BRP_ERR_INSUFFICIENT_MEM
BRP_OK
BRP_ERR_WRONG_HANDLE
Operating Instructions, 05/2017, C79000-G8976-C432-02
SIMATIC RF1060R