Difference between revisions of "Geopsy: Set header"

From GeopsyWiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
From any active [[Geopsy: Signal Viewer|signal viewer]] (which is by definition a list of signals), click on menu item ''Edit/Set headers''. A dialog box will appear. You can type any number of equations in the left editor. To assist you, for instance for a correct spelling of signal field names, you can use the combos ''Variables'', usual ''operators'' and ''Functions'' [[Image:SetHeadersCombos.png|text-top]]
 
From any active [[Geopsy: Signal Viewer|signal viewer]] (which is by definition a list of signals), click on menu item ''Edit/Set headers''. A dialog box will appear. You can type any number of equations in the left editor. To assist you, for instance for a correct spelling of signal field names, you can use the combos ''Variables'', usual ''operators'' and ''Functions'' [[Image:SetHeadersCombos.png|text-top]]
 +
  
 
All formulas are separated by ''';''' (like in C). If a line begins with '''//''', all text is ignored until the end of the line (like C comments). The same way, all text included between '''/*''' and '''*/''' is considered as a comment. Commenting parts of an equation may be interesting to solve errors.
 
All formulas are separated by ''';''' (like in C). If a line begins with '''//''', all text is ignored until the end of the line (like C comments). The same way, all text included between '''/*''' and '''*/''' is considered as a comment. Commenting parts of an equation may be interesting to solve errors.
Line 11: Line 12:
  
  
You may also save the current equations in file and load it later
+
You may also save the current equations in a file (*.headqu) and load it later.
  
 
<br style="clear: both"/>
 
<br style="clear: both"/>
  
 
== Examples ==
 
== Examples ==

Revision as of 09:08, 11 March 2010

This section explains how to modify header information stored in a database in a very efficient way. Any information about signals can be viewed in a table. Signals can be modified one by one by cell editing (Ctrl+K). For huge number of signals this is boring and time consuming. Instead, you can create formulas and apply them with one single click. The syntax for these formulas is rather simple.

General presentation

Dialog box to editing header information

From any active signal viewer (which is by definition a list of signals), click on menu item Edit/Set headers. A dialog box will appear. You can type any number of equations in the left editor. To assist you, for instance for a correct spelling of signal field names, you can use the combos Variables, usual operators and Functions SetHeadersCombos.png


All formulas are separated by ; (like in C). If a line begins with //, all text is ignored until the end of the line (like C comments). The same way, all text included between /* and */ is considered as a comment. Commenting parts of an equation may be interesting to solve errors.

The general syntax is : SignalData = value;.


You may also save the current equations in a file (*.headqu) and load it later.


Examples