Installation manual

STAR-LINK™
26
3
METHOD CLOSENETWORK
PURPOSE
Stops the data collection.
DESCRIPTION
This method allows stopping the data collection from base stations. It is necessary to
close the network before terminating the application. This method closes the serial
line too, and frees all the opened handles.
IDL
[id(5), helpstring("method CloseNetwork")] HRESULT CloseNetwork();
INPUT PARAMETERS
None
OUTPUT VALUE
None
EXAMPLE
...
Private Sub Form_Unload(Cancel As Integer)
‘ Close the network when Unload Event is Invoked
...
If RFNCCTL.NetworkStatus <> NRF_NET_OPEN Then
RFNCCTL.CloseNetwork
End If
...
End Sub