Function Block Command: Log Data

Basics:
The "Log Data" command gives a simple way to log data to a Text or HTML file.

Details:
The Value cell opens a dialog (Figure 1) to configure what data to log, the type of file, the file name, and if it should create a new file.

"Text to Log" uses the Expression Builder to select what information to log.

"Log Type" determines if the log file will be Text or HTML.

The radio buttons determine if the file name will be a static constant or a dynamic name retrieved from an application signal.

"Overwrite File if it exists" is self explanatory and can help prevent filling the user's data directory with many log files.

Figure 1: Value setup dialog for the Log Data command.



Figure 2: The script above will log joystick data to a file every second.

  Vehicle Spy Documentation - (C) Copyright 1997-2011 Intrepid Control Systems, Inc.

Last Update: Saturday, October 25, 2008