Example: Automatic start of AquaPro software
Here are a couple of ways to use command line options in the AquaPro software to do auto start and to connect to an incoming serial data stream:
1) Configure and start the instrument. This option stops data collection if the instrument is collecting data. It then configures the instrument using the settings in the specified .dep file and restarts. Usage:
c:\nortek\aquapro\aquapro.exe -r config.dep
2) Start receiving only. This just connects to the instrument and starts receiving data without configuring it.
c:\nortek\aquapro\aquapro.exe -s -l config.dep
Note that you should include the .dep file (the configuration used when starting the instrument the first time) on the command line in this case too. This is to ensure the software setup is consistent with the instrument.
You may also include -f to automatically start/resume data recording to a disk file. Select Disk file in the Online menu to specify filename and recording options. These settings are saved in the registry.
To automatically start upon a PC reboot create a shortcut to the Aquapro program in the Startup folder and modify the target according to the above.