How can I enable advanced execution modes in midlife instrument software?Follow
Various command line options are available in the Nortek standard control software. These are used to enable advanced execution modes and solve serial communication problems. A command line switch is set by right clicking on the program's shortcut, going to properties, and adding it (with a space) to the end of the Target Line on the Shortcut Tab.
Example: "C:\Nortek\Aquadopp\Aquadopp.exe" -OPTION
The following table lists the available options:
|config.dep||Name of configuration file to open at startup||No preceding dash (-)|
|-h||Enables high rate sampling option (4Hz)||Aquadopp only|
|-c||Saves the configuration to file in binary format|
|-cu||Saves the configuration to file, user settings only|
|-s [mm]||Starts immediate data collection||mm = delayed start time in minutes|
|-r [mm]||Restarts data collection (stop, reconfigure and start)||mm = delayed start time in minutes|
|-t||Sets the instrument clock to PC time||use with -s or -r|
|-d||Starts with data output to the internal recorder||use with -s or -r|
|-f||Starts with data output to disk file||use with -s or -r|
|-l||Enables one-way communication||no communication sent to instrument|
|-am [s]||Enables settings for acoustic modem connections||s = timeout in seconds|
|-b [n]||Sets the serial communication buffer size||n = #kbytes|
|-eb||Enables settings to work around problem with some PCMCIA/USB serial drivers|
|-fs||Enables data file sharing|
|-tm [s]||Sets the serial communication timeout||s = timeout in seconds|
|-so||Enables serial output with recorder deployments|
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:
- 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.
c:\nortek\aquapro\aquapro.exe -r config.dep
- 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.
Please sign in to leave a comment.