Installation manual

PROGRAMMING EXAMPLES
111
A
A.4 STAR-Link™ C++ BUILDER 5 EXAMPLE
The example is a simple program based on STAR-Link™ ActiveX, that allows to:
configure an RS485 base station network or a single base station in RS232
save/load a network configuration from file (file RFNCCTL.CFG)
start/stop PC/Base station data collection
collect data in a list
write the main network events in a log file (file NRFCCTL.LOG)
The main STAR-Link™ ActiveX events implemented in this example are: DataEvent,
ErrorEvent, AliveEvent, SatCfgEvent, StatusEvent, SleepSatEvent, LostFrameEvent.
At start up the program opens a dialog providing a data sheet to collect the data
packets received from the devices:
Figure 21 - Main window
Refer to the Visual Basic example for button description, since they share the same
functions apart from the answer string.