MAIN CONTROL OBJECT
33
3
METHOD OPENNETWORK
PURPOSE
Starts the data collection.
DESCRIPTION
This method allows starting the data collection from base stations. It is necessary to
open the serial line before calling this method, otherwise the control returns an error.
After opening the network the collected data is sent to the application.
IDL
[id(4), helpstring("method OpenNetwork")] HRESULT OpenNetwork();
INPUT PARAMETERS
None
OUTPUT VALUE
None
EXAMPLE
...
‘ Set the serial line and open it
RFNCCTL.CommPort = “COM2”
RFNCCTL.BaudRate = “38400”
RFNCCTL.Timeout = 100
RFNCCTL.OpenLine
RFNCCTL.OpenNetwork
...
Commentaires sur ces manuels