previous next Up Title Contents Index

Histogram file.HST

The histogram file contains a list of variables and definitions booking for graphical data representation. Any variable name defined in file.ACQ or file.EQU can be used in the histogram file with an incremental condition flag attached to it (from file.TST.) The definition of histogram is done in a single line.The total number of histograms should not exceed maxhis nor should the total number of bins allocated for them exceed maxtotbin. Each individual histogram can have a maximum of maxhstbin bins.Two types of histogram are available in SusiQ.
standard histogram type The definition is composed of its name, number of bins, low and high limit, conditional test name to be applied to it and the actual data variable to be histogrammed.

Standard histogram parameters

Histogram name
The name should be unique among the histogram names
Number of bins
Allocation of the number of bins for that histogram. 'maxhstbin' defines the system limit.
Low limit
Defines the lower data limit for the histogram
Up limit
Defines the upper data limit for the histogram
condition name
pre-declared flag name on which the histogram will be incremented
Data variable
pre-declared ACQvar or EQUvar name which contains the data to be histogrammed


chart recorder type This second histogram type allows you to monitor a variable as a function of time or of a test condition.

Page: 16
where references decription

It is sometimes interesting to record the variation of a data word as a function of time. If for example one CAMAC module reads a temperature, pressure or voltage, SusiQ allows you to display, check and take action based on the value of that parameter. If the CAMAC module has its own reading cycle with a LAM generation, SusiQ can be applied in the Standard acquisition mode. If the module does not generate a LAM, SusiQ can do it using the Time based Self LAM generator mode. This mode is required if further action or readout has to be performed before receiving the LAM. Finally if no LAM is required then Time based acquisition mode is sufficient. This chart recording format contains the chart name, number of bins, low and high limits, the time keyword followed by the time interval in seconds or the test keyword followed by the test name and finally the actual data variable name to monitor.

Chart recorder parameters

Chart name

The name should be unique among the histogram and chart names

Number of bins

Allocation of the number of bins for that chart recorder. Each bin will be a time interval.

Low limit

As the time interval is already define in file.ACQ, this value is disregarded. Put 0.

Up limit

As the time interval is already define in file.ACQ, this value is disregarded. Put 0.

then


TIME

Keywords for time chart recorder

time_interval

time interval for the chart recorder.
Time_interval is given in seconds.[2]


Data variable

pre-declared ACQvar or EQUvar name which contains the data to be histogrammed

or


TEST

Keywords for chart recorder.

condition name

pre-declared flag name on which the histogram will be incremented

Data variable

pre-declared ACQvar or EQUvar name which contains the data to be histogrammed


2]This time defines the minimum time interval between two updates. Depending on several speed factors (CPU,CAMAC access, Test package length, User interrupt etc...], this time interval can vary drastically. Note that if any of [D],[S],[H],[M],[N]... and all intermediate pages of Susiq commands are invoked, the acquisition will be frozen which will delay the update of the chart until the next histogram update.



previous next Up Title Contents Index