Introduction

This setup is a generic version of a data collection program with its most used fields. The terminal will get a first option to ask whether it is sales or inventories. The difference between these two menus is that the price field appears in the sales field and not in the inventories field.

To read or send data to the terminal one can use the 'datacollector.exe', having as parameters the names of the files with their respective options. After you run the Setup, the program is placed in the programs folder. The links to send and receive data to the terminal point to the 'datacollector.exe' with their parameters.

First use

-Make sure the serial port on your computer, where the cradle is connected, is COM1. If not, you will have to change the property of the links by changing /ComPort 1 to /ComPort (port number).
-Follow the link 'Delete all data from the terminal. "
Awake the terminal and place the terminal in cradle. The cradle must be connected to the power.
-Wait a few minutes until the terminal receives the program.
-Wait until the terminal shows ' Disconnected '.

To read the sales data from the terminal to the file 'vendas.txt'

-Follow the link: 'Read all data from the terminal to the file' vendas.txt''.
-On the terminal choose the option Sales, complete the number of the warehouse and start the sale.
-Place the terminal in the cradle and wait until the process is finished.
-A vendas.txt file will be created with the terminal details.
-The data will not be erased from the terminal. (To delete the data you have to change the command line by adding a / Clear 1).
-Delete the data in the terminal.

To read the data from the
the inventory on the terminal to the file 'inventario.txt '

-Follow the link: 'Read all data from the terminal to the file' inventario.txt'.
-On the terminal choose the option Sales, complete the number of the warehouse and start the sale.
-Place the terminal in the cradle and wait until the process is finished.
-This will create a file inventario.txt with the details of the terminal.
-The data will not be erased from the terminal. (To delete the data you have to change the command line by adding a / Clear 2).
-Delete the data in the terminal.

To read the sales data from the terminal and insert the keyboard

-Follow the link: 'Read all sales data from the terminal and insert it on the keyboard. "
-On the terminal choose the option Sales, complete the number of the warehouse and start the sale.
-Place the cursor of your program of windows in the position where you want to read the data.
-Place the terminal in the cradle and wait until the process is finished.
-After placing the terminal in the cradle, the sequence of keys defined in the link will be executed.
-The data will not be erased from the terminal. (To delete the data you have to change the command line by adding a / Clear 1).
-Delete the data in the terminal.
The data sent to the keyboard is the 'Code Article' followed by a Tab {tab} followed by the 'Quantity' followed by a Tab {tab} followed by the 'Price' followed by an {Enter}

To view inventory data from the terminal and insert in the keyboard.

-Follow the link: 'Read all sales data from the terminal and insert it on the keyboard. "
-On the terminal choose the option Sales, complete the number of the warehouse and start the sale.
-Place the cursor of your program of windows in the position where you want to read the data.
-Place the terminal in the cradle and wait until the process is finished.
-After placing the terminal in the cradle, the sequence of keys defined in the link will be executed.
-The data will not be erased from the terminal. (To delete the data you have to change the command line by adding a / Clear 2).
-Delete the data in the terminal.
The data sent to the keyboard is the 'Code Article' followed by a Tab {tab} followed by the 'Quantity' followed by a Tab {tab} followed by the 'Price' followed by an {Enter}

To send data from a file to the terminal

Prepare a text file named 'artigos.txt' without spacers with the following fields:


It should be something like:
1234567890 11112222 Coca Cola 12.5
3333567890 33332222 Seven Up 15.5
etc ...

Follow the link: 'Send data to the terminal from the file artigos.txt'
Place the terminal in the cradle and wait until the process is finished.


To change the data format of the file that creates the terminal

The data fields that can be read from the terminal are:

You can change the format of the data by adding the link /BodyConf, as in the example below.
datacollector /Save vendas.txt 1 /BodyConf "[CB] [XXXX] [CodArtigo] [XXXX] [Armazem] [XXX] [Qt] [XXXXDDD] [Price] [XXXXDDD]
In this example the file created would have been:

BBBBAAAA001001.000002.000
BBBBAAAA001001.000002.000
etc ...

OR

You can change the format of the data by adding the link /BodyConf, as in the example below.
datacollector /Save vendas.txt 1 /BodyConf "[CB] [XXXX] [CodArtigo] [XXXX] [Armazem] [XXX] [Qt] [XXXXDDD] [Price] [XXXXDDD]
In this example the file created would have been:

CB = BBBB, AAAA, 001,001.000
CB = BBBB, AAAA, 001,001.000
etc ...

To change the format of data that are sent to the keyboard

This is one of the most powerful options since it allows the terminal to 'download' the data from any program that exists in the market.

The data fields that can be read from the terminal are:


You can change the format of the data by adding the link /BodyConf, as in the example below.
datacollector /Save Keyboard 1 /BodyConf "-> [CodArtigo] [XXXX] {Tab} {Tab} [Qt] [XXXXDDD] {Enter}"

In this example, following data from the sales of terminal would have been inserted to to Pc's keyboard:

-> AAAA 001.000
-> AAAA 001.000
-> AAAA 001.000
etc ...

OR

You can change the format of the data added link / BodyConf, as in the example below.
datacollector / Save 2 Keyboard / BodyConf "-> [CodArtigo] [XXXX ]****[ Qt] [XXXXDDD ]****{ Enter)"

In this example, the keyboard would be inserted into the PC the following data from the inventory of the terminal:

-> AAAA **** 001000 ****
-> AAAA **** 001000 ****
-> AAAA **** 001000 ****
etc ...

OR

You can also make a more complicated combination , for example to open notepad and write the results.

datacollector /Save Keyboard 2 /SendKeysBefore "{DELAY = 200} @rnotepad~{appactivate Notepad}{DELAY 100} Hello !!!!% ha{BEEP 1999 1000}{ESC}% {DOWN 5}" /BodyConf "-> [CodArtigo][XXXX]****[Qt][XXXXDDD]****{ Enter} "


List of keys that you can use.



Some examples of combinations of keys.

Example 1
(DELAY = 50) @ rnotepad Hello world ~

Description:
1.Put the delay between keys to be 50 ms.
2.WINKEY + R Opens the Windows Command Line
3.write 'notepad' and press ENTER
4.write'Hello world'


Example 2
Assuming that the calculator and notepad are running.
{DELAY = 100} {appactivate Calculator} {ESC} 5 * 7 ~ {beep 1000 500} ^ c {appactivate Notepad} ^a {DEL} Result of 5 * 7 = ^v

Description:
1. Get the delay between keys to be 100 ms.
2. Turns on the calculator
3. Press ESC to clear the result
4. Write '5 * 7' followed by 'ENTER'
5. Beep for 500ms with a frequency of 1000
6. Do 'CTRL + C' to copy the result
7. Enables notepad
8. Do 'CTRL + A' followed by 'DEL' to delete the text in the notepad
9. Write 'Result of 5 * 7 =' followed by 'CTRL + V' to paste the result of the calculator

Example 3
{DELAY = 500}% {DOWN 5}

Description:
1. Press 'ALT + SPACE'
2. Press 'DOWN' 5 times


Other commands you can put on the command line of datacollector



IMPORTANT:

To create a different program in the terminal you must use the ProgramGenerator.

To create a different setup for a particular customer just follow the following steps:
1. Open the "X64_Inventory pt.zip" (or "X64_Inventory.zip" if available)
2. Copy the file SSEset.dat to the desktop.
3. Open the file SSEset.dat with Notepad.
4. In section LINKS change their parameters. (http://www.ssesetup.com/)
5. Place Back the file to the zip.
6. Finished.