Back to the Utilities main page
AVR UC3 Series Software Framework: DSPLib - Data Get for Windows.
Copyright © 2007 Atmel Corporation
Introduction
This program is used to get any type of data from a COM or LPT port.
Usage
DataGet [-l number] [-b number] [-f filename] [-h] [port [baud_rate [bits_per_char [parity [stopbit]]]]]
The
-l number argument is used to refresh the output file every
number lines retrieved.
The
-b number argument is used to refresh the output file every
number bytes retrieved.
The
-f filename argument is used to store the output data into the
filename file. If this argument is not specified the result will be printed on the standard output.
The
-h argument permits to display the help.
The
port argument specifies the identifier of the port to use.
The
baud_rate argument specifies the baud rate of the transmission.
The
bits_per_char argument specifies the number of bits per characters.
The
parity argument specifies the parity of the transmission. (
0 for no parity,
1 for even parity and
2 for odd parity)
The
stopbit argument specifies the format of the stop bit. (
1 for 1 stop bit,
2 for 1.5 stop bit and
3 for 2 stop bits)
Compilation
- Tool sources descriptions:
- Directory: [ DSPLIB ]/UTILS/PROGRAMS/WINDOWS/DATA_GET/
- Language: C
- Disclaimer: This tool has been tested on Windows XP Professional.
First of all, to compile this software you need to download a free compiler called Dev-C++, available here.
Then double click on the DataGet.dev file and Dev-C++ will open. To compile the software, go to Execute>Compile and it will create an executable called DataGet.exe that you can launch following the section "Usage" .