sys_start

Purpose:

Initialize system start

Enter:

sys_start <filename> <real=X> <integer=X> <logical=X> <string=X> <stat=X> <expr=X> <saved_data=X> <limits=X> <tables=X> <alias=X> <rarray=X> <iarray=X> <sarray=X> <larray=X> <PAM_stats=X> <log_vars=X>

Where:

filename

Optional. Specify the filename to access and obtain the initialization information. If not specified, the default filename of ‘/cell/logi_specs.nnn’ is assumed, where nnn is the test cell number.

real=X

Optional. Specify the number of general usage real variables allowed. The default is 1000.

integer=X

Optional. Specify the number of general usage integer variables allowed. The default is 200.

logical=X

Optional. Specify the number of general usage logical variables allowed. The default is 200.

string=X

Optional. Specify the number of general usage string variables allowed. The default is 256.

stat=X

Optional. Specify the number of general usage statistical variables allowed. The default is 100.

expr=X

Optional. Specify the number of general usage computed expressions allowed. The default is 1000.

saved_data=X

Optional. Specify the number of variables that can be stored in the /data/save_parameters file. The default is 200.

limits=X

Optional. Specify the number of limits allowed. The default is 200.

tables=X

Optional. Specify the number of calibration tables allowed. The default is 100.

alias=X

Optional. Specify the number of aliases variables names. The default is 100.

rarray=X

Optional. Specify the number of real array variables. The default is 10.

iarray=X

Optional. Specify the number of integer array variables. The default is 10.

sarray=X

Optional. Specify the number of string array variables. The default is 10.

larray=X

Optional. Specify the number of logical array variables. The default is 10.

PAM_stats=X

Optional. Specify the maximum number of pam_specs variables that can be specified as “AVER”. The default is 1000.

log_vars=X

Optional. Specify the maximum number of variables that can be logged with either floger or dlogger. The default is 1000.

Example:

sys_start filename real=1000 integer=384 logical=1000 string=256 stat=128 expr=1000 saved_data=256 limits=200 tables=256 long_tables=12 PAM_stats=100 log_vars=1200

The above example performs initialization and overrides the default values with the specified values for each of the specified data types. By specifying 1200 for the log_vars argument, upto 1200 variables can be logged within the dlogger and floger programs.

sys_start

The above command performs initialization and accesses the file logi_specs.nnn for some of the initialization information.

Notes:

Use the “show_mem” command to determine the current size and usage of the shared memory areas.

The following array sizes are flexible:

GENERAL USE REAL VARIABLES

GENERAL USE INTEGER VARIABLES

GENERAL USE LOGICAL VARIABLES

GENERAL USE STRING VARIABLES

GENERAL USE STATISTICAL VARIABLES

COMPUTED VARIABLES (computed expressions)

saved variables (as specified by save_list)

LIMIT specifications

LIMIT Logicals (for state and latch variables)

LONG_CAL_TABLES

ALIAS variables

real arrays

integer arrays

string arrays

logical arrays

This command should be executed via the CyFlex startup script (go.scp).

This task will:
1. Allocate shared memory areas System Attributes Semaphores
2. Initialize the semaphore description strings
3. Read the test cell number and hostname
4. Create some permanent message events global configuration
5. fetch current versions of units.dat, computed.dat, channel.dat, browse.dat, parameter.dat, and gp_template

See Also:

show_mem, Array Variables