MAK Data Logger API Documentation for HLA
7 - File Naming Conventions

When sending a command to open a file (newFile for recording or openFile for playback), the remote control interface can specify a specific filename or it can construct a filename.

If a specific filename is chosen, each connected Logger will attempt to open the file provided in the open file command. This approach will be sufficient if there is a single connected Logger or if each connected Logger is storing its file in a separate location (either separate installs or started with separate default Logger file directory locations).

For example, given the default directory ./logger_tapes, the command

playbackInterface->openFile(“maklanddemoHLA1516_vrlink_xml.lgr”);

opens the file ./logger_tapes/maklanddemoHLA1516_vrlink_xml.lgr.

Alternatively, the Logger can be instructed to construct unique filenames for each remotely controlled Logger using the Logger’s remote control ID. When filenames are constructed, the Logger will create an exercise directory in the default file directory. It will then create filenames using the specified name and appending _#.lgr to the end.

For example, the command

playbackInterface->openFile(“testExercise1”);

will open the file ./logger_tapes/testExercise1/testExercise1_1.lgr for the remote Logger with remote control ID equal to 1.

[<< Processing Responses] [Home] [Using the Remote Control Interface >>]


Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)