Download 5DT Data Glove 5

Transcript
3.5 Saving the glove data to a log file
There are situations where you may want to "record" the data received from the glove by
saving it to a log file.
Glove Manager can save the glove data in the following formats:
•
CSV (Comma Separated Values)
•
GDF (Glove Data Format)
The CSV format is very simple, and files in this format can be read into programs such as
Microsoft Excel very easily. The GDF format is based on XML (Extensible Markup
Language). This format is very versatile and is completely platform independent. XML is
much more robust, and slightly easier to process than CSV, however it does take up more
disk space. The specifications of the GDF file format can be found in Appendix D.
To save the glove data to a file, open Glove Manager and choose Save Data from the
File menu. The following dialog box will appear:
Figure 11 - Glove Manager's data log dialog box
It is possible to change the following settings:
Format
Select either CSV or GDF format
Filename
Enter the name of the file you want to create. You can also click
the disk icon to the right of the filename edit box. This will open
a save dialog box.
Sample rate
Here you can select Full, Half or Quarter. Selecting Full will save
each data packet received from the glove to the log file. The Half
setting will only save every second packet, and the Quarter
setting will save every fourth packet.
Sample time
Enter the maximum number of seconds you would like to record.
You can always click the Stop button to stop recording before
16