×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 13356589, Entry date: 10/12/2004
(0)
Rate

Archiving of String-tags with ProTool

  • Entry
  • Associated product(s)

QUESTION:
How can I archive with ProTool String-tags?

ANSWER:
The archiving of String tags can be performed in ProTool with a script.

Function description of the script:

  • For each month, a new archive file is created.
  • The file name is put together from the month and the year in which the tag values were saved.
  • The script is called by the tag 'VAR1'(STRING Variable) during a modification of a value.
  • In the script itself the archive file is created or -if already existing -it is opened. The tag VAR1 is saved in the archive file with date and time; the file is then shut again.
  • When calling the script, the location of deposition of the archive file has to be adjusted according to the user's wishes. Additionally, the tags to be archived have to be entered in this script instead of the tags VAR1.

Important:
The Visual Basic - commands for WinCE differ from the Visual Basic - commands for PCs.

The download includes a self-extracting ProTool V6.0 SP2 PC project and MP370 Touch project with the script and functionalities described above. The download also includes two .pdf files containing the source text of the script for WinCE devices and PCs.

pc_v_6_03.exe

Copy the "pc_v_6_03.exe" file into a separate directory and unpack it in a separate folder.

Note:
This example has been created and tested in ProTool/Pro V6.0 SP2.

Keywords:
csv file, Excel, Storage card 2, CF Card, Memory card, OP270, MP270, TP270, MP370, Panels, Windows-based devices, Windows CE, Store values in file, ProTool Lite, ProTool/Pro Runtime


Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.