Difference between revisions of "VT 2"

From DIDEAS Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
  
 
<strong>Preliminary documentation for VT_2, the Visualization Tool revision $Id: gui_3.m 66 2015-04-16 13:22:51Z brainfog $</strong>
 
<strong>Preliminary documentation for VT_2, the Visualization Tool revision $Id: gui_3.m 66 2015-04-16 13:22:51Z brainfog $</strong>
 +
 +
 +
 +
=Additions=
 +
 +
==Config File==
 +
The file <strong>config.txt</strong> is read at startup and can be re-read during VT operation by press the 'CFG' button.  The config file format is that of an 'INI file' [https://docs.python.org/2/library/configparser.html].  There are two sections from this file that are processed. 
 +
 +
*selected : any variable listed in this section will be automatically selected when the config file is read.
 +
*axis_limits : a list of key=value pairs where the key is the variable name and the value is a 2 element vector that specifies that minimum and maximum y-axis.  Variables listed in this section are also selected by default.
 +
 +
 +
 +
 +
<pre>
 +
[selected]
 +
# these variables are selected
 +
Valve_in_td
 +
Valve_in_ad
 +
Valve_in_hs1
 +
 +
[axis_limits]
 +
# specify axis limits and select the variables
 +
Valve_in_pd=[-51,40]
 +
Valve_in_fd=[2,5]
 +
Valve_in_vd=[1,10];
 +
 +
</pre>
 +
 +
Note : the section names should be lower case, however case of the variables is ignored.
 +
 +
==ucmd : send user commands to instrument==

Revision as of 16:24, 16 April 2015

Previous release Documentation (VT1)

Preliminary documentation for VT_2, the Visualization Tool revision $Id: gui_3.m 66 2015-04-16 13:22:51Z brainfog $


Additions

Config File

The file config.txt is read at startup and can be re-read during VT operation by press the 'CFG' button. The config file format is that of an 'INI file' [1]. There are two sections from this file that are processed.

  • selected : any variable listed in this section will be automatically selected when the config file is read.
  • axis_limits : a list of key=value pairs where the key is the variable name and the value is a 2 element vector that specifies that minimum and maximum y-axis. Variables listed in this section are also selected by default.



[selected]
# these variables are selected 
Valve_in_td
Valve_in_ad
Valve_in_hs1

[axis_limits]
# specify axis limits and select the variables
Valve_in_pd=[-51,40]
Valve_in_fd=[2,5]
Valve_in_vd=[1,10];

Note : the section names should be lower case, however case of the variables is ignored.

ucmd : send user commands to instrument