Main Page | Features | Central Services | csv-Files | Types | Transfer | Access | API-C | API-.NET | API-Java | Examples | Downloads
page generated on 19.09.2024 - 04:45
Functions | Variables
Alarm API Calls File Reference

TINE Local Alarm Server plus API routines. More...

Functions

int AppendAlarmInfoTable (char *eqm, ADS *ads)
 Inserts an alarm definition into the alarm definition table. More...
 
int AppendAlarmInfoTableEx (char *eqm, ADS *ads, char *filterString)
 Inserts an alarm definition into the alarm definition table. The extended call accepts a parseable filter string. More...
 
int AppendAlarmWatchTable (char *eqm, char *prp, char *dev, int siz, int fmt, int atyp, int sev, int sys, ALM_THRESHOLDS *thr)
 Inserts a property to be monitored into the local alarm server's Watch Table. More...
 
int ApplyAlarmWatchFilter (char *eqm, char *prp, char *dev, char *parsableFilterString)
 Applies a filter to an existing local alarm server's Watch Table. More...
 
void ClearAlarm (char *eqm, int devNr)
 Instructs the local alarm server table that the given alarm is to be cleared. More...
 
void ClearDeviceAlarm (char *eqm, char *devname)
 Instructs the local alarm server table that the given alarm is to be cleared. More...
 
int GetAlarmCodeOscillationWindow (const char *eqm, int code)
 Gets the size of the alarm oscillation window in clear counts. More...
 
int GetAlarmCollapseWindow (void)
 Gets the size of the alarm collapse window in counts. More...
 
int GetAlarmDataChangeWindow (void)
 Gets the size of the alarm datachange window in seconds. More...
 
int GetAlarmDefinition (char *eqm, UINT32 code, ADS *ads)
 Gets the alarm definition for the alarm code specified. More...
 
int GetAlarmHeartbeat (void)
 Gets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an alarm. More...
 
int GetAlarmOscillationWindow (void)
 Gets the size of the alarm oscillation window in clear counts. More...
 
int GetAlarmTableMaximumSize (void)
 Gets the maximum number of alarms managed by the local alarm server. More...
 
int GetAlarmTerminationWindow (void)
 Gets the size of the termination window in seconds before a terminated alarm is discarded from the local alarm list. More...
 
int GetAllowOfflineAlarms (void)
 Gets the local alarm server setting to allow or disallow alarms for devices declared offline. More...
 
int GetNewAlarmWindow (void)
 Gets the size of the new alarm window in seconds before a new alarm is no longer declared as new. More...
 
void RemoveAlarm (char *eqm, int devNr, UINT32 code)
 Instructs the local alarm server table that the given alarm is to be marked for removal. More...
 
void RemoveDeviceAlarm (char *eqm, char *devname, UINT32 code)
 Instructs the local alarm server table that the given alarm is to be marked for removal. More...
 
int SetAlarm (char *eqm, int devNr, UINT32 almCode, BYTE *almData)
 Inserts an alarm into the local alarm server table. More...
 
int SetAlarmCodeOscillationWindow (const char *eqm, int code, int value)
 Sets the size of the alarm oscillation window in clear counts. More...
 
int SetAlarmCollapseWindow (int value)
 Sets the size of the alarm collapse window in counts. More...
 
void SetAlarmDataChangeWindow (int timeInSeconds)
 Sets the size of the alarm datachange window in seconds. More...
 
int SetAlarmEx (char *eqm, int devNr, UINT32 almCode, BYTE *almData, BYTE flags)
 Inserts an alarm into the local alarm server table. More...
 
int SetAlarmEx2 (char *eqm, int devNr, UINT32 almCode, char *almTag, BYTE *almData, BYTE flags)
 Inserts an alarm into the local alarm server table. More...
 
void SetAlarmHeartbeat (int timeInSeconds)
 Sets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an alarm. More...
 
int SetAlarmOscillationWindow (int value)
 Sets the size of the alarm oscillation window in clear counts. More...
 
void SetAlarmTableMaximumSize (int tableSize)
 Sets the maximum number of alarms managed by the local alarm server. More...
 
void SetAlarmTerminationWindow (int timeInSeconds)
 Sets the size of the termination window in seconds before a terminated alarm is discarded from the local alarm list. More...
 
void SetAllowOfflineAlarms (int value)
 Instructs the local alarm server to allow or disallow alarms for devices declared offline. More...
 
void SetAvailableMemoryThreshold (UINT32 minAvailBytes)
 Sets the threshold (in bytes) used in setting 'low main memory' alarms. More...
 
void SetDelayAlarmSurvey (int delayInSeconds)
 Instructs the local alarm server to delay surveying alarms (for the alarm watch table) More...
 
int SetDeviceAlarm (char *eqm, char *devname, UINT32 almCode, BYTE *almData, BYTE flags)
 Inserts an alarm into the local alarm server table. More...
 
int SetDeviceAlarmEx (char *eqm, char *devname, UINT32 almCode, char *almTag, BYTE *almData, BYTE flags)
 Inserts an alarm into the local alarm server table. More...
 
int SetFreeBlocksAlarmThreshold (char *path, UINT32 minFreeBlocks)
 Sets the threshold (in blocks) used in setting 'low disk space' alarms. More...
 
void SetNewAlarmWindow (int timeInSeconds)
 Sets the size of the new alarm window in seconds before a new alarm is no longer declared as new. More...
 

Variables

int AlarmDataChangeWindow = DEFAULT_ALARM_DATACHANGE_WINDOW
 Determines the minimum time a data change alarm is to keep its timestamp in the local alarm table. More...
 
int AlarmHeartbeat = DEFAULT_ALARM_HEARTBEAT
 Determines the time interval at the 'HEARTBEAT' flag will be re-issued for persistent alarms. More...
 
int AlarmInstantWindow = DEFAULT_INSTANT_WINDOW
 Determines the minimum time an alarm is to remain in the local alarm table before it can be removed. More...
 
int AlarmTestState = 0
 Determines the minimum time an alarm is to remain in the local alarm table before it can be removed. More...
 
int AlarmWindow = DEFAULT_ALARM_WINDOW
 Determines the minimum time an alarm is to remain in the local alarm table before it can be removed. More...
 
int MaxNumberAlarms = MAXALARMS
 Determines the maximum number of alarms which can be maintained in the local alarm server's alarm list. More...
 
int TerminationWindow = DEFAULT_TERMINATION_WINDOW
 Determines the minimum time an expired alarm is to remain in the local alarm table. More...
 

Detailed Description

TINE Local Alarm Server plus API routines.

The API routines offered here pertain directly to the TINE Local Alarm Server maintained on the running server. A server can of course run without setting alarms. However a control system will suffer if important information relating to the health of the system is surpressed. One can set a certain category of alarms (threshold alarms) without issuing any API call, but instead supplying a startup configuration file 'almwatch.csv' with instructions as to which properties to call and into what range the data returned must fall in order to function properly. Otherwise calls to ClearAlarm() and SetAlarm() for instance should be made inside a server's IO loop where necessary.

Function Documentation

◆ AppendAlarmInfoTable()

int AppendAlarmInfoTable ( char *  eqm,
ADS ads 
)

Inserts an alarm definition into the alarm definition table.

As an alternative to the <local name>-alarms.csv configuration file, the front end server can make use of this API call in order to fill in the alarm definition table describing locally generated alarms. This is particularly useful for embedded platforms where there is no file system, or where a TINE server is used as a translation layer and needs to map a given alarm system onto the TINE alarm system.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
adsis a pointer to an Alarm Definition Structure (ADS) containing the alarm table information which is to be appended to the alarm definition table.
Returns
0 upon success, otherwise a TINE error code.
strncpy(ads.alarmTag,"Threshold exceeded",16);
ads.alarmCode = 512;
ads.alarmMask = 0xff;
ads.alarmSeverity = 7;
ads.alarmDataFormat = BFMT(CF_FLOAT);
ads.alarmDataArraySize = 1;
ads.alarmSystem = 640;
strncpy(ads.alarmText,"Take action immediately!",40);
strncpy(ads.dataText,"Current threshold setting",40);
strncpy(ads.url,"alarm512.html",40);
if ((cc=AppendAlarmInfoTable(EQPMODNAME,&ads)) != 0)
{
feclog("appendAlarmInfoTable : %s",erlst[cc]);
}

References AppendAlarmInfoTableEx().

◆ AppendAlarmInfoTableEx()

int AppendAlarmInfoTableEx ( char *  eqm,
ADS ads,
char *  filterString 
)

Inserts an alarm definition into the alarm definition table. The extended call accepts a parseable filter string.

As an alternative to the <local name>-alarms.csv configuration file, the front end server can make use of this API call in order to fill in the alarm definition table describing locally generated alarms. This is particularly useful for embedded platforms where there is no file system, or where a TINE server is used as a translation layer and needs to map a given alarm system onto the TINE alarm system.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
adsis a pointer to an Alarm Definition Structure (ADS) containing the alarm table information which is to be appended to the alarm definition table.
filterStringis a parsable filter string defining the filter condition. This should be of the form /<context>/<server/<device>[<property>]<comparator><value> where <comparator> is one of '=', '!=', '>', or '<' and <value> is the filter's threshold value. The filter target address should deliver (or be able to deliver) a single numeric or string name value. If the filter string cannot be parsed of the target address does not exists, then no filter will be established. The filter conditions must be met for the alarm specified in the ADS to be applied via any of the SetAlarm() methods. Unless, in addition, the filterString has been concatenated with an optional severity, which should be used when the filter criterion is not met. The optional serverity should be specified by appending &sev=<severity> at the end of the filter string.
Returns
0 upon success, otherwise a TINE error code.
strncpy(ads.alarmTag,"Threshold exceeded",16);
ads.alarmCode = 512;
ads.alarmMask = 0xff;
ads.alarmSeverity = 7;
ads.alarmDataFormat = BFMT(CF_FLOAT);
ads.alarmDataArraySize = 1;
ads.alarmSystem = 640;
strncpy(ads.alarmText,"Take action immediately!",40);
strncpy(ads.dataText,"Current threshold setting",40);
strncpy(ads.url,"alarm512.html",40);
if ((cc=AppendAlarmInfoTableEx(EQPMODNAME,&ads),"/PETRA/Idc/Buffer-0[I]>0.05") != 0)
{
feclog("appendAlarmInfoTable : %s",erlst[cc]);
}

Referenced by AppendAlarmInfoTable().

◆ AppendAlarmWatchTable()

int AppendAlarmWatchTable ( char *  eqm,
char *  prp,
char *  dev,
int  siz,
int  fmt,
int  atyp,
int  sev,
int  sys,
ALM_THRESHOLDS thr 
)

Inserts a property to be monitored into the local alarm server's Watch Table.

Certain alarms are to be set whenever the value of a property exceeds a defineable threshold. Such alarms can be managed automatically by the local alarm server if the alarm criteria are entered into the alarm watch table. This can be achieved by calling this routine (or supplying a startup configuration file almwatch.csv).

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
prpis the property which is to be called by the local alarm server
devis the device name associated with the property to be called by the local alarm server
sizis the data array size to be called by the local alarm server
fmtis the TINE data format to be called by the local alarm server
atypis the TINE data array type to be applied to the property called by the local alarm server
sevis the severity of the alarm issued when the data returned by the call exceed the given thresholds.
sysis the alarm system identifier to be associated with the alarm.
thris an ALM_THRESHOLDS object specifying the threshold criteria for setting the alarm
Note
Information can also be entered into the alarm watch table by supplying the startup configuration file almwatch.csv, where the input parameters are given in the relevant columns. This is frequently the preferred way of inputting such alarm information, since if does not involve hard-coding such alarm criteria.
Returns
0 upon success, otherwise a TINE error code.

References argument_list_error, and out_of_server_memory.

◆ ApplyAlarmWatchFilter()

int ApplyAlarmWatchFilter ( char *  eqm,
char *  prp,
char *  dev,
char *  parsableFilterString 
)

Applies a filter to an existing local alarm server's Watch Table.

A server can filter out automatic watch table alarms by applying a filter condition which must be satisfied.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
prpis the property which is to be called by the local alarm server
devis the device name associated with the property to be called by the local alarm server
parsableFilterStringis a parsable filter string defining the filter condition. This should be of the form /<context>/<server/<device>[<property>]<comparator><value> where <comparator> is one of '=', '!=', '>', or '<' and <value> is the filter's threshold value. The filter target address should deliver (or be able to deliver) a single numeric or string name value. If the filter string cannot be parsed of the target address does not exists, then no filter will be established. In addition, the filterString can be concatenated with an optional severity, which should be used when the filter criterion is not met. The optional serverity should be specified by appending &sev=<severity> at the end of the filter string.
Returns
0 upon success, otherwise a TINE error code.

◆ ClearAlarm()

void ClearAlarm ( char *  eqm,
int  devNr 
)

Instructs the local alarm server table that the given alarm is to be cleared.

A server can clear alarms for specific device by giving its device number.
Note that all alarms for the device specified are cleared. Also note, that "clearing" an alarm means that its "clear" counter is incremented.
It is not removed immediately from the local alarm list. For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devNris the device number of the device for which all alarms is to be cleared.
ClearAlarm("EQP1",1); // clear all alarms for device #1

Referenced by ClearDeviceAlarm().

◆ ClearDeviceAlarm()

void ClearDeviceAlarm ( char *  eqm,
char *  devname 
)

Instructs the local alarm server table that the given alarm is to be cleared.

A server can clear alarms for specific device by giving its registered device name.
Note that all alarms for the device specified are cleared. Also note, that "clearing" an alarm means that its "clear" counter is incremented.
It is not removed immediately from the local alarm list. For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devnameis the registered device name of the device for which all alarms is to be cleared.
ClearDeviceAlarm("EQP1","DEVICE1"); // clear all alarms for "DEVICE1"

References ClearAlarm(), and GetDeviceNumber().

◆ GetAlarmCodeOscillationWindow()

int GetAlarmCodeOscillationWindow ( const char *  eqm,
int  code 
)

Gets the size of the alarm oscillation window in clear counts.

A call to a member of the ClearAlarm() family will increment the alarm's clear counter. Typically ClearAlarm() is always called at the beginning of an i/o loop and SetAlarm() is called if warranted according to alarm conditions later in the same loop. If the clear counter has reached the current oscillation window setting, the alarm is then marked for termination and removal. If the clear counter has been incremented by more than a single count AND a SetAlarm() is then called, the alarm is marked as 'oscillating' as it appears to the alarm sub system that the alarm conditions are not persistent by appear to come and go. The oscillation window is by default set to 8 counts. As a terminated alarm will nonetheless reside in the local alarm tables for a time equal to the current termination window (default = 30 seconds) the oscillation window will automatically 'grow' if an alarm has been marked as terminated but reappears within the termination window. The maximum oscillation window will however not exceed 128 (corresponding to approximately 2 minutes, assuming a 1 Hz i/o loop is in play).

Unlike GetAlarmOscillationWindow(), this routine targets a specific alarm code.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
codeis the alarm code for which the oscillation window is to be applied
Returns
the size of the alarm oscillation window (default = 8), or, if negative, the negative value of a TINE return code (e.g. non_existent if the given equipment module does not exist or the alarm code is unknown).
See also
SetAlarmCodeOscillationWindow()

◆ GetAlarmCollapseWindow()

int GetAlarmCollapseWindow ( void  )

Gets the size of the alarm collapse window in counts.

At any given time the prevailing alarm conditions might give rise to an 'alarm storm', where an unusally large number of alarms are seen (due to e.g. hardware modules that are turned off during a shutdown). Such alarms are generally 'not interesting' and should not create extra network traffic, resource allocation, archiving, etc. if this can be avoided. As such, if the number of alarms for a given equipment module exceeds the current 'alarm collapse window' setting, the alarm information will be 'compressed' to a single alarm indicating that there are 'more than' the collapse window number of alarms.

Returns
the size of the alarm collapse window. (default = 100).
See also
SetAlarmCollapseWindow()

◆ GetAlarmDataChangeWindow()

int GetAlarmDataChangeWindow ( void  )

Gets the size of the alarm datachange window in seconds.

When an alarm provides alarm data with the appropriate SetAlarm() call, the alarm will be tagged with the 'DATACHANGE' flag if the supplied data differ from that provided with the previous call to SetAlarm(). The alarm timestamp will be adjusted to the current time ONLY if the data change is seen outside of the current AlarmDataChangeWindow (in seconds). The value of the alarm timestamp is relevant in the acquisition of the existing alarm table by the central alarm server. If this window is too short and the alarm data is constantly changing this can result in very long 'alarm chains' to display and archive. Default is 30 seconds. The caller can discover this time window with this call.

Returns
the size of the alarm data change window.

References AlarmDataChangeWindow.

◆ GetAlarmDefinition()

int GetAlarmDefinition ( char *  eqm,
UINT32  code,
ADS ads 
)

Gets the alarm definition for the alarm code specified.

Parameters
eqm(input) is the 6-character local equipment identifier name, which is internal to server.
code(input) is the alarm code for which the alarm definition is desired.
ads(output) is a pointer reference to an alarm definition structure (ADS) to be filled in upon successful completion.
Returns
0 upon success, otherwise a TINE error code.

References invalid_parameter.

◆ GetAlarmHeartbeat()

int GetAlarmHeartbeat ( void  )

Gets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an alarm.

A server flags an alarm with a heartbeat when it has persistent in the local alarm list for a time span equal to this window. Default is 1200 seconds. The caller can discover this time window with this call.

Parameters
timeInSecondsis the size of the heartbeat window.

References AlarmHeartbeat.

◆ GetAlarmOscillationWindow()

int GetAlarmOscillationWindow ( void  )

Gets the size of the alarm oscillation window in clear counts.

A call to a member of the ClearAlarm() family will increment the alarm's clear counter. Typically ClearAlarm() is always called at the beginning of an i/o loop and SetAlarm() is called if warranted according to alarm conditions later in the same loop. If the clear counter has reached the current oscillation window setting, the alarm is then marked for termination and removal. If the clear counter has been incremented by more than a single count AND a SetAlarm() is then called, the alarm is marked as 'oscillating' as it appears to the alarm sub system that the alarm conditions are not persistent by appear to come and go. The oscillation window is by default set to 8 counts. As a terminated alarm will nonetheless reside in the local alarm tables for a time equal to the current termination window (default = 30 seconds) the oscillation window will automatically 'grow' if an alarm has been marked as terminated but reappears within the termination window. The maximum oscillation window will however not exceed 128 (corresponding to approximately 2 minutes, assuming a 1 Hz i/o loop is in play).

Returns
the size of the alarm oscillation window. (default = 8).
See also
SetAlarmOscillationWindow()

◆ GetAlarmTableMaximumSize()

int GetAlarmTableMaximumSize ( void  )

Gets the maximum number of alarms managed by the local alarm server.

A server keeps a maximum number of alarms in its local table at one time before it begins to discard the older alarms. The caller can retrieve this number with this call. Default is 500.

Returns
the maximum number of alarms to be maintained in the local alarm table.

References MaxNumberAlarms.

◆ GetAlarmTerminationWindow()

int GetAlarmTerminationWindow ( void  )

Gets the size of the termination window in seconds before a terminated alarm is discarded from the local alarm list.

A server keeps keeps a terminated alarm in its list (marked as terminated) for a length of time specified by the termination window. This allows the central alarm server and/or other interested parties enough time to discover that the alarm has been terminated. Default is 4 seconds. The caller can discover this time window with this call.

Returns
the size of the termination window.

References TerminationWindow.

◆ GetAllowOfflineAlarms()

int GetAllowOfflineAlarms ( void  )

Gets the local alarm server setting to allow or disallow alarms for devices declared offline.

Returns
the current setting (DEFAULT = FALSE)

◆ GetNewAlarmWindow()

int GetNewAlarmWindow ( void  )

Gets the size of the new alarm window in seconds before a new alarm is no longer declared as new.

A server flags an alarm as new when it first appears in its list. After a short time span, the 'new' flag is removed by additional calls to SetAlarm for the same alarm. Default is 3 seconds. The caller can discover this time window with this call.

Returns
the size of the new alarm window.

References AlarmWindow.

◆ RemoveAlarm()

void RemoveAlarm ( char *  eqm,
int  devNr,
UINT32  code 
)

Instructs the local alarm server table that the given alarm is to be marked for removal.

A server can remove alarms for specific device by giving its device number.
Note that only the alarm specified for the device specified is removed. Also note, that "removing" an alarm means that termination bit will be set. It is subsequently marked for removal from the local alarm list. For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devNris the device number of the device for which all alarms is to be removed.
codeis the alarm code, which identifies the specific alarm to be removed
RemoveAlarm("EQP1",1,512);

◆ RemoveDeviceAlarm()

void RemoveDeviceAlarm ( char *  eqm,
char *  devname,
UINT32  code 
)

Instructs the local alarm server table that the given alarm is to be marked for removal.

A server can remove alarms for specific device by giving its registered device name.
Note that only the alarm specified for the device specified is removed. Also note, that "removing" an alarm means that termination bit will be set. It is subsequently marked for removal from the local alarm list. For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devnameis the registered device name of the device for which all alarms is to be removed.
codeis the alarm code, which identifies the specific alarm to be removed
RemoveDeviceAlarm("EQP1","DEVICE1",512);

References GetDeviceNumber().

◆ SetAlarm()

int SetAlarm ( char *  eqm,
int  devNr,
UINT32  almCode,
BYTE *  almData 
)

Inserts an alarm into the local alarm server table.

A server can set an alarm for a specific device by giving its device number.
For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devNris the device number of the device for which the alarm is to be set.
almCodeis the registered alarm code which defines the alarm
almDatais (up to 64-byte) the optional alarm data set, which supplies additional information for the alarm.
Returns
0 upon success, otherwise a TINE error code.
if ((cc=SetAlarm("EQP1",1,512,NULL)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

References SetAlarmEx().

◆ SetAlarmCodeOscillationWindow()

int SetAlarmCodeOscillationWindow ( const char *  eqm,
int  code,
int  value 
)

Sets the size of the alarm oscillation window in clear counts.

A call to a member of the ClearAlarm() family will increment the alarm's clear counter. Typically ClearAlarm() is always called at the beginning of an i/o loop and SetAlarm() is called if warranted according to alarm conditions later in the same loop. If the clear counter has reached the current oscillation window setting, the alarm is then marked for termination and removal. If the clear counter has been incremented by more than a single count AND a SetAlarm() is then called, the alarm is marked as 'oscillating' as it appears to the alarm sub system that the alarm conditions are not persistent by appear to come and go. The oscillation window is by default set to 8 counts. As a terminated alarm will nonetheless reside in the local alarm tables for a time equal to the current termination window (default = 30 seconds) the oscillation window will automatically 'grow' if an alarm has been marked as terminated but reappears within the termination window. The maximum oscillation window will however not exceed 128 (corresponding to approximately 2 minutes, assuming a 1 Hz i/o loop is in play). A call to this routine will not only fix the alarm oscillation window but 'pin' it to the value given (i.e. so that it will not automatically grow).

Unlike SetAlarmOscillationWindow(), this routine can be used to apply an oscillation window to a specific alarm code, without affecting the behavior of other alarm types.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
codeis the alarm code for which the oscillation window is to be applied
clearCountsis the size of the alarm oscillation window. (default = 8).
Note
calling this routine will pin the oscillation window to the given setting so that the value will not 'grow' following the re-setting of a terminated alarm.
See also
SetAlarmOscillationWindow(), GetAlarmCodeOscillationWindow()

◆ SetAlarmCollapseWindow()

int SetAlarmCollapseWindow ( int  value)

Sets the size of the alarm collapse window in counts.

At any given time the prevailing alarm conditions might give rise to an 'alarm storm', where an unusally large number of alarms are seen (due to e.g. hardware modules that are turned off during a shutdown). Such alarms are generally 'not interesting' and should not create extra network traffic, resource allocation, archiving, etc. if this can be avoided. As such, if the number of alarms for a given equipment module exceeds the current 'alarm collapse window' setting, the alarm information will be 'compressed' to a single alarm indicating that there are 'more than' the collapse window number of alarms. The value of the collapse window can be set via this call.

Parameters
valueis the size of the alarm collapse window. (default = 100).
Note
the alarm collapse window is applied to ALL alarms independent of alarm code or device.
See also
GetAlarmCollapseWindow()

References feclog(), and out_of_range.

◆ SetAlarmDataChangeWindow()

void SetAlarmDataChangeWindow ( int  timeInSeconds)

Sets the size of the alarm datachange window in seconds.

When an alarm provides alarm data with the appropriate SetAlarm() call, the alarm will be tagged with the 'DATACHANGE' flag if the supplied data differ from that provided with the previous call to SetAlarm(). The alarm timestamp will be adjusted to the current time ONLY if the data change is seen outside of the current AlarmDataChangeWindow (in seconds). The value of the alarm timestamp is relevant in the acquisition of the existing alarm table by the central alarm server. If this window is too short and the alarm data is constantly changing this can result in very long 'alarm chains' to display and archive. Default is 30 seconds. The caller can discover this time window with this call.

Parameters
timeInSecondsis the size of the alarm data change window. (default = 30).

References AlarmDataChangeWindow.

◆ SetAlarmEx()

int SetAlarmEx ( char *  eqm,
int  devNr,
UINT32  almCode,
BYTE *  almData,
BYTE  almFlags 
)

Inserts an alarm into the local alarm server table.

This is the extended call corresponding to SetAlarm(), the difference being the additional argument 'flags' which can be used to set the alarm descriptor. A server can set an alarm for a specific device by giving its device number.
For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devNris the device number of the device for which the alarm is to be set.
almCodeis the registered alarm code which defines the alarm
almDatais the optional alarm data set, which supplies additional information for the alarm.
almFlagsis the optional alarm flag which is used in the alarm descriptor information.
Returns
0 upon success, otherwise a TINE error code.
if ((cc=SetAlarmEx("EQP1",1,512,NULL,almNEW)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

Referenced by SetAlarm().

◆ SetAlarmEx2()

int SetAlarmEx2 ( char *  eqm,
int  devNr,
UINT32  almCode,
char *  almTag,
BYTE *  almData,
BYTE  flags 
)

Inserts an alarm into the local alarm server table.

This is the second extended call corresponding to SetAlarm(), the difference being the additional argument 'flags' which can be used to set the alarm descriptor and the additional argument 'almTag' which can be used to supply a dynamic alarm tag which will override the static tag otherwise assigned from the corresponding alarm definition. A server can set an alarm for a specific device by giving its device number. For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devNris the device number of the device for which the alarm is to be set.
almCodeis the registered alarm code which defines the alarm
almTagis an optional alarm tag to apply to the alarm. If NULL then the static alarm tag registered in the alarm definition for the alarm code given will be used.
almDatais the optional alarm data set, which supplies additional information for the alarm.
almFlagsis the optional alarm flag which is used in the alarm descriptor information.
Returns
0 upon success, otherwise a TINE error code.
if ((cc=SetAlarmEx("EQP1",1,512,NULL,almNEW)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

◆ SetAlarmHeartbeat()

void SetAlarmHeartbeat ( int  timeInSeconds)

Sets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an alarm.

A server flags an alarm with a heartbeat when it has persistent in the local alarm list for a time span equal to this window. Default is 1200 seconds. The caller can set this window with this call.

Parameters
timeInSecondsis the size of the heartbeat window.

References AlarmHeartbeat.

◆ SetAlarmOscillationWindow()

int SetAlarmOscillationWindow ( int  clearCounts)

Sets the size of the alarm oscillation window in clear counts.

A call to a member of the ClearAlarm() family will increment the alarm's clear counter. Typically ClearAlarm() is always called at the beginning of an i/o loop and SetAlarm() is called if warranted according to alarm conditions later in the same loop. If the clear counter has reached the current oscillation window setting, the alarm is then marked for termination and removal. If the clear counter has been incremented by more than a single count AND a SetAlarm() is then called, the alarm is marked as 'oscillating' as it appears to the alarm sub system that the alarm conditions are not persistent by appear to come and go. The oscillation window is by default set to 8 counts. As a terminated alarm will nonetheless reside in the local alarm tables for a time equal to the current termination window (default = 30 seconds) the oscillation window will automatically 'grow' if an alarm has been marked as terminated but reappears within the termination window. The maximum oscillation window will however not exceed 128 (corresponding to approximately 2 minutes, assuming a 1 Hz i/o loop is in play). A call to this routine will not only fix the alarm oscillation window but 'pin' it to the value given (i.e. so that it will not automatically grow).

Parameters
clearCountsis the size of the alarm oscillation window. (default = 8).
Note
calling this routine will pin the oscillation window to the given setting so that the value will not 'grow' following the re-setting of a terminated alarm.
the alarm oscillation window is applied to ALL alarms independent of alarm code or device. Once called, this will effectively 'pin' the alarm oscillation value for all alarm types to this value. Applying an oscillation window to a specific alarm can be achieved by calling SetAlarmCodeOscillationWindow();
See also
GetAlarmOscillationWindow(), SetAlarmCodeOscillationWindow()

References out_of_range.

◆ SetAlarmTableMaximumSize()

void SetAlarmTableMaximumSize ( int  tableSize)

Sets the maximum number of alarms managed by the local alarm server.

A server keeps a maximum number of alarms in its local table at one time before it begins to discard the older alarms. The caller can adjust this number with this call. Default is 500.

Parameters
tableSizeis the maximum number of alarms to be maintained in the local alarm table.

References MaxNumberAlarms.

◆ SetAlarmTerminationWindow()

void SetAlarmTerminationWindow ( int  timeInSeconds)

Sets the size of the termination window in seconds before a terminated alarm is discarded from the local alarm list.

A server keeps keeps a terminated alarm in its list (marked as terminated) for a length of time specified by the termination window. This allows the central alarm server and/or other interested parties enough time to discover that the alarm has been terminated. The caller can set this window with this call.

Parameters
timeInSecondsis the size of the termination window. (Default: 30)

References TerminationWindow.

◆ SetAllowOfflineAlarms()

void SetAllowOfflineAlarms ( int  value)

Instructs the local alarm server to allow or disallow alarms for devices declared offline.

Parameters
valueis the desired setting (DEFAULT = FALSE)

◆ SetAvailableMemoryThreshold()

void SetAvailableMemoryThreshold ( UINT32  minAvailBytes)

Sets the threshold (in bytes) used in setting 'low main memory' alarms.

A server can set automatic 'low_main_memory' alarms by setting this threshold to a positive non-zero number. (default = 0).

Parameters
minAvailBytesgives the minimum number of bytes which should be available main memory before an alarm in is issued.

◆ SetDelayAlarmSurvey()

void SetDelayAlarmSurvey ( int  delayInSeconds)

Instructs the local alarm server to delay surveying alarms (for the alarm watch table)

If the alarm watch subsystem needs to be delayed for any reason (e.g. initialization) this routine may be used for such purposes. Also, the environment variable TINE_DELAY_ALARM_SURVEY can be used to delay the alarm watch survey during initialization.

Parameters
delayInSecondsis the amount of time in seconds to delay the alarm survey

◆ SetDeviceAlarm()

int SetDeviceAlarm ( char *  eqm,
char *  devname,
UINT32  almCode,
BYTE *  almData,
BYTE  almFlags 
)

Inserts an alarm into the local alarm server table.

Analogous to SetAlarmEx(), this call inserts alarms into the local alarm server table. A server can set an alarm for a specific device by giving its device name. This is sometime preferred over specifying its device number as in SetAlarm() or SetAlarmEx(). For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devnameis the registered device name of the device for which the alarm is to be set.
almCodeis the registered alarm code which defines the alarm
almDatais (up to 64-byte) the optional alarm data set, which supplies additional information for the alarm.
almFlagsis the optional alarm flag which is used in the alarm descriptor information.
Returns
0 upon success, otherwise a TINE error code.
if ((cc=SetDeviceAlarm("EQP1","DEVICE1",512,NULL,almNEW)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

◆ SetDeviceAlarmEx()

int SetDeviceAlarmEx ( char *  eqm,
char *  devname,
UINT32  almCode,
char *  almTag,
BYTE *  almData,
BYTE  flags 
)

Inserts an alarm into the local alarm server table.

Analogous to SetAlarmEx2(), this call inserts alarms into the local alarm server table. A server can set an alarm for a specific device by giving its device name. This is sometime preferred over specifying its device number as in SetAlarm() or SetAlarmEx(). For further information, please see the discussion of the local alarm server.

Parameters
eqmis the 6-character local equipment identifier name, which is internal to server.
devnameis the registered device name of the device for which the alarm is to be set.
almCodeis the registered alarm code which defines the alarm
almTagis an optional alarm tag to apply to the alarm. If NULL then the static alarm tag registered in the alarm definition for the alarm code given will be used.
almDatais (up to 64-byte) the optional alarm data set, which supplies additional information for the alarm.
almFlagsis the optional alarm flag which is used in the alarm descriptor information.
Returns
0 upon success, otherwise a TINE error code.
if ((cc=SetDeviceAlarm("EQP1","DEVICE1",512,NULL,almNEW)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

◆ SetFreeBlocksAlarmThreshold()

int SetFreeBlocksAlarmThreshold ( char *  path,
UINT32  minFreeBlocks 
)

Sets the threshold (in blocks) used in setting 'low disk space' alarms.

A server can set automatic 'low_disk_space' alarms by setting this threshold to a positive non-zero number for the disk path in question.
(default = 0).

Parameters
pathgives a path defining a disk mount to be monitored
minFreeBlocksgives the minimum number of (1-Kbyte) blocks which should be available before an alarm is issued.
Returns
0 upon success of a tine error code (resources_exhausted if an attempt to monitor more than 10 disks is attempted.
Note
This routine is only available for those operating systems with disks!

Example

SetFreeBlocksAlarmThreshold("C:\\HISTORY",200000);

◆ SetNewAlarmWindow()

void SetNewAlarmWindow ( int  timeInSeconds)

Sets the size of the new alarm window in seconds before a new alarm is no longer declared as new.

A server flags an alarm as new when it first appears in its list. After a short time span, the 'new' flag is removed by additional calls to SetAlarm for the same alarm. Default is 3 seconds. The caller can set this window with this call.

Parameters
timeInSecondsis the size of the new alarm window.

References AlarmWindow.

Variable Documentation

◆ AlarmDataChangeWindow

int AlarmDataChangeWindow = DEFAULT_ALARM_DATACHANGE_WINDOW

Determines the minimum time a data change alarm is to keep its timestamp in the local alarm table.

Alarms supplying data can be updating the alarm data quite often. Each change of alarm data will be represented in the alarm itself. However the timestamp of the alarm will not be updated unless a time interval larger than the AlarmDataChangeWindow has occured.

Default: 30 sec

Example:

AlarmDataChangeWindow = 40; // make the data change window a bit longer

Referenced by GetAlarmDataChangeWindow(), and SetAlarmDataChangeWindow().

◆ AlarmHeartbeat

int AlarmHeartbeat = DEFAULT_ALARM_HEARTBEAT

Determines the time interval at the 'HEARTBEAT' flag will be re-issued for persistent alarms.

The purpose of an alarm is to alert operators or maintenance staff to a problem.
If an alarm persists and is not dealt with, its timestamp is adjusted to the current time at intervals given by the AlarmHeartbeat value. This will call attention to the alarm. It also places the alarm at regular intervals in an archive of alarms. The developer can set this to any desired value (usually at initialization time).

Default: 1200 sec

Example:

AlarmHeartbeat = 3600; // heartbeat once per hour

Referenced by GetAlarmHeartbeat(), and SetAlarmHeartbeat().

◆ AlarmInstantWindow

int AlarmInstantWindow = DEFAULT_INSTANT_WINDOW

Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.

Transient alarms (with no duration) are immediately marked for termination as soon as they are set. The AlarmInstantWindow determines the amount of time in seconds an "Instant" Alarm is to remain in the alarm list (default 4 seconds).

Default: 30 sec

Example:

AlarmInstantWindow = 40; // keep transient alarms in the table a bit longer

◆ AlarmTestState

int AlarmTestState = 0

Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.

When developing the alarm logic for a particular server is frequently useful to mark the alarms being set with the almTEST bit. This can either be done on an individual basis using the SetAlarmEx() call, or one can set the global variable AlarmTestState to a non-zero value.

Default: FALSE

Example:

AlarmTestState = TRUE; // just testing ...

◆ AlarmWindow

int AlarmWindow = DEFAULT_ALARM_WINDOW

Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.

IO routines can sometimes set and clear alarms at such a high frequency that an alarm could go unnoticed if it appeared and disappeared before a client had a chance to read it. The AlarmWindow value determines the amount of time (in seconds) an alarm must remain in the local alarm list before it can be removed. The default is 3 seconds, which is generally fine for a central alarm reader polling at 1 second intervals.

Default: 3 sec

Example:

AlarmWindow = 10; // keep alarms in the table a bit longer

Referenced by GetNewAlarmWindow(), and SetNewAlarmWindow().

◆ MaxNumberAlarms

int MaxNumberAlarms = MAXALARMS

Determines the maximum number of alarms which can be maintained in the local alarm server's alarm list.

Each registered device can have an associated alarm link list. The length of this list will not exceed the value entered for MaxNumAlarms (default 100). The default is generally more than enough. Primarily this variable serves as a safety valve against sudden alarm avalanches.

Default: 100

Example:

MaxNumberAlarms = 500;

Referenced by GetAlarmTableMaximumSize(), and SetAlarmTableMaximumSize().

◆ TerminationWindow

int TerminationWindow = DEFAULT_TERMINATION_WINDOW

Determines the minimum time an expired alarm is to remain in the local alarm table.

Terminated alarms remain in the local alarm table for an amount of time specified by this variable. Thus a client monitoring the local alarm list will be able tosee that the alarm was set and has finished.

Default: 30 sec

Example:

TerminationWindow = 40; // keep terminated alarms in the table a bit longer

Referenced by GetAlarmTerminationWindow(), and SetAlarmTerminationWindow().

SetDefaultTransportMode
void SetDefaultTransportMode(int value)
Sets the default TINE transport mode used in client-side links.
Definition: client.c:107
ExportListTag::EqmNumProperties
short EqmNumProperties
Definition: srvcore.h:1801
GetGroupMemberList
GrpMember * GetGroupMemberList(GrpTblEntry *grp)
Returns a linked list of the group members for the callback group supplied.
Definition: client.c:767
AWLQS::fltr
char fltr[256]
Definition: almlib.h:459
USPECTRUM
Defines a TINE sextuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:778
GetArchivedDataAsSnapshot
int GetArchivedDataAsSnapshot(char *devsrv, time_t *target, float *fDataArray, int size)
Retrieves archive data array from the 'Central Archiver' as a snapshot at a given time.
Definition: toolkit.c:3403
RegisterCycleTriggerFunction
int RegisterCycleTriggerFunction(CYCBFCNP fcn, char *eqm, char *prpLst, void *reference)
Registers a cycle trigger callback dispatch function.
Definition: client.c:8246
ClnInfoStruct::pollingRate
SINT32 pollingRate
Definition: srvcore.h:2488
SetBurstLimit
int SetBurstLimit(int npackets)
Sets the burst limit in number of packets which are allowed to be set consecutively.
Definition: syslib.c:5215
hardware_busy
@ hardware_busy
Definition: errors.h:96
tcp_connection_closed
@ tcp_connection_closed
Definition: errors.h:274
DWINDOW::i2val
SINT32 i2val
Definition: tinetype.h:617
SetAllowBackgroundTaskReentrancy
void SetAllowBackgroundTaskReentrancy(int value)
Determines whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9362
HstTblEntry::memidx
UINT16 * memidx
Definition: hstlib.h:110
NAME16::name
char name[16]
Definition: tinetype.h:245
PrpQueryStruct::prpName
char prpName[PROPERTY_NAME_SIZE]
Definition: tinetype.h:4108
GetArchivedDataAsAnyEx
int GetArchivedDataAsAnyEx(char *devsrv, time_t start, time_t stop, int index, int sampleRaster, HstHdr *dataHdr, BYTE *data, int dataFmt, char *dataTag, int *num)
Retrieves archive data as requested in the call (extended form).
Definition: toolkit.c:3463
GetServerIdleState
int GetServerIdleState(char *eqm)
Gets the server's idle state.
Definition: syslib.c:4570
DADDRESS::i2val
SINT32 i2val
Definition: tinetype.h:601
GetLinkCallbackDelay
int GetLinkCallbackDelay(int linkId)
Gets the client-side callback notification.
Definition: client.c:10347
NAME64
Defines a TINE 64-character fixed-length string data object.
Definition: tinetype.h:273
GetCurrentDataTimeStampFromCallbackId
double GetCurrentDataTimeStampFromCallbackId(int id)
Returns the data timestamp associated with the callback identifier supplied.
Definition: client.c:7308
GetArchivedData
int GetArchivedData(char *devsrv, int index, time_t start, time_t stop, FLTINT *fiDataArray, short *num)
Retrieves archive data from the 'Central Archiver'.
Definition: toolkit.c:3357
PrpQueryStruct::rngMinValue
float rngMinValue
Definition: tinetype.h:4126
GetAlarmCodeOscillationWindow
int GetAlarmCodeOscillationWindow(const char *eqm, int code)
Gets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2599
GetAccessLockInformation
int GetAccessLockInformation(char *context, char *server, NAME32 *callerName, NAME32 *callerIp, NAME32 *timeLeft)
Acquires access lock information from the server specified.
Definition: client.c:10307
DBLDBL::d1val
double d1val
Definition: tinetype.h:392
FindNameServerOnNetwork
int FindNameServerOnNetwork()
Issues a multicast (or broadcast) to which the TINE equipment name server responds.
Definition: srvdbase.c:8858
GetTransferFlagFromCallbackId
UINT16 GetTransferFlagFromCallbackId(int id)
Gets the data transfer flag for the give callback identifier.
Definition: client.c:7415
GetArchivedDataAsFloat
int GetArchivedDataAsFloat(char *devsrv, time_t start, time_t stop, FLTINT *fiDataArray, int *num)
Retrieves archive data from the 'Central Archiver' requested in the call.
Definition: toolkit.c:3428
hdrSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:733
SetRespondToServiceRequests
void SetRespondToServiceRequests(int value)
Establishes whether a server can respond to multicast queries for its address.
SetDeviceRegion
int SetDeviceRegion(char *eqm, char *devname, char *region)
Assigns a region code to the device in question.
Definition: srvdbase.c:9077
name_unknown
@ name_unknown
Definition: errors.h:141
GetArchivedTraceDataAsFloat
int GetArchivedTraceDataAsFloat(char *devsrv, time_t start, time_t stop, float *fDataArray, int num)
Retrieves archive data from the 'Central Archiver' requested in the call.
Definition: toolkit.c:3382
ExportListTag::hEqmBusyMutex
MXHANDLE hEqmBusyMutex
Definition: srvcore.h:1847
ExportListTag::EqmName
char EqmName[EQM_NAME_SIZE]
Definition: srvcore.h:1783
PrpQueryStruct::prpArrayType
UINT16 prpArrayType
Definition: tinetype.h:4130
not_posted
@ not_posted
Definition: errors.h:181
DUNION::cptr
char * cptr
Definition: tinetype.h:975
PrpQueryStruct
Defines the definitive (non-legacy) property query structure.
Definition: tinetype.h:4106
SetLinkQueueDepth
void SetLinkQueueDepth(int linkId, int depth)
Sets the client-side receive queue depth for the link in question.
Definition: client.c:10336
UnlockEquipmentModules
int UnlockEquipmentModules(void)
Unlocks all equipment modules.
Definition: syslib.c:5340
DUNAME
Defines a TINE quintet data object containing a long integer value followed by a float triplet follow...
Definition: tinetype.h:713
SetDieAnotherDay
void SetDieAnotherDay(int value)
Revokes an 'exit' due to a 'die on' condition.
Definition: syslib.c:210
GetLastStoredData
int GetLastStoredData(char *eqm, char *prp, char *dev, int index, BYTE *data, int fmt, int len)
Retreives the last stored data set from disk for the given input parameters.
Definition: hstlib.c:4718
GetValuesAsNAME64DBL
int GetValuesAsNAME64DBL(DTYPE *d, NAME64DBL *ndval, int num)
Retrieves incoming data as an array of NAME64DBL values.
Definition: toolkit.c:5452
ExportListTag::amsDynSet
AMSDynSet amsDynSet
Definition: srvcore.h:1812
HistorySpecification::depthShort
int depthShort
Definition: hstlib.h:191
GetCurrentDataTimeStamp
double GetCurrentDataTimeStamp(int i)
Returns the data timestamp associated with the input link index.
Definition: client.c:7303
DSPECTRUM
Defines a TINE sextuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:753
GetGlobalsTimeStampFromCallbackId
double GetGlobalsTimeStampFromCallbackId(int id)
Returns the timestamp of the globals keyword with the given link callback ID.
Definition: client.c:10222
AWLQS::lowarnsev
int lowarnsev
Definition: almlib.h:439
ASPECTRUM
Defines a TINE septuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:799
un_allocated
@ un_allocated
Definition: errors.h:89
ExportListTag::adsTableSize
short adsTableSize
Definition: srvcore.h:1810
SetUseMultiThreadedEquipmentFunctions
void SetUseMultiThreadedEquipmentFunctions(int value)
Determines whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2080
ExportListTag::staChgCb
SCCBFCNP staChgCb
Definition: srvcore.h:1836
PutValuesFromLongEx
int PutValuesFromLongEx(DTYPE *d, SINT32 *lval, int num, int offset)
Submits outgoing data from an array of long integers.
Definition: toolkit.c:850
srvlog
int srvlog(char *filename, char *tag, char *text,...)
Puts entries into a named log file.
Definition: syslib.c:4991
PrpQueryStruct::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4118
XPropertyQueryStruct::rngMaxValue
float rngMaxValue
Definition: XPropertyQueryStruct.txt:13
GetLastGlobalDataSize
int GetLastGlobalDataSize(int id)
Returns the most recent data size of the global link index supplied.
Definition: client.c:10227
NAME64I
Defines a TINE pairwise data object containing a 64-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:332
ExportListTag::EqmDevLst
ExportDeviceType * EqmDevLst
Definition: srvcore.h:1799
RedirectProperty
int RedirectProperty(char *eqm, char *property, char *rdr)
Applies the redirection string to the given property.
Definition: srvdbase.c:5961
software_error
@ software_error
Definition: errors.h:195
srvip.h
runtime_error
@ runtime_error
Definition: errors.h:94
SetUseStandardHistoryFiles
void SetUseStandardHistoryFiles(int value)
Instructs the server to use the so-called 'standard' set of local history files.
Definition: hstlib.c:302
AppendAlarmWatchTable
int AppendAlarmWatchTable(char *eqm, char *prp, char *dev, int siz, int fmt, int atyp, int sev, int sys, ALM_THRESHOLDS *thr)
Inserts a property to be monitored into the local alarm server's Watch Table.
Definition: Alarm API Calls:2513
DeviceInfoStruct::region
int region
Definition: srvcore.h:1748
DSUMMARY::min
double min
Definition: tinetype.h:668
illegal_command
@ illegal_command
Definition: errors.h:164
ResubmitDataLink
int ResubmitDataLink(int id)
Resubmits a (CM_SINGLE) data link.
Definition: client.c:7297
GetServersEx
int GetServersEx(char *context, NAME16 *slist, int *num)
Retrieves a list of FECs via query to the Equipment Name Server.
Definition: toolkit.c:3861
AlarmInstantWindow
int AlarmInstantWindow
Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.
Definition: Alarm API Calls:68
GetDefaultDeviceRegion
int GetDefaultDeviceRegion(char *eqmName)
Returns the default device region.
Definition: srvdbase.c:6734
SetSystemDataStamp
void SetSystemDataStamp(int value)
Sets the global system data stamp with which to tag outbound data sets.
Definition: syslib.c:6239
out_of_server_memory
@ out_of_server_memory
Definition: errors.h:162
_SystemAssignBufferSpaceEx
int _SystemAssignBufferSpaceEx(UINT32 clnRcvBufferSpace, UINT32 srvRcvBufferSpace, UINT32 clnSndBufferSpace, UINT32 srvSndBufferSpace)
Assigns specific buffer capacity for certain configurable TINE sockets (extended version).
Definition: iplib.c:303
SetAlarm
int SetAlarm(char *eqm, int devNr, UINT32 almCode, BYTE *almData)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2271
reacquire_address
@ reacquire_address
Definition: errors.h:168
mcast_init_error
@ mcast_init_error
Definition: errors.h:231
ExportListTag::followers
NAME64 * followers
Definition: srvcore.h:1818
XPropertyQueryStruct
Defines an extended property query structure (legacy)
Definition: XPropertyQueryStruct.txt:1
DPOINT::y
float y
Definition: tinetype.h:416
RegisterPropertyAlias
int RegisterPropertyAlias(char *eqm, char *property, char *alias)
Assigns an alias to the specified property.
Definition: srvdbase.c:5557
SetSuppressHeartbeatNotification
void SetSuppressHeartbeatNotification(int value)
Determines whether CM_DATACHANGE data links signal incoming data by calling the corresonding callback...
Definition: client.c:7420
HstTblEntry::usrstamp
SINT32 * usrstamp
Definition: hstlib.h:109
illegal_delimiter
@ illegal_delimiter
Definition: errors.h:81
SetEnforceMcaAcquisition
void SetEnforceMcaAcquisition(int value)
Forces multi-channel array handshaking if set to TRUE.
Definition: srvdbase.c:9338
hdrGSPECTRUM::s_start
float s_start
Definition: tinetype.h:827
AppendAlarmInfoTable
int AppendAlarmInfoTable(char *eqm, ADS *ads)
Inserts an alarm definition into the alarm definition table.
Definition: Alarm API Calls:2450
GetEnforceMcaAcquisition
int GetEnforceMcaAcquisition(void)
returns the setting for multi-channel array handshaking enforcement.
Definition: srvdbase.c:9342
already_assigned
@ already_assigned
Definition: errors.h:229
GetRejectOverloadedMetaProperties
int GetRejectOverloadedMetaProperties(void)
returns the current setting
Definition: srvdbase.c:6475
SystemStartCycleTimer
void SystemStartCycleTimer(void)
Starts a TINE engine 'cycler' running (SystemCycle()) in a separate thread.
Definition: tine32.c:243
GetContractListCapacity
int GetContractListCapacity(void)
Gets the maximum number of contracts a server will service.
Definition: srvdbase.c:8698
RegisterStateChangeCallback
int RegisterStateChangeCallback(SCCBFCNP fcn, const char *eqm, const char *stateKey, void *reference)
Registers a state change callback dispatch function.
Definition: srvdbase.c:8688
RegisterFecInformation
int RegisterFecInformation(char *name, char *sub, char *cntxt, char *dsc, char *loc, char *hdw, char *resp, UINT16 poff)
Assigns a FEC Name and descriptive information to the server process.
Definition: srvdbase.c:5512
TImageSourceHeader::cameraPortId
UINT32 cameraPortId
Definition: tinetype.h:864
HstTblEntry::heartbeat
int heartbeat
Definition: hstlib.h:86
PropertyQueryStructEx::prpGraphType
BYTE prpGraphType
Definition: tinetype.h:4059
IsServerRunning
int IsServerRunning(void)
Returns TRUE (non zero) if the server kernel is fully initialized and ready.
Definition: syslib.c:6247
GetContractDataReference
void ** GetContractDataReference(ExportListStruct *el)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:5251
HistorySpecification::aTolerance
float aTolerance
Definition: hstlib.h:195
GetDeviceNumber
int GetDeviceNumber(char *eqm, char *devname)
Gives the registered device number for the specified device name.
Definition: srvdbase.c:5323
RegisterServer
int RegisterServer(char *expName, int numdevices, char *deviceNameList[])
Registers an internal equipment module with the TINE server engine An internal equipment module is pr...
Definition: srvdbase.c:4877
SetCycleMicroDelay
int SetCycleMicroDelay(int usecs)
Sets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5236
PropertyQueryStructEx::prpMinValue
float prpMinValue
Definition: tinetype.h:4049
illegal_read_write
@ illegal_read_write
Definition: errors.h:161
DTYPE::data
DUNION data
Definition: tinetype.h:1007
SetServerThreadPriority
int SetServerThreadPriority(int priority)
Determines the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:3533
GetClientThreadPriority
int GetClientThreadPriority(void)
Returns the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:3545
connection_timeout
@ connection_timeout
Definition: errors.h:188
function_deprecated
@ function_deprecated
Definition: errors.h:154
HstTblEntry::lastArchiveSts
int lastArchiveSts
Definition: hstlib.h:102
GetLastLinkError
char * GetLastLinkError(short cc, char *errstr)
The error string associated with the input error number.
Definition: client.c:7370
GetAutoLinkErrorAlarms
int GetAutoLinkErrorAlarms(void)
Gets the current setting of the autoLinkErrorAlarms flag.
Definition: client.c:10459
DUSTRING
Defines a TINE quintet data object containing a long integer value followed by a float doublet follow...
Definition: tinetype.h:696
HstTblEntry::storeSummary
int storeSummary
Definition: hstlib.h:97
SetCycleDelay
int SetCycleDelay(int msecs)
Sets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5226
ModifyLinkAttributes
int ModifyLinkAttributes(int i, short access, int pollingRate, void(*cbFcn)(int, int), int mode, UINT32 cbId)
Allows the caller to assign new link attributes to an active link.
Definition: client.c:10352
DBITFIELD
describes the fields within the named bitfield
NAME32::name
char name[32]
Definition: tinetype.h:255
header_not_found
@ header_not_found
Definition: errors.h:166
system_error
@ system_error
Definition: errors.h:95
parsing_error
@ parsing_error
Definition: errors.h:157
GetSystemRequireAcknowledgments
int GetSystemRequireAcknowledgments(void)
Gets the require acknowledgments flag to the value given.
Definition: syslib.c:6235
invalid_index
@ invalid_index
Definition: errors.h:149
HstTblEntry::hasDataPool
int hasDataPool
Definition: hstlib.h:98
address_unresolved
@ address_unresolved
Definition: errors.h:138
out_of_tolerance
@ out_of_tolerance
Definition: errors.h:282
HstTblEntry::c
CONTRACT c
Definition: hstlib.h:79
illegal_protocol
@ illegal_protocol
Definition: errors.h:184
RemoveProperty
int RemoveProperty(char *eqm, char *property)
Removes a property name from an equipment module's property list.
Definition: srvdbase.c:5946
ALM_THRESHOLDS::hiwarnsev
int hiwarnsev
Definition: almlib.h:557
SetUseMultiThreadedBackgroundTasks
void SetUseMultiThreadedBackgroundTasks(int value)
Determines whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2071
GetAlarmOscillationWindow
int GetAlarmOscillationWindow(void)
Gets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2585
GetCycleMicroDelay
int GetCycleMicroDelay(void)
Gets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5248
ExportListTag::next
struct ExportListTag * next
Definition: srvcore.h:1867
GetArchivedDataAsText
int GetArchivedDataAsText(char *devsrv, time_t start, time_t stop, NAME32I *niDataArray, int *num)
Retrieves archive data as text from the 'Central Archiver'.
Definition: toolkit.c:3571
PropertyQueryStruct::prpFormat
BYTE prpFormat
Definition: tinetype.h:4029
SystemGetProcessId
UINT32 SystemGetProcessId(void)
Returns the process id of the running application if available.
Definition: srvdbase.c:6784
GetForceSharedMemory
int GetForceSharedMemory(void)
returns the current setting of this feature.
DataPoolEntry
Definition: hstlib.h:67
MakeDataTimeStamp
double MakeDataTimeStamp(void)
Returns a data timestamp according to the current system time.
Definition: syslib.c:5195
SetGlobalsHeartbeat
void SetGlobalsHeartbeat(int value)
sets the heartbeat (in seconds) during which time no 'timeout' messages will be sent to a globals dis...
Definition: client.c:10293
PollExternalDescriptor
int PollExternalDescriptor(SOCKET s, int events)
registers an external socket to the server's poll set
GetStockProperties
int GetStockProperties(NAME64 *plist, int *num)
Retrieves a list of available stock properties.
Definition: toolkit.c:4117
semaphore_busy
@ semaphore_busy
Definition: errors.h:174
ExportListTag::netsScanFlag
int netsScanFlag
Definition: srvcore.h:1861
PropertyQueryStruct::prpAccess
BYTE prpAccess
Definition: tinetype.h:4030
AttachLinkEx
int AttachLinkEx(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access, int pollingRate, void(*cbFcn)(int, int), int mode, UINT32 cbId)
Initiates an asynchronous link.
Definition: client.c:6813
ExportListTag::EqmGroup
char EqmGroup[EXPORT_NAME_SIZE]
Definition: srvcore.h:1785
GetBitfieldAsString
int GetBitfieldAsString(char *srv, char *tag, UINT32 value, char *strbuf, int buflen)
Retrieves the requested field value from a bit field as a string value.
Definition: srvdbase.c:6399
GetAlarmTerminationWindow
int GetAlarmTerminationWindow(void)
Gets the size of the termination window in seconds before a terminated alarm is discarded from the lo...
Definition: Alarm API Calls:2215
gStartupDebug
int gStartupDebug
Determines whether server initialization messages are displayed or not.
Definition: syslib.c:104
GetSubscriptionRenewalThreshold
int GetSubscriptionRenewalThreshold(int linkId, int *thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2680
FWINDOW
Defines a TINE quadruplet data object containing a long integer doublet followed by a float doublet.
Definition: tinetype.h:626
_SystemAssignUdpSendBufferSpace
int _SystemAssignUdpSendBufferSpace(UINT32 sndBufferSpace)
Assigns explicit udp send buffer capacity.
Definition: iplib.c:292
ApplyHistoryFilter
int ApplyHistoryFilter(int idx, char *parsableFilterString)
Applies a history filter to an existing local history record.
Definition: hstlib.c:4384
ASPECTRUM::comment
char comment[80]
Definition: tinetype.h:801
LastCompletionDataType
int LastCompletionDataType
Supplies the data type of the most recent link.
Definition: client.c:249
ExportListTag::registered
short registered
Definition: srvcore.h:1805
GetLastGlobalDataSizeFromCallbackId
int GetLastGlobalDataSizeFromCallbackId(int id)
Returns the most recent data size of the global link callback id supplied.
Definition: client.c:10233
DTYPE::xferReason
short xferReason
Definition: tinetype.h:1001
CLOG::context
char context[32]
Definition: tinetype.h:192
GetAlarmCollapseWindow
int GetAlarmCollapseWindow(void)
Gets the size of the alarm collapse window in counts.
Definition: Alarm API Calls:2613
feclog
int feclog(char *text,...)
Puts entries into a server's FEC log file.
Definition: syslib.c:4957
GetExportedDeviceList
NAME64 * GetExportedDeviceList(char *eqm)
Returns the list of exported device names explicitly associated with the equipment module passed as t...
Definition: srvdbase.c:8961
driver_not_installed
@ driver_not_installed
Definition: errors.h:171
device_error
@ device_error
Definition: errors.h:238
_SystemStop
void _SystemStop(int exitOnFree)
Free all system resources and optionally exit.
Definition: syslib.c:5347
NAME64DBLDBL
Defines a TINE triplet data object containing a 64-character fixed-length string value followed by a ...
Definition: tinetype.h:495
ALM_THRESHOLDS::codeHigh
int codeHigh
Definition: almlib.h:568
DUNION::lptr
SINT32 * lptr
Definition: tinetype.h:980
HstTblEntry::depthDays
int depthDays
Definition: hstlib.h:84
link_not_open
@ link_not_open
Definition: errors.h:128
SetAllowRemoteManagement
void SetAllowRemoteManagement(int value)
Determines whether remote management via stock properties is possible.
Definition: srvdbase.c:6487
GetRegisteredUsers
int GetRegisteredUsers(const char *eqm, NAME16 *userlist, int *listsize)
retrieves the currently assigned users with WRITE permissions on the equipment module in question.
Definition: srvdbase.c:769
DeviceInfoStruct
struct DeviceInfoStruct DeviceInfoStruct
SetScanForUsersFiles
int SetScanForUsersFiles(const char *eqm)
Instructs the initialization process to look for device and property specific 'users' files.
Definition: srvdbase.c:7056
SetServerTransportCeiling
void SetServerTransportCeiling(int value)
Sets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:144
GetTcpConnectionTableSize
int GetTcpConnectionTableSize(void)
returns the current setting of the tcp connection table size.
MaxNumClients
int MaxNumClients
Determines the maximum number of clients a server will service.
Definition: srvdbase.c:5061
SetSubscriptionRenewalThreshold
int SetSubscriptionRenewalThreshold(int linkId, int thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2665
SetSystemAlias
int SetSystemAlias(char *alias, char *name)
Sets an alias for either a registered property or registered device.
Definition: srvdbase.c:9370
GetGlobalsSystemStamp
int GetGlobalsSystemStamp(int glbId)
Gets the system data stamp with which the incoming globals data set has been tagged.
Definition: client.c:7388
DBLINT::ival
SINT32 ival
Definition: tinetype.h:379
GetSystemStampDelay
int GetSystemStampDelay(void)
Returns the registered system cycle delay.
Definition: client.c:8297
recvNetGlobalEx
int recvNetGlobalEx(const char *keyword, DTYPE *dout, void(*cbFcn)(int, int), UINT32 cbId)
Initiates a net globals data link (extended call).
Definition: client.c:7695
NAME48I::name
char name[48]
Definition: tinetype.h:322
NAME16I
Defines a TINE pairwise data object containing a 16-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:296
SetMCastTTL
int SetMCastTTL(int ttl)
Sets the TINE multicast Time-To-Live.
Definition: iplib.c:2394
SetDelayAlarmSurvey
void SetDelayAlarmSurvey(int delayInSeconds)
Instructs the local alarm server to delay surveying alarms (for the alarm watch table)
Definition: Alarm API Calls:1699
PrpQueryStruct::prpMinValue
float prpMinValue
Definition: tinetype.h:4114
_SystemReset
int _SystemReset(int level)
Flushes all entry tables and returns all counters and semaphores to their initial state.
Definition: syslib.c:5440
unauthorised_action
@ unauthorised_action
Definition: errors.h:113
GetDevicePropertyInformation
int GetDevicePropertyInformation(char *srv, PropertyQueryStruct *srvProps, int *num)
Retrieves a list of property query structures for the device server specified.
Definition: toolkit.c:3751
HstTblEntry::rmvFileName
char rmvFileName[32]
Definition: hstlib.h:106
not_initialized
@ not_initialized
Definition: errors.h:248
ExportListTag::EqmWcPrpLst
NAME64 * EqmWcPrpLst
Definition: srvcore.h:1798
useMonthlyHistoryFiles
int useMonthlyHistoryFiles
Instructs the local history server to keep monthly archive files instead of daily files.
Definition: hstlib.c:238
XPropertyQueryStruct::rowSize
UINT16 rowSize
Definition: XPropertyQueryStruct.txt:17
SystemWaitCycleTimer
void SystemWaitCycleTimer(void)
Waits for the TINE engine 'cycler' thread to stop running.
Definition: tine32.c:237
SetDieFunction
void SetDieFunction(DIEFCNP fcn)
Sets a dispatch routine to call if and when the FEC process dies due to e.g. 'address in use'.
Definition: syslib.c:216
GetCycleMicroDelay
int GetCycleMicroDelay(void)
Gets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5248
SetServerThreadPriority
int SetServerThreadPriority(int priority)
Determines the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:3533
SetAlarmEx
int SetAlarmEx(char *eqm, int devNr, UINT32 almCode, BYTE *almData, BYTE flags)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2275
SetAlarmEx2
int SetAlarmEx2(char *eqm, int devNr, UINT32 almCode, char *almTag, BYTE *almData, BYTE flags)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2286
AWLQS::cntThreshold
int cntThreshold
Definition: almlib.h:444
GetSystemSubscriptionRenewalLength
int GetSystemSubscriptionRenewalLength(void)
Gets the current contract subscription renewal length.
Definition: srvdbase.c:6554
name_server_unknown
@ name_server_unknown
Definition: errors.h:245
GetDeviceGroups
int GetDeviceGroups(char *eqm, NAME64 *groups, int *len)
Gets a NAME64 list of registered device groups.
Definition: srvdbase.c:9105
address_unknown
@ address_unknown
Definition: errors.h:140
CloseLink
int CloseLink(int linkId)
Cancels an active data link.
Definition: client.c:7007
SetDieOnAddressInUse
void SetDieOnAddressInUse(int value)
Determines whether a server will exit() if an 'address in use' message is delivered by the ENS upon r...
Definition: syslib.c:201
SetClientThreadPriority
int SetClientThreadPriority(int priority)
Determines the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:3541
DIMAGE::frameHeader
TImageFrameHeader frameHeader
Definition: tinetype.h:928
SetUseMultiThreadedBackgroundTasks
void SetUseMultiThreadedBackgroundTasks(int value)
Determines whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2071
SetPropertySubscriptionRenewalLength
int SetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int value)
Sets the current subscription renewal length for the property specified.
Definition: srvdbase.c:2604
max_alarms_exceeded
@ max_alarms_exceeded
Definition: errors.h:207
ExportListStruct
struct ExportListTag ExportListStruct
Linked list structure used to hold equipment module information.
at_limit
@ at_limit
Definition: errors.h:210
XPropertyQueryStruct::numRows
UINT16 numRows
Definition: XPropertyQueryStruct.txt:16
RegisterPropertyInformation
int RegisterPropertyInformation(char *eqm, char *prp, DTYPE *dout, DTYPE *din, short acc, short atype, UINT16 rowlen, char *dsc, int pid, char *rdr)
Assigns pertinent information for the specified property.
Definition: srvdbase.c:5940
DFILTER::f1val
float f1val
Definition: tinetype.h:684
CLOG::timeSent
double timeSent
Definition: tinetype.h:198
GetSystemVersionString
char * GetSystemVersionString(void)
Returns the system version appended with the library build id as a character string.
Definition: srvdbase.c:3570
DeviceInfoStruct
Definition: srvcore.h:1739
GetValuesAsString
int GetValuesAsString(DTYPE *d, char *str, UINT32 *dsiz)
Retrieves incoming data as a string buffer.
Definition: toolkit.c:4906
NAME32
Defines a TINE 32-character fixed-length string data object.
Definition: tinetype.h:253
GetHistoryFilesRepository
char * GetHistoryFilesRepository(void)
Returns the directory location where local history files are maintained.
Definition: hstlib.c:204
GetCompletionSourceFromCallbackId
short GetCompletionSourceFromCallbackId(int id)
Returns the error source associated with the callback identifier supplied.
Definition: client.c:10207
information_static
@ information_static
Definition: errors.h:268
PutDataTimeStamp
double PutDataTimeStamp(double toffset, time_t tsec, int tmsec)
Returns a data timestamp according to the input parameters given.
Definition: syslib.c:5199
DataPoolEntry::capacity
int capacity
Definition: hstlib.h:69
DADDRESS::i3val
SINT32 i3val
Definition: tinetype.h:602
FLTINTINT
Defines a TINE triplet data object containing a float value followed by a long integer doublet.
Definition: tinetype.h:522
GetRespondToServiceRequests
int GetRespondToServiceRequests(void)
Returns whether a server can respond to multicast queries for its address.
hdrGSPECTRUM
Defines a TINE mapped data object corresponding to a doocs GSPECTRUM.
Definition: tinetype.h:822
has_bitfield_tag
@ has_bitfield_tag
Definition: errors.h:253
USPECTRUM::s_start
float s_start
Definition: tinetype.h:782
AlarmWindow
int AlarmWindow
Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.
Definition: Alarm API Calls:66
RegisterPropertyAndHandlerEx
int RegisterPropertyAndHandlerEx(char *eqm, XEQMFCNP hndlr, char *prp, DTYPE *dout, DTYPE *din, short acc, short atype, UINT16 rowlen, char *dsc, PrpEgu *egu, PrpEgu *xegu, int pid, void *ref)
Registers a device property and a property handler with the TINE server engine (extended call)....
Definition: srvdbase.c:4842
GetDieOnSocketError
int GetDieOnSocketError(void)
Returns the current setting for this feature.
Definition: syslib.c:224
ExportListTag::EqmRef
void * EqmRef
Definition: srvcore.h:1853
HstTblEntry::range
float range
Definition: hstlib.h:89
FeclogDepth
int FeclogDepth
Determines the approximate size of the server's log file in lines.
Definition: syslib.c:4784
invalid_property
@ invalid_property
Definition: errors.h:139
GetCycleDelay
int GetCycleDelay(void)
Gets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5232
SetAllowRemoteDebugging
void SetAllowRemoteDebugging(int value)
enables/disables remote debugging
GetCompletionStatus
char * GetCompletionStatus(int i)
Returns the error string associated with the input link index.
Definition: client.c:10175
GetRegisteredPropertyList
int GetRegisteredPropertyList(char *eqm, NAME64 *prpNames, int *nprps)
Returns the list of registered properties explicitly associated with the equipment module passed as t...
Definition: srvdbase.c:4135
SetDeviceAlarmEx
int SetDeviceAlarmEx(char *eqm, char *devname, UINT32 almCode, char *almTag, BYTE *almData, BYTE flags)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2309
udpSrvSck
SOCKET udpSrvSck
ExportListTag::EqmDevXRef
HashXRefStruct ** EqmDevXRef
Definition: srvcore.h:1800
GetSystemPropertiesEx
int GetSystemPropertiesEx(char *srv, NAME64 *plist, int *num, int flags)
Retrieves a list of properties via query to the server given (extended call)
Definition: toolkit.c:4135
ExportListTag::failoverState
int failoverState
Definition: srvcore.h:1863
remitted_data_lost
@ remitted_data_lost
Definition: errors.h:130
reset_mca_property
@ reset_mca_property
Definition: errors.h:269
operation_busy
@ operation_busy
Definition: errors.h:187
INTINT::i2val
SINT32 i2val
Definition: tinetype.h:352
XPropertyQueryStruct::prpArrayType
UINT16 prpArrayType
Definition: XPropertyQueryStruct.txt:18
ClnInfo
struct ClnInfoStruct ClnInfo
Client Information Structure used in GetCallerInformation.
NAME16I::ival
SINT32 ival
Definition: tinetype.h:299
DSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:756
SetNumberDataOutputBuffers
int SetNumberDataOutputBuffers(int value)
sets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:5365
SetStreamTransportRetryLimit
void SetStreamTransportRetryLimit(int value)
Sets the stream transport retry limit.
Definition: syslib.c:3914
out_of_client_memory
@ out_of_client_memory
Definition: errors.h:136
ReassignLinkData
int ReassignLinkData(int id, void *buffer, UINT32 length)
Reassigns the bound data buffer for the link table id given.
Definition: client.c:4608
GetBackgroundThreadPriority
int GetBackgroundThreadPriority(void)
Returns the priority of the registered background threads.
Definition: syslib.c:3553
ExportListTag::EqmGroupDevPostfix
char EqmGroupDevPostfix[XFIX_SIZE]
Definition: srvcore.h:1787
DBLDBLDBL
Defines a TINE triplet data object containing a double triplet.
Definition: tinetype.h:586
DSUMMARY
Used to reflect the doocs THUMBNAIL type for summarized archive data.
Definition: tinetype.h:663
GetFecHome
char * GetFecHome(void)
Gets the current setting for the fec home database repository.
Definition: syslib.c:6158
PrpQueryStruct::prpAccess
BYTE prpAccess
Definition: tinetype.h:4123
GetPropertyBuffer
BYTE * GetPropertyBuffer(char *eqmName, char *prpName)
Returns the address of the buffer previously assigned to the property given.
Definition: srvdbase.c:2622
ExportListTag::hasRegisteredDevicesNames
short hasRegisteredDevicesNames
Definition: srvcore.h:1796
SetFeclogDepth
void SetFeclogDepth(int value)
Determines the approximate size of the server's log file in lines.
Definition: syslib.c:4785
link_error
@ link_error
Definition: errors.h:151
ALM_THRESHOLDS::normalIsAlarm
int normalIsAlarm
Definition: almlib.h:566
not_running
@ not_running
Definition: errors.h:179
DUNION::vptr
void * vptr
Definition: tinetype.h:974
ExportListTag::ncontracts
short ncontracts
Definition: srvcore.h:1815
NAME16
Defines a TINE 16-character fixed-length string data object.
Definition: tinetype.h:243
no_file_space
@ no_file_space
Definition: errors.h:127
AWLQS::cnt
int cnt
Definition: almlib.h:443
DIMAGE::frameBufferSize
UINT32 frameBufferSize
Definition: tinetype.h:929
RegisterErrorCode
int RegisterErrorCode(int code, char *msgShort, char *msgLong)
Registers the error code given and associates with the given message strings.
DTYPE::dStamp
int dStamp
Definition: tinetype.h:1002
SetDeviceLocation
int SetDeviceLocation(char *eqm, char *devname, char *location)
Assigns a device location text to the specified device.
Definition: srvdbase.c:9034
SystemWaitCycleTimer
void SystemWaitCycleTimer(void)
Waits for the TINE engine 'cycler' thread to stop running.
Definition: tine32.c:237
SystemGetStartupDirectory
char * SystemGetStartupDirectory(void)
Returns the working directory in use when this process started.
Definition: srvdbase.c:6771
AWLQS::hiwarnsev
int hiwarnsev
Definition: almlib.h:437
ClnInfoStruct::starttime
UINT32 starttime
Definition: srvcore.h:2489
GetContractDataReference
void ** GetContractDataReference(ExportListStruct *el)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:5251
GetGroupDeviceMembers
int GetGroupDeviceMembers(char *eqm, char *grpname, NAME64 *members, int *len)
Gets the NAME64 list of member devices associated with the given group.
Definition: srvdbase.c:9126
RegisterMultiChannelGroupDevice
int RegisterMultiChannelGroupDevice(char *eqm, char *grpname, char *devname, int grpindex, int grpsize)
Assigns a device name to the specified multi-channel group device.
Definition: srvdbase.c:9084
FindServerOnNetwork
int FindServerOnNetwork(char *context, char *eqmName, char *exportName, FecAddrStruct *fec, ExpDataStruct *srv)
Issues a multicast (or broadcast) to which configured TINE central servers respond.
Definition: srvdbase.c:8500
GetBurstLimit
int GetBurstLimit(void)
Gets the burst limit in number of packets which are allowed to be sent consecutively.
Definition: syslib.c:5222
HRS::archiveRate
int archiveRate
Definition: hstlib.h:149
udp_socket_error
@ udp_socket_error
Definition: errors.h:225
GetFieldFromBitfield
int GetFieldFromBitfield(char *srv, char *tag, char *field, UINT32 value)
Retrieves the requested field value from a bit field.
Definition: srvdbase.c:6416
link_exists
@ link_exists
Definition: errors.h:206
NAME48I
Defines a TINE pairwise data object containing a 48-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:320
AssignPropertyList
int AssignPropertyList(char *eqm, char *devname, char *listname, int listsize, NAME64 *list)
Assigns the given property list to the given device to be used in device-oriented queries.
Definition: srvdbase.c:8718
ExportListTag::almdone
short almdone
Definition: srvcore.h:1827
LastCompletionDataSize
UINT32 LastCompletionDataSize
Supplies the data size of the most recent link.
Definition: client.c:248
SetSystemAttribute
int SetSystemAttribute(char *attribute, void *value, int format)
Definition: srvdbase.c:9433
RegisteredPropertyIsWritable
int RegisteredPropertyIsWritable(char *eqm, char *prpName)
Returns TRUE if the given property is registered with the CA_WRITE access bit (in at least one overlo...
Definition: srvdbase.c:4709
illegal_device_number
@ illegal_device_number
Definition: errors.h:116
CloseGlobalLink
int CloseGlobalLink(int linkId)
Closes an active globals data link.
Definition: client.c:6825
GetMCastTTL
int GetMCastTTL(void)
Gets the TINE multicast Time-To-Live.
Definition: iplib.c:2401
ALM_THRESHOLDS::losev
int losev
Definition: almlib.h:558
PrpQueryStruct::prpGraphType
BYTE prpGraphType
Definition: tinetype.h:4124
mcastClnSck
SOCKET mcastClnSck
GetSchedulerInterval
int GetSchedulerInterval(void)
Gets the system scheduler interval.
Definition: srvdbase.c:6512
MDX
Multi-Dimension array aXis.
Definition: tinetype.h:1024
SetAppDate
void SetAppDate(time_t appdate)
Sets the compilation date of the current running server process.
Definition: srvdbase.c:6152
SetForceSharedMemory
void SetForceSharedMemory(int value)
Disables or enables the 'useLoopBack' flag according to the value given (boolean).
CLOG::timeLogged
double timeLogged
Definition: tinetype.h:199
GetGlobalsDataStamp
int GetGlobalsDataStamp(int glbId)
Gets the data stamp with which the incoming globals data set has been tagged.
Definition: client.c:7404
RestorePropertyValues
int RestorePropertyValues(const char *eqmName, const char *prpName, void *values, short format, int size)
Retrieves the value settings of the property name given from disk.
Definition: toolkit.c:4367
mutex_error
@ mutex_error
Definition: errors.h:226
server_name_in_use
@ server_name_in_use
Definition: errors.h:133
SetInitializeIdle
void SetInitializeIdle(int value)
When set to TRUE, all equipment modules are initialized in an 'idle' state.
Definition: srvdbase.c:6686
CLOG::logger
char logger[32]
Definition: tinetype.h:194
PrpQueryStruct::numRows
UINT16 numRows
Definition: tinetype.h:4128
DUNION::bptr
UINT8 * bptr
Definition: tinetype.h:977
GetPropertyListStruct
ExportPropertyListStruct * GetPropertyListStruct(char *eqm, char *prpName, char *devName)
Definition: srvdbase.c:3848
HstTblEntry::prd
PrpRedirBlk * prd
Definition: hstlib.h:111
tcp_socket_error
@ tcp_socket_error
Definition: errors.h:201
device_not_connected
@ device_not_connected
Definition: errors.h:112
GetCompletionDataSizeFromCallbackId
int GetCompletionDataSizeFromCallbackId(int id)
Returns the most recent data size of the link associated with the callback id supplied.
Definition: client.c:7285
AWLQS::siz
int siz
Definition: almlib.h:431
gpib_error
@ gpib_error
Definition: errors.h:185
TErrorList
TErrorList
Definition: errors.h:74
_SystemDelay
void _SystemDelay(int msec)
Blocks any activity inside a TINE task or equipment modules for the specified amount of time.
Definition: syslib.c:5312
_SystemSchedulePropertyEx
int _SystemSchedulePropertyEx(char *eqm, char *prp, int scope)
Schedules the given property for immediate delivery to all attached clients according scope specified...
Definition: syslib.c:5535
get_subscription_id
@ get_subscription_id
Definition: errors.h:211
DUNION::dptr
double * dptr
Definition: tinetype.h:989
GetConnectionList
int GetConnectionList(char *lstbuf, int bufsize)
Gets the current connection table.
Definition: client.c:401
SetKernelPriority
int SetKernelPriority(int priority)
Determines the priority of TINE kernel threads.
Definition: syslib.c:3557
ResolveSystemAlias
char * ResolveSystemAlias(char *alias)
Gets the registered property or registered device name for the given alias.
Definition: srvdbase.c:9378
FLTINTINT::fval
float fval
Definition: tinetype.h:524
GetRetardSingleContractRemoval
int GetRetardSingleContractRemoval(void)
returns the current setting of this feature.
Definition: srvdbase.c:9358
INTINTINT
Defines a TINE triplet data object containing a set of three long integer values.
Definition: tinetype.h:570
GetAlarmDataChangeWindow
int GetAlarmDataChangeWindow(void)
Gets the size of the alarm datachange window in seconds.
Definition: Alarm API Calls:2217
SetStandAlone
int SetStandAlone(int value)
Sets stand-alone mode.
Definition: srvdbase.c:6694
ALM_THRESHOLDS::hisev
int hisev
Definition: almlib.h:556
HRS::pTolerance
float pTolerance
Definition: hstlib.h:153
ALM_THRESHOLDS::hi
float hi
Definition: almlib.h:560
FLTINTINT::i1val
SINT32 i1val
Definition: tinetype.h:525
DSPECTRUM::d_spect_array
float d_spect_array[SPECTRUM_STD_SIZE]
Definition: tinetype.h:760
ExportListTag::EqmAlias
char EqmAlias[EQM_NAME_SIZE]
Definition: srvcore.h:1784
invalid_field
@ invalid_field
Definition: errors.h:230
NAME64DBLDBLDBL
Defines a TINE quad data object containing a 64-character fixed-length string value followed by a dou...
Definition: tinetype.h:508
FWINDOW::i1val
SINT32 i1val
Definition: tinetype.h:628
GetNumContracts
int GetNumContracts(char *eqm)
Returns the current number of contracts associated with the equipment module given.
Definition: srvdbase.c:5327
RegisterUserFunction
int RegisterUserFunction(char *name, int(*fcn)(int argc, char *argv[]))
Registers a user-defined function which can be accessed via the TINE command line interpreter.
Definition: ttycmd.c:1809
AWLQS::normal
UINT32 normal
Definition: almlib.h:442
out_of_shared_memory
@ out_of_shared_memory
Definition: errors.h:147
DTYPE::dTag
char dTag[TAG_NAME_SIZE]
Definition: tinetype.h:1006
ExportListTag::region
short region
Definition: srvcore.h:1806
not_defined
@ not_defined
Definition: errors.h:192
host_not_resolved
@ host_not_resolved
Definition: errors.h:199
GetDataStamp
int GetDataStamp(int linkId)
Gets the data stamp with which the incoming data set has been tagged.
Definition: client.c:7394
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1229
GetSystemSubscriptionRenewalLength
int GetSystemSubscriptionRenewalLength(void)
Gets the current contract subscription renewal length.
Definition: srvdbase.c:6554
non_existent_fec
@ non_existent_fec
Definition: errors.h:176
CLOG::text
char text[256]
Definition: tinetype.h:195
GetSuspendCallbacks
int GetSuspendCallbacks(void)
returns the suspends asynchronous callback notification setting
Definition: client.c:4235
NAME16FI::fval
float fval
Definition: tinetype.h:431
GetSizeDeviceCapacity
int GetSizeDeviceCapacity(char *eqm)
Gives the maximum size of the device table associated with the equiment module name given.
Definition: srvdbase.c:4720
AppendAlarmInfoTableEx
int AppendAlarmInfoTableEx(char *eqm, ADS *ads, char *filterString)
Inserts an alarm definition into the alarm definition table. The extended call accepts a parseable fi...
Definition: Alarm API Calls:2454
syntax_error
@ syntax_error
Definition: errors.h:124
DUNAME::f1val
float f1val
Definition: tinetype.h:716
TImageSourceHeader::totalLength
UINT32 totalLength
Definition: tinetype.h:866
GetMinimumAllowedPollingInterval
int GetMinimumAllowedPollingInterval(void)
returns the minimum polling rate in milliseconds a server will allow.
Definition: srvdbase.c:9334
GetLinkQueueDepth
int GetLinkQueueDepth(int linkId)
Gets the client-side receive queue depth for the link in question.
Definition: client.c:10153
PutLnkErrorValue
int PutLnkErrorValue(int i, void *errValue)
Flags a link so that the given error value is used as the data value in case of any link error.
Definition: client.c:2225
device_busy
@ device_busy
Definition: errors.h:240
ClnInfoStruct::tineProtocol
short tineProtocol
Definition: srvcore.h:2495
IsStandAlone
int IsStandAlone(void)
Determines whether a client or server process is running in stand-alone mode.
Definition: srvdbase.c:6690
non_existent_elem
@ non_existent_elem
Definition: errors.h:175
SetAlwaysRetry
void SetAlwaysRetry(int value)
Sets the 'Always Retry' flag to the value given.
Definition: client.c:10277
ALM_THRESHOLDS::codeLowWarn
int codeLowWarn
Definition: almlib.h:571
ExportListTag::EqmCrs
CRS EqmCrs
Definition: srvcore.h:1842
GetUseCycleTrigger
int GetUseCycleTrigger(void)
Returns whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:140
is_terminating
@ is_terminating
Definition: errors.h:244
has_query_function
@ has_query_function
Definition: errors.h:221
ExportListTag::eqmBkg
EQMTSKP eqmBkg
Definition: srvcore.h:1821
errors.h
NAME16II::i2val
SINT32 i2val
Definition: tinetype.h:448
SetMCastAddr
int SetMCastAddr(char *addr)
Sets the cannonical multicast address the server will use when requested to send payloads via multica...
Definition: iplib.c:2297
SetRunTransportInSeparateThread
void SetRunTransportInSeparateThread(int value)
Determines whether the (tcp) transport is run in its own thread (boolean).
PrpQueryStruct::prpHistoryDepthLong
UINT16 prpHistoryDepthLong
Definition: tinetype.h:4120
HstTblEntry::depthLong
int depthLong
Definition: hstlib.h:83
INTFLTINT::i1val
SINT32 i1val
Definition: tinetype.h:539
XPropertyQueryStruct::prpGraphType
BYTE prpGraphType
Definition: XPropertyQueryStruct.txt:26
ExecLocalLink
int ExecLocalLink(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access)
Executes a synchronous link within the local process.
Definition: srvdbase.c:8760
GetFecLogPath
char * GetFecLogPath(void)
Gets the current setting for the fec log repository.
Definition: syslib.c:6154
DUSTRING::f1val
float f1val
Definition: tinetype.h:699
ExportListTag::netsFileName
char netsFileName[32]
Definition: srvcore.h:1857
ServerIsInitialized
int ServerIsInitialized(const char *eqm)
Determines whether the server has initialized;.
Definition: server.c:262
hdrGSPECTRUM::status
UINT32 status
Definition: tinetype.h:829
GetGlobalDataType
int GetGlobalDataType(int id)
Returns the data type of global link index supplied.
Definition: client.c:10239
DeviceInfoStruct::zpos
float zpos
Definition: srvcore.h:1746
GetStructureAsString
int GetStructureAsString(char *tag, void *structref, char *strbuf, int buflen)
Prepares a string representation of the contents of the tagged structure provided.
Definition: toolkit.c:3302
HstTblEntry::useStandardSet
int useStandardSet
Definition: hstlib.h:95
SetBackgroundThreadPriority
int SetBackgroundThreadPriority(int priority)
Determines the priority of any registered background threads.
Definition: syslib.c:3549
SetSystemSynchronizeContracts
void SetSystemSynchronizeContracts(int value)
Establishes the setting for general contract synchronization at the server.
Definition: srvdbase.c:9346
GetIgnoreCommonFiles
int GetIgnoreCommonFiles(void)
returns the current setting (default = FALSE)
Definition: srvdbase.c:1568
GetDeviceLocation
char * GetDeviceLocation(char *eqm, int devnr)
Gives the registered device location (if known) for the device number.
Definition: srvdbase.c:8926
SetMaximumHistoryTableRecords
void SetMaximumHistoryTableRecords(int value)
Sets the maximum local history table size.
Definition: hstlib.c:233
file_not_open
@ file_not_open
Definition: errors.h:283
SetSystemCleanupFunction
void SetSystemCleanupFunction(SYSTSKP fcn)
Sets a user-specific cleanup routine to be executed as a final step during a normal cleanup phase (e....
Definition: syslib.c:5382
GetCompletionStatusFromCallbackId
char * GetCompletionStatusFromCallbackId(int id)
Returns the error string associated with the callback identifier supplied.
Definition: client.c:10197
not_registered
@ not_registered
Definition: errors.h:257
ExportListTag::capfollowers
short capfollowers
Definition: srvcore.h:1817
GetServerThreadPriority
int GetServerThreadPriority(void)
Returns the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:3537
tcp_not_supported
@ tcp_not_supported
Definition: errors.h:197
SetPropertySubscriptionRenewalLength
int SetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int value)
Sets the current subscription renewal length for the property specified.
Definition: srvdbase.c:2604
SetSystemSubscriptionRenewalLength
void SetSystemSubscriptionRenewalLength(int value)
Sets the contract subscription renewal length.
Definition: srvdbase.c:6541
not_supported
@ not_supported
Definition: errors.h:155
thread_error
@ thread_error
Definition: errors.h:243
GetPropertyListStruct
ExportPropertyListStruct * GetPropertyListStruct(char *eqm, char *prpName, char *devName)
Definition: srvdbase.c:3848
RemoveRegisteredNetsList
int RemoveRegisteredNetsList(const char *eqm, NAME64 *ipaddr, int rmvsiz)
removes those networks in the name list given from the current network address access list.
Definition: srvdbase.c:7019
GetDeviceNumberEx
int GetDeviceNumberEx(char *eqm, char *devname, char *prpname)
Gives the registered device number for the specified device name and property name.
Definition: srvdbase.c:5277
ClnInfoStruct::reserved1
UINT16 reserved1
Definition: srvcore.h:2487
ClnInfoStruct::userName
char userName[USERNAME_SIZE]
Definition: srvcore.h:2492
XPropertyQueryStruct::prpMaxValue
float prpMaxValue
Definition: XPropertyQueryStruct.txt:11
SetPropertyBuffer
int SetPropertyBuffer(char *eqmName, char *prpName, BYTE *buffer)
Assigns a fixed buffer to handle output data for the given property.
Definition: srvdbase.c:7881
NAME64DBLDBL::name
char name[64]
Definition: tinetype.h:497
AWLQS::hisev
int hisev
Definition: almlib.h:436
AttachLink
int AttachLink(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access, int pollingRate, void(*cbFcn)(int, int), int mode)
Initiates an asynchronous link.
Definition: client.c:6819
hdrGSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:826
SetPreSystemInitFunction
void SetPreSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed prior to server initialization.
Definition: syslib.c:5374
PrpQueryStruct::prpMaxValue
float prpMaxValue
Definition: tinetype.h:4115
AWLQS::eqm
char eqm[EQM_NAME_SIZE]
Definition: almlib.h:428
not_locked
@ not_locked
Definition: errors.h:254
SetNameServerAddress
int SetNameServerAddress(char *ens)
Sets the address of the Equipment Name Server via API call.
Definition: srvdbase.c:6163
SetRedirectionParameters
void SetRedirectionParameters(char *eqm, char *rdrCnt, char *rdrSrv, char *rdrDev, char *rdrPrp)
Sets the redirection string to accompany the current server call.
Definition: srvdbase.c:6209
ASPECTRUM::status
SINT32 status
Definition: tinetype.h:805
HRS::heartbeat
int heartbeat
Definition: hstlib.h:152
profibus_error
@ profibus_error
Definition: errors.h:251
CLOG::status
int status
Definition: tinetype.h:197
SetDefaultDeviceRegion
void SetDefaultDeviceRegion(char *eqmName, char *region)
Sets the default device region to the value specified.
Definition: srvdbase.c:6728
GetCallbackGroup
GrpTblEntry * GetCallbackGroup(size_t id)
Returns a reference to the callback Group Table Entry associated with the identifier supplied.
Definition: client.c:759
work_area_full
@ work_area_full
Definition: errors.h:83
DMDA::axis
MDX axis[MAX_MDA_DIMS]
Definition: tinetype.h:1045
GetWorkAreaSize
UINT32 GetWorkAreaSize(void)
Gets the server-side work area size which is coupled to the maximum transport size for supported by a...
Definition: syslib.c:5262
GetCompletionSource
short GetCompletionSource(int i)
Returns the error source associated with the input link index.
Definition: client.c:10190
not_owner
@ not_owner
Definition: errors.h:190
NAME64DBLDBL::d1val
double d1val
Definition: tinetype.h:498
ASPECTRUM::tm
SINT32 tm
Definition: tinetype.h:802
HstTblEntry::pTolerance
float pTolerance
Definition: hstlib.h:87
SetPointsOfInterestRangeFactor
void SetPointsOfInterestRangeFactor(float value)
Sets the definitive property range (maximum-minimum) factor which determines whether a value is consi...
Definition: hstlib.c:3674
SetSystemRequireAcknowledgments
void SetSystemRequireAcknowledgments(int value)
Sets the require acknowledgments flag to the value given.
Definition: syslib.c:6231
NAME32DBLDBL::d1val
double d1val
Definition: tinetype.h:473
AWLQS
Defines an Alarm Watch List Query Structure for stock property queries.
Definition: almlib.h:426
HistorySpecification::depthLong
int depthLong
Definition: hstlib.h:192
SetLogFileAllowScan
void SetLogFileAllowScan(int value)
Sets the allowed range of log file retrieval from a FEC process (via stock property SRVLOGFILE).
Definition: srvdbase.c:6498
HRS
history record structure used in stock properties
Definition: hstlib.h:142
HstTblEntry::fltr
FilterLink * fltr
Definition: hstlib.h:114
GetGroupMemberList
GrpMember * GetGroupMemberList(GrpTblEntry *grp)
Returns a linked list of the group members for the callback group supplied.
Definition: client.c:767
TImageSourceHeader::timestampMicroseconds
SINT32 timestampMicroseconds
Definition: tinetype.h:868
GetDataTimeString
char * GetDataTimeString(double ts, int useLongStringFormat)
Returns the TINE data timestamp as a human-readable string.
Definition: syslib.c:5050
SetFreeBlocksAlarmThreshold
int SetFreeBlocksAlarmThreshold(char *path, UINT32 minFreeBlocks)
Sets the threshold (in blocks) used in setting 'low disk space' alarms.
Definition: Alarm API Calls:2351
PropertyQueryStructEx::prpHistoryDepthLong
UINT16 prpHistoryDepthLong
Definition: tinetype.h:4055
ClnInfoStruct::counter
UINT16 counter
Definition: srvcore.h:2490
FreeArchivedDataReadbackBuffer
void FreeArchivedDataReadbackBuffer(void)
Frees the internal buffer used to retrieve complex archive data via calls to GetArchivedDataAsAny().
Definition: toolkit.c:3454
DWINDOW::i1val
SINT32 i1val
Definition: tinetype.h:616
DMDA::fmt
int fmt
Definition: tinetype.h:1044
invalid_value
@ invalid_value
Definition: errors.h:237
not_implemented
@ not_implemented
Definition: errors.h:120
LockEquipmentModules
int LockEquipmentModules(void)
Locks all equipment modules.
Definition: syslib.c:5333
SetCycleMicroDelay
int SetCycleMicroDelay(int usecs)
Sets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5236
RegisterPropertySignalFunction
int RegisterPropertySignalFunction(const char *eqm, const char *prp, PRPSIG fcn, int mask, void *ref)
Registers a property signal function.
Definition: srvdbase.c:5072
invalid_data
@ invalid_data
Definition: errors.h:194
ALM_THRESHOLDS::lo
float lo
Definition: almlib.h:562
SetCallPropertyInSeparateThread
int SetCallPropertyInSeparateThread(char *eqm, char *property, int value)
Determines whether the specified property is called in a separate handler thread or not.
Definition: srvdbase.c:6026
no_such_column
@ no_such_column
Definition: errors.h:134
SetBackgroundThreadPriority
int SetBackgroundThreadPriority(int priority)
Determines the priority of any registered background threads.
Definition: syslib.c:3549
non_existent_client
@ non_existent_client
Definition: errors.h:177
GetSystemContexts
int GetSystemContexts(NAME32 *clist, int *num)
Retrieves a list of server contexts via query to the Equipment Name Server.
Definition: toolkit.c:3873
SetAllowDependentLinks
void SetAllowDependentLinks(int value)
turns the ability to manage identical (dependent) links ON or OFF
Definition: client.c:118
SetUseCycleTrigger
void SetUseCycleTrigger(int value)
Establishes whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:135
access_denied
@ access_denied
Definition: errors.h:196
value_too_low
@ value_too_low
Definition: errors.h:216
GetCompletionDataSize
int GetCompletionDataSize(int i)
Returns the most recent data size of the link index supplied.
Definition: client.c:7270
AWLQS::hi
float hi
Definition: almlib.h:445
hardware_error
@ hardware_error
Definition: errors.h:114
DeviceInfoStruct::mask
UINT32 mask
Definition: srvcore.h:1747
ExportListTag::hasReference
int hasReference
Definition: srvcore.h:1852
GetClientListCapacity
int GetClientListCapacity(void)
Gets the maximum number of clients a server will service.
Definition: srvdbase.c:8708
GetCallerInformation
int GetCallerInformation(char *eqm, ClnInfo *clnInfoList, int *num)
Returns the user name, network address and other information of all callers interested in the current...
Definition: srvdbase.c:5195
AppendHistoryInformationEx
int AppendHistoryInformationEx(char *eqm, char *prp, char *dev, int len, int fmt, int idx, HistorySpecification *hspec, int hstFlags)
Inserts a local history element into the local history server.
Definition: hstlib.c:4427
GetLinkCallbackReference
void * GetLinkCallbackReference(int id)
Returns the supplied callback reference for the link ID in question.
Definition: client.c:10212
GetUseMultiThreadedStockFunctions
int GetUseMultiThreadedStockFunctions(void)
Returns whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2093
USPECTRUM::s_inc
float s_inc
Definition: tinetype.h:783
DADDRESS::i4val
SINT32 i4val
Definition: tinetype.h:603
SetSynchronizationTolerance
void SetSynchronizationTolerance(double toleranceInSeconds)
Sets the tolerance used in deciding whether to apply a timestamp offset or not.
Definition: client.c:10450
SetDeviceAlarm
int SetDeviceAlarm(char *eqm, char *devname, UINT32 almCode, BYTE *almData, BYTE flags)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2297
GetDieOnFecIsAlias
int GetDieOnFecIsAlias(void)
Returns the current setting for this feature.
Definition: syslib.c:233
HRS::aTolerance
float aTolerance
Definition: hstlib.h:154
GetAllowedRemoteManagement
int GetAllowedRemoteManagement(void)
Returns whether remote management via stock properties is possible.
Definition: srvdbase.c:6493
RegisterEquipmentModuleEx
int RegisterEquipmentModuleEx(char *expName, char *eqmName, int numdevices, int(*fcn)(char *, char *, DTYPE *, DTYPE *, short, void *), void(*ini)(void *), void(*tsk)(void *), int rate, void(*exi)(void *), void *reference)
Registers an equipment module with the TINE server engine (extended call)
Definition: srvdbase.c:5498
HstTblEntry::timestamp
double * timestamp
Definition: hstlib.h:107
ExportListTag::usersFileName
char usersFileName[32]
Definition: srvcore.h:1856
TImageFrameHeader
Defines a canonical image frame header.
Definition: tinetype.h:878
INTINT
Defines a TINE pairwise data object containing a 4-byte integer doublet.
Definition: tinetype.h:349
resources_exhausted
@ resources_exhausted
Definition: errors.h:165
GetGlobalLinkId
int GetGlobalLinkId(char *keyword)
retrieves the link ID for a globals link
Definition: client.c:6196
PrpQueryStruct::prpSize
UINT32 prpSize
Definition: tinetype.h:4116
lock_expired
@ lock_expired
Definition: errors.h:255
NAME64I::ival
SINT32 ival
Definition: tinetype.h:335
GetDefaultTransportMode
int GetDefaultTransportMode(void)
Gets the default TINE transport mode used in client-side links.
Definition: client.c:111
SetClientListCapacity
void SetClientListCapacity(int value)
Sets the maximum number of clients a server will service.
Definition: srvdbase.c:8712
struct_sealed
@ struct_sealed
Definition: errors.h:122
XPropertyQueryStruct::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4082
SystemRunning
int SystemRunning
Determines whether a server has been successfully initialized or not.
Definition: server.c:243
HistorySpecification::heartbeat
int heartbeat
Definition: hstlib.h:193
DSPECTRUM::s_start
float s_start
Definition: tinetype.h:757
SetLinkCallbackDelay
void SetLinkCallbackDelay(int linkId, int cyclesToDelay)
Sets a client-side callback notification.
Definition: client.c:10342
not_applicable
@ not_applicable
Definition: errors.h:261
zero_divide
@ zero_divide
Definition: errors.h:82
argument_list_error
@ argument_list_error
Definition: errors.h:97
SetAllowNetworkAddressResolution
void SetAllowNetworkAddressResolution(int value)
Determines whether NETWORK address resolution is allowed.
Definition: srvdbase.c:9382
service_unavailable
@ service_unavailable
Definition: errors.h:275
UpdateDataStampsFromCallbackId
int UpdateDataStampsFromCallbackId(int id, DTYPE *dout)
Fills in the given DTYPE data object with all data stamp information.
Definition: client.c:7348
ALM_THRESHOLDS::lowarn
float lowarn
Definition: almlib.h:563
ExportListTag::EqmExportName
char EqmExportName[EXPORT_NAME_SIZE]
Definition: srvcore.h:1781
string_too_long
@ string_too_long
Definition: errors.h:105
name_already_exists
@ name_already_exists
Definition: errors.h:228
GetPropertySubscriptionRenewalLength
int GetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int *value)
Gets the current subscription renewal length for the property specified.
Definition: srvdbase.c:2614
ExportListTag::chkAcl
int chkAcl
Definition: srvcore.h:1859
HstTblEntry::isScheduled
int isScheduled
Definition: hstlib.h:93
ExportListTag::failoverType
int failoverType
Definition: srvcore.h:1862
NAME16II::i1val
SINT32 i1val
Definition: tinetype.h:447
GetRegisteredPropertyListStruct
int GetRegisteredPropertyListStruct(char *eqm, char *prpName, ExportPropertyListStruct *prpLstStruct)
Returns the ExportPropertyListStruct structure for the registered property specified by the first two...
Definition: srvdbase.c:4701
GetRegisteredNetworks
int GetRegisteredNetworks(const char *eqm, NAME64 *list, int *listsize)
retrieves network list of ip addresses and subnets for which WRITE access is allowed
Definition: srvdbase.c:7036
is_switching
@ is_switching
Definition: errors.h:209
SetSystemSchedulePropertyLazy
void SetSystemSchedulePropertyLazy(int value)
Sets the 'lazy' flag for scheduling properties.
Definition: syslib.c:5527
PrpQueryStruct::prpFormatIn
BYTE prpFormatIn
Definition: tinetype.h:4122
memory_overwrite
@ memory_overwrite
Definition: errors.h:259
SetConnectionTableCapacity
int SetConnectionTableCapacity(int value)
Sets the maximum number of entries in the connection table.
Definition: client.c:9920
AWLQS::codeHigh
int codeHigh
Definition: almlib.h:450
GetSystemAlias
char * GetSystemAlias(char *name)
Gets the alias for either a registered property or registered device.
Definition: srvdbase.c:9374
DBLDBLDBL::d3val
double d3val
Definition: tinetype.h:590
use_stream_transport
@ use_stream_transport
Definition: errors.h:101
HistorySpecification
Defines a TINE History Specification object.
Definition: hstlib.h:187
GetMCastAddr
char * GetMCastAddr(void)
Gets the cannonical multicast address a server will use when requested to send payloads via multicast...
Definition: iplib.c:2301
has_structure_tag
@ has_structure_tag
Definition: errors.h:264
FindServerOnNetwork
int FindServerOnNetwork(char *context, char *eqmName, char *exportName, FecAddrStruct *fec, ExpDataStruct *srv)
Issues a multicast (or broadcast) to which configured TINE central servers respond.
Definition: srvdbase.c:8500
GetGCastTableCapacity
int GetGCastTableCapacity(void)
gets the globals multicast table capacity (server-side)
Definition: srvdbase.c:6467
non_existent_function
@ non_existent_function
Definition: errors.h:233
SetAlarmCollapseWindow
int SetAlarmCollapseWindow(int value)
Sets the size of the alarm collapse window in counts.
Definition: Alarm API Calls:2605
configuration_error
@ configuration_error
Definition: errors.h:203
PropertyQueryStructEx::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4053
GetSystemSynchronizeContracts
int GetSystemSynchronizeContracts(void)
Returns the setting for general contract synchronization at the server.
Definition: srvdbase.c:9350
GetDeviceOfflineStatus
int GetDeviceOfflineStatus(char *eqm, int devnr)
Gives the current off line status for the device in question.
Definition: srvdbase.c:8945
INTINTINT::i1val
SINT32 i1val
Definition: tinetype.h:572
SetAvailableMemoryThreshold
void SetAvailableMemoryThreshold(UINT32 minAvailBytes)
Sets the threshold (in bytes) used in setting 'low main memory' alarms.
Definition: Alarm API Calls:2323
SetPostSystemInitFunction
void SetPostSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed following server initialization.
Definition: syslib.c:5378
NAME16FI::ival
SINT32 ival
Definition: tinetype.h:432
RegisterPropertyAccessDeadband
int RegisterPropertyAccessDeadband(char *eqm, char *property, int access, int deadbandInMilliSeconds)
Assigns a minimum access deadband to the designated property.
Definition: srvdbase.c:5573
property_is_mca_elevated
@ property_is_mca_elevated
Definition: errors.h:280
ClnInfoStruct::ncontracts
short ncontracts
Definition: srvcore.h:2494
ExportListTag::busycnt
short busycnt
Definition: srvcore.h:1830
invalid_structure_size
@ invalid_structure_size
Definition: errors.h:249
GetUseStandardHistoryFiles
int GetUseStandardHistoryFiles(int index)
Returns TRUE of FALSE depending on whether the given history record index makes use of the so-called ...
Definition: hstlib.c:311
GetValuesAsNAME64DBLDBL
int GetValuesAsNAME64DBLDBL(DTYPE *d, NAME64DBLDBL *nddval, int num)
Retrieves incoming data as an array of NAME64DBLDBL values.
Definition: toolkit.c:5489
DBLINT
Defines a TINE pairwise data object containing a double value followed by a 4-byte integer value.
Definition: tinetype.h:376
PutValuesFromByteEx
int PutValuesFromByteEx(DTYPE *d, BYTE *bval, int num, int offset)
Submits outgoing data from an array of bytes.
Definition: toolkit.c:937
SetClnUDPPort
int SetClnUDPPort(int port)
Sets the TINE client UDP base port.
Definition: iplib.c:2224
SetDeviceOfflineStatus
int SetDeviceOfflineStatus(char *eqm, char *devname, int offline)
Assigns an offline status to the specified device.
Definition: srvdbase.c:9060
GetDataFromLinkId
int GetDataFromLinkId(int linkId, DTYPE *dout, UINT16 *status)
Supplies the DTYPE data object and call status for the link ID in question.
Definition: client.c:7353
microsleep
int microsleep(int usecs)
sleep for given number of micro-seconds
Definition: syslib.c:1432
ClnInfoStruct::reserved3
UINT16 reserved3
Definition: srvcore.h:2497
GetSynchronizationTolerance
double GetSynchronizationTolerance(void)
Gets the tolerance used in deciding whether to apply a timestamp offset or not.
Definition: client.c:7376
MaxNumContracts
int MaxNumContracts
Determines the maximum number of contracts a server will service.
Definition: srvdbase.c:5060
udpClnSck
SOCKET udpClnSck
XPropertyQueryStruct::prpName
char prpName[32]
Definition: XPropertyQueryStruct.txt:3
DUNION::sptr
SINT16 * sptr
Definition: tinetype.h:978
ALM_THRESHOLDS::code
int code
Definition: almlib.h:567
GetGCastAddr
char * GetGCastAddr(void)
Gets the cannonical globals multicast address the server will use when sending payloads via multicast...
Definition: iplib.c:2386
HstTblEntry::data
BYTE * data
Definition: hstlib.h:112
SetKernelPriority
int SetKernelPriority(int priority)
Determines the priority of TINE kernel threads.
Definition: syslib.c:3557
NAME32DBLDBL::d2val
double d2val
Definition: tinetype.h:474
SetHistoryFilesRepository
void SetHistoryFilesRepository(char *path)
Sets the directory location where local history files are maintained.
Definition: hstlib.c:195
DUNAME::ival
SINT32 ival
Definition: tinetype.h:715
DSUMMARY::ave
double ave
Definition: tinetype.h:665
NAME48
Defines a TINE 48-character fixed-length string data object.
Definition: tinetype.h:263
tcp_connect_error
@ tcp_connect_error
Definition: errors.h:200
call_redirection
@ call_redirection
Definition: errors.h:223
non_existent_property
@ non_existent_property
Definition: errors.h:258
PrpEguStruct::max
float max
Definition: tinetype.h:2379
XPropertyQueryStruct::prpFormat
BYTE prpFormat
Definition: XPropertyQueryStruct.txt:23
GetNumberRegisteredDevices
int GetNumberRegisteredDevices(char *eqm)
Gives the number of registered devices explicitly associated with the equiment module name given.
Definition: srvdbase.c:4714
RedirectDeviceName
int RedirectDeviceName(char *eqm, char *devname, char *rdr)
Applies the redirection string to the given device for all properties.
Definition: srvdbase.c:8991
GetSystemFecs
int GetSystemFecs(char *context, NAME16 *slist, int *num)
Retrieves a list of FECs associated with a given context.
Definition: toolkit.c:4111
NAME8
Defines a TINE 8-character fixed-length string data object.
Definition: tinetype.h:233
GetDeviceContexts
int GetDeviceContexts(NAME16 *clist, int *num)
Retrieves a list of server contexts via query to the Equipment Name Server.
Definition: toolkit.c:3626
PutValuesFromShortEx
int PutValuesFromShortEx(DTYPE *d, short *sval, int num, int offset)
Submits outgoing data from an array of short integers.
Definition: toolkit.c:909
XPropertyQueryStruct::rngMinValue
float rngMinValue
Definition: XPropertyQueryStruct.txt:12
SetSystemStampOffset
void SetSystemStampOffset(int cycleOffset)
Establishes a system cycle offset.
Definition: client.c:8284
NAME16II
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by tw...
Definition: tinetype.h:444
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1229
GetDefaultTransportMode
int GetDefaultTransportMode(void)
Gets the default TINE transport mode used in client-side links.
Definition: client.c:111
PropertyQueryStructEx::prpFormat
BYTE prpFormat
Definition: tinetype.h:4056
GetMCastMask
char * GetMCastMask(char *pattern)
Gets the cannonical multicast address mask the server will use when requested to send payloads via mu...
Definition: iplib.c:2361
GetConnectionList
int GetConnectionList(char *lstbuf, int bufsize)
Gets the current connection table.
Definition: client.c:401
ExportListTag::eqmExi
EQMTSKP eqmExi
Definition: srvcore.h:1835
GetExportListItem
ExportListStruct * GetExportListItem(char *eqm)
Returns a reference to the Export List Structure of the given equipment module.
Definition: srvdbase.c:1952
FWINDOW::f2val
float f2val
Definition: tinetype.h:631
GetUseMultiThreadedStockFunctions
int GetUseMultiThreadedStockFunctions(void)
Returns whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2093
GetConfigurationCoded
int GetConfigurationCoded(void)
Returns whether TINE configuration files will be scanned.
Definition: srvdbase.c:6682
DIMAGE::frameBuffer
BYTE * frameBuffer
Definition: tinetype.h:933
GetServerCycleState
int GetServerCycleState(char *cycleStateString)
Returns the current server cycle state.
Definition: server.c:5360
illegal_arithmetic
@ illegal_arithmetic
Definition: errors.h:79
ALM_THRESHOLDS
Defines a TINE Alarm Watch Threshold object.
Definition: almlib.h:553
DUNAME::f2val
float f2val
Definition: tinetype.h:717
ipx_not_supported
@ ipx_not_supported
Definition: errors.h:198
GetValuesAsStringEx
int GetValuesAsStringEx(DTYPE *d, char *str, int fmt, int num, int offset)
Prepares incoming data to a string type.
Definition: toolkit.c:5283
ExportListTag::EqmMaster
char EqmMaster[EXPORT_NAME_SIZE]
Definition: srvcore.h:1864
GetExportedContext
char * GetExportedContext(char *eqmName)
Returns the exported context associated with the equipment function name given.
Definition: srvdbase.c:6704
link_blacklisted
@ link_blacklisted
Definition: errors.h:205
SetSystemStampDelay
void SetSystemStampDelay(int cycleDelay)
Establishes the system cycle delay.
Definition: client.c:8292
ExportListTag::lastBkg
struct timeval lastBkg
Definition: srvcore.h:1833
SetUseLoopback
void SetUseLoopback(int value)
Sets the 'useLoopBack' flag to the value given (boolean).
HRS::device
char device[DEVICE_NAME_SIZE]
Definition: hstlib.h:145
illegal_property
@ illegal_property
Definition: errors.h:118
AssignDeviceNetsList
int AssignDeviceNetsList(const char *eqm, const char *dev, NAME64 *ipnets, int nipnets)
Assigns an ip nets access list for the device given.
Definition: srvdbase.c:8603
GetDeviceZPosition
float GetDeviceZPosition(char *eqm, int devnr)
Gives the registered device Z (or longitudinal) position for the device number.
Definition: srvdbase.c:8953
GetDataTimeStampOffset
double GetDataTimeStampOffset(void)
Returns a the current data timestamp offset as assigned by the TINE global time service.
Definition: syslib.c:1137
AttachLinkEx2
int AttachLinkEx2(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access, int pollingRate, void(*cbFcn)(int, int, void *), int mode, UINT32 cbId, void *reference)
Initiates an asynchronous link.
Definition: client.c:6807
USPECTRUM::d_spect_array
float * d_spect_array
Definition: tinetype.h:785
AlarmTestState
int AlarmTestState
Determines the minimum time an alarm is to remain in the local alarm table before it can be removed.
Definition: Alarm API Calls:73
SetDieOnFecIsAlias
void SetDieOnFecIsAlias(int value)
Determines whether a server will exit() if a 'FEC has an alias' message is delivered by the ENS upon ...
Definition: syslib.c:229
GetSystemAlias
char * GetSystemAlias(char *name)
Gets the alias for either a registered property or registered device.
Definition: srvdbase.c:9374
AWLQS::fmt
int fmt
Definition: almlib.h:432
NAME16DBLDBL::d2val
double d2val
Definition: tinetype.h:461
GetNumCalls
int GetNumCalls(char *eqm)
Returns the current number of calls to the given equipment module since startup.
Definition: srvdbase.c:5349
RegisterProperty
int RegisterProperty(char *eqm, char *property, int siz, short fmt, short acc, char *dsc)
Assigns pertinent information for the specified property.
Definition: srvdbase.c:6008
ExportListTag::accessLock
AccessLock accessLock
Definition: srvcore.h:1866
SavePropertyValuesEx
int SavePropertyValuesEx(const char *eqmName, const char *devName, const char *prpName, void *values, short format, int size)
Saves value settings of the property name given onto disk (extended version).
Definition: toolkit.c:4624
GetSystemProperties
int GetSystemProperties(char *srv, NAME64 *plist, int *num)
Retrieves a list of properties via query to the server given.
Definition: toolkit.c:4131
FWINDOW::f1val
float f1val
Definition: tinetype.h:630
no_such_line
@ no_such_line
Definition: errors.h:90
PrpQueryStruct::rngMaxValue
float rngMaxValue
Definition: tinetype.h:4127
SetPointsOfInterestToleranceFactor
void SetPointsOfInterestToleranceFactor(float value)
Sets the definitive property tolerance factor which determines whether a value is consider a point of...
Definition: hstlib.c:3680
SetDataTimeStamp
void SetDataTimeStamp(double ts)
Sets the intrinsic data timestamp to the value given.
Definition: syslib.c:5252
invalid_datarequest
@ invalid_datarequest
Definition: errors.h:278
code_failure
@ code_failure
Definition: errors.h:152
ExportListTag::nclients
short nclients
Definition: srvcore.h:1814
invalid_mcast_group
@ invalid_mcast_group
Definition: errors.h:232
GetGlobalsTimeStamp
double GetGlobalsTimeStamp(int linkId)
Returns the timestamp of the globals keyword with the given link ID.
Definition: client.c:10217
invalid_link
@ invalid_link
Definition: errors.h:143
PutValuesFromString
int PutValuesFromString(DTYPE *d, char *str, int fmt, int num, int offset)
Prepares outgoing data as a string type.
Definition: toolkit.c:1050
server_redirection
@ server_redirection
Definition: errors.h:214
DTYPE::dTimeStamp
double dTimeStamp
Definition: tinetype.h:1004
NAME32DBLDBL
Defines a TINE triplet data object containing a 32-character fixed-length string value followed by a ...
Definition: tinetype.h:470
_SystemInit
int _SystemInit(int chkcmd)
Required call for the TINE server engine to function property.
Definition: syslib.c:5386
AWLQS::codeHighWarn
int codeHighWarn
Definition: almlib.h:451
hdrSPECTRUM::status
SINT32 status
Definition: tinetype.h:736
HistorySpecification::pollingRate
int pollingRate
Definition: hstlib.h:189
HstTblEntry::keepPointsOfInterest
int keepPointsOfInterest
Definition: hstlib.h:94
GetPutCommandsInFeclog
int GetPutCommandsInFeclog(void)
Returns the current setting for putCommandsInFeclog (which determines whether all in-coming WRITE acc...
Definition: syslib.c:4780
GetGCastMask
char * GetGCastMask(char *addr)
Gets the cannonical multicast address mask the server will use when sending payloads via multicast as...
Definition: iplib.c:2390
SetUseMultiThreadedStockFunctions
void SetUseMultiThreadedStockFunctions(int value)
Determines whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2089
RemoveDeviceAlarm
void RemoveDeviceAlarm(char *eqm, char *devname, UINT32 code)
Instructs the local alarm server table that the given alarm is to be marked for removal.
Definition: Alarm API Calls:2258
ExportListTag::eqmFcn
EQMFCNP eqmFcn
Definition: srvcore.h:1820
GetPacketMTU
int GetPacketMTU(void)
Gets the TINE UDP server packet MTU.
Definition: iplib.c:211
GetContractDataReferenceByEqmName
void ** GetContractDataReferenceByEqmName(char *eqm)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:5247
SendEventTriggerEx
int SendEventTriggerEx(char *dev, char *cmt, int triggerLevel, int triggerTime, int rangeStart, int rangeStop, int rangeMax, int options)
Sends a Post-Mortem (i.e. event) Trigger to the designated Post-Mortem Server.
Definition: toolkit.c:1630
ambiguous
@ ambiguous
Definition: errors.h:80
GetExportedSubSystem
char * GetExportedSubSystem(char *eqmName)
Returns the exported subsystem associated with the equipment function name given.
Definition: srvdbase.c:6740
DFILTER
Defines a TINE quadruplet data object containing a long integer value followed by a float triplet.
Definition: tinetype.h:681
PutArchivedData
int PutArchivedData(char *devsrv, BYTE *data, int dataFmt, int num, double dataTime, int sysStamp, int usrStamp)
puts data and timestamps into the central archive system for 'SELF' entries
Definition: toolkit.c:3595
GetMaxTcpMessageSize
int GetMaxTcpMessageSize(void)
Gets the TINE server maximum STREAM message segment size.
Definition: iplib.c:1019
data_size_mismatch
@ data_size_mismatch
Definition: errors.h:86
GetUseMultiThreadedEquipmentFunctions
int GetUseMultiThreadedEquipmentFunctions(void)
Returns whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2084
SetSystemStampDelay
void SetSystemStampDelay(int cycleDelay)
Establishes the system cycle delay.
Definition: client.c:8292
GetUseMCastLegacyRules
int GetUseMCastLegacyRules(void)
Returns whether legacy mutlicast systematics are in effect or not.
Definition: iplib.c:141
FLTFLT
Defines a TINE pairwise data object containing a pairwise float doublet.
Definition: tinetype.h:402
XPropertyQueryStruct::prpMinValue
float prpMinValue
Definition: XPropertyQueryStruct.txt:10
not_accepted
@ not_accepted
Definition: errors.h:182
GetSystemStampDelay
int GetSystemStampDelay(void)
Returns the registered system cycle delay.
Definition: client.c:8297
SetSystemSubscriptionRenewalLength
void SetSystemSubscriptionRenewalLength(int value)
Sets the contract subscription renewal length.
Definition: srvdbase.c:6541
SetStandardSpillOverSize
void SetStandardSpillOverSize(int value)
Sets the amount of additional space (number of addition records) to allocate as a worst case when usi...
Definition: hstlib.c:241
DADDRESS
Defines a TINE quadruplet data object containing four long integer values.
Definition: tinetype.h:598
NAME64DBLDBL::d2val
double d2val
Definition: tinetype.h:499
ClnInfoStruct::accessMode
short accessMode
Definition: srvcore.h:2486
ExportListTag::nRegionItems
int nRegionItems
Definition: srvcore.h:1807
SetNotificationToleranceEx
int SetNotificationToleranceEx(int linkId, float toleranceAbsolute, float tolerancePercent, int offset, int length, int flags)
Allows the caller to apply a tolerance pertaining to link notification (extended call).
Definition: client.c:10418
GetClnRecvQueueDepth
int GetClnRecvQueueDepth(void)
Gets the default client-side receive queue depth for all client links.
Definition: client.c:10149
RemoveDevice
int RemoveDevice(char *eqm, char *devname)
Removes a device name from an equipment module's device list.
Definition: srvdbase.c:5393
FreeAccessLock
int FreeAccessLock(char *context, char *server)
Frees an access lock on the server specified.
Definition: client.c:10128
invalid_transport_size
@ invalid_transport_size
Definition: errors.h:109
GetLastContractId
int GetLastContractId(void)
Returns the last contract identifier.
Definition: syslib.c:6265
GetSystemDevices
int GetSystemDevices(char *srv, char *prp, NAME64 *dlist, int *num)
Retrieves a list of device names associated with a given property via query to the server specified.
Definition: toolkit.c:3919
AppendHistoryInformation
int AppendHistoryInformation(char *eqm, char *prp, char *dev, int len, int fmt, int idx, HistorySpecification *hspec)
Inserts a local history element into the local history server.
Definition: hstlib.c:4493
GetAlarmDefinition
int GetAlarmDefinition(char *eqm, UINT32 code, ADS *ads)
Gets the alarm definition for the alarm code specified.
Definition: Alarm API Calls:1626
SetFailoverSlave
int SetFailoverSlave(char *eqm, char *masterName, char *slaveMaster)
Declares the server a failover slave and targets the designated server.
Definition: srvdbase.c:9159
DMDA::data
DUNION data
Definition: tinetype.h:1046
GetTargetPropertyInformation
int GetTargetPropertyInformation(char *srv, char *prp, int *fmt, int *siz, char *dsc)
Retrieves the default set of property information parameters for the property specified.
Definition: toolkit.c:4312
ASPECTRUM::s_start
float s_start
Definition: tinetype.h:803
DUSTRING::str
char str[80]
Definition: tinetype.h:702
DBLDBL::d2val
double d2val
Definition: tinetype.h:393
SetAutoAdjustWorkAreaSize
void SetAutoAdjustWorkAreaSize(int value)
Sets 'auto-adjust work area size' (based on number of registered properties)
Definition: srvdbase.c:6932
recvNetGlobalEx2
int recvNetGlobalEx2(const char *keyword, DTYPE *dout, void(*cbFcn)(int, int, void *), UINT32 cbId, void *reference)
Initiates a net globals data link (doubly extended call).
Definition: client.c:7691
AMS4
Defines an Alarm Message Structure (release 4)
ALM_THRESHOLDS::codeHighWarn
int codeHighWarn
Definition: almlib.h:569
SetUseCycleTrigger
void SetUseCycleTrigger(int value)
Establishes whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:135
HstTblEntry::recordIndex
int recordIndex
Definition: hstlib.h:90
name_not_found
@ name_not_found
Definition: errors.h:281
SetFailoverThreshold
void SetFailoverThreshold(int errorCounts)
Sets the server failover threshold to the value given.
Definition: srvdbase.c:7907
SetSystemCleanupFunction
void SetSystemCleanupFunction(SYSTSKP fcn)
Sets a user-specific cleanup routine to be executed as a final step during a normal cleanup phase (e....
Definition: syslib.c:5382
INTFLTINT::fval
float fval
Definition: tinetype.h:540
AWLQS::atyp
int atyp
Definition: almlib.h:433
device_offline
@ device_offline
Definition: errors.h:276
shm_error
@ shm_error
Definition: errors.h:273
ASPECTRUM::s_inc
float s_inc
Definition: tinetype.h:804
GetDeviceName
char * GetDeviceName(char *eqm, int devnr)
Gives the registered device name for the specified equipment module and device number.
Definition: srvdbase.c:8903
AddFieldToBitField
int AddFieldToBitField(char *srv, char *tag, UINT32 mask, char *field)
Adds a field definition to a registered bitfield.
Definition: srvdbase.c:6377
operation_timeout
@ operation_timeout
Definition: errors.h:183
ExportListTag::exportId
int exportId
Definition: srvcore.h:1790
GetCatchConsoleBreak
int GetCatchConsoleBreak(void)
Returns the current setting for this feature.
Definition: syslib.c:196
GetLocalName
char * GetLocalName(char *exportName)
Returns the local equipment module name associated with the export name given.
Definition: srvdbase.c:4758
ALM_THRESHOLDS::codeLow
int codeLow
Definition: almlib.h:570
lock_required
@ lock_required
Definition: errors.h:247
ExportListTag::usersScanFlag
int usersScanFlag
Definition: srvcore.h:1860
MDX::min
float min
Definition: tinetype.h:1030
warn_too_high
@ warn_too_high
Definition: errors.h:217
SetRejectOverloadedMetaProperties
void SetRejectOverloadedMetaProperties(int value)
Enables/Disables overloaded meta properties.
Definition: srvdbase.c:6471
HstTblEntry::hasSavedFiles
int hasSavedFiles
Definition: hstlib.h:96
TImageSourceHeader::timestampSeconds
SINT32 timestampSeconds
Definition: tinetype.h:867
ExportListTag::EqmPrpLst
ExportPropertyListStruct * EqmPrpLst[PROPERTY_HASH_SIZE+1]
Definition: srvcore.h:1792
GetServerWaiting
int GetServerWaiting(void)
Gets the server's waiting state.
Definition: syslib.c:4562
DTYPE::dFormat
short dFormat
Definition: tinetype.h:1000
RegisterStateChangeCallback
int RegisterStateChangeCallback(SCCBFCNP fcn, const char *eqm, const char *stateKey, void *reference)
Registers a state change callback dispatch function.
Definition: srvdbase.c:8688
SetSuspendCallbacks
void SetSuspendCallbacks(int value)
set suspends asynchronous callback notification ON or OFF
Definition: client.c:4218
ExportListTag::EqmGroupDevPrefix
char EqmGroupDevPrefix[XFIX_SIZE]
Definition: srvcore.h:1786
ASPECTRUM::spectBufferSize
UINT32 spectBufferSize
Definition: tinetype.h:806
GetDeviceServers
int GetDeviceServers(NAME16 *dslist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:3810
NAME64DBL::name
char name[64]
Definition: tinetype.h:485
HstTblEntry::recordCapacity
int recordCapacity
Definition: hstlib.h:100
GetContractDataReferenceByEqmName
void ** GetContractDataReferenceByEqmName(char *eqm)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:5247
SetFailoverPollingInterval
void SetFailoverPollingInterval(int pollingInterval)
Sets the server failover interval to the value given.
Definition: srvdbase.c:7901
gRequireAcknowledgments
int gRequireAcknowledgments
Determines whether acknowledgements are expected following data changes where contracts use CM_DATACH...
Definition: server.c:118
DBLDBLDBL::d1val
double d1val
Definition: tinetype.h:588
GetDeviceDescription
char * GetDeviceDescription(char *eqm, int devnr)
Gives the registered device description (if known) for the device number.
Definition: srvdbase.c:8913
AlarmDataChangeWindow
int AlarmDataChangeWindow
Determines the minimum time a data change alarm is to keep its timestamp in the local alarm table.
Definition: Alarm API Calls:69
SetMCastAddrLegacy
int SetMCastAddrLegacy(char *addr)
Sets the cannonical legacy multicast address the server will use when where necessary.
Definition: iplib.c:2305
DSUMMARY::tMax
UINT32 tMax
Definition: tinetype.h:670
srvcore.h
ExportListTag::EqmSlaveMaster
char EqmSlaveMaster[EXPORT_NAME_SIZE]
Definition: srvcore.h:1865
GetDeviceContextsFromFile
int GetDeviceContextsFromFile(NAME16 *clist, int *num)
Retrieves a list of server contexts via query to the local static database.
Definition: toolkit.c:3632
ExportListTag::bkgbusy
short bkgbusy
Definition: srvcore.h:1824
threader.h
AcquireAndRegisterBitfield
int AcquireAndRegisterBitfield(const char *devName, char *tag)
Acquires the bitfield specified by the bitfield tag from the specified device server.
Definition: srvdbase.c:6373
DUNION::ulptr
UINT32 * ulptr
Definition: tinetype.h:981
UnlockEquipmentModules
int UnlockEquipmentModules(void)
Unlocks all equipment modules.
Definition: syslib.c:5340
AssignPropertyAccessList
int AssignPropertyAccessList(const char *eqm, const char *prp, NAME16 *users, int nusers)
Assigns an access list for the property given.
Definition: srvdbase.c:8632
GetCurrentFailoverState
int GetCurrentFailoverState(void)
Returns current master slave state of server.
Definition: srvdbase.c:7976
SetFecLogPath
int SetFecLogPath(char *path)
Sets the fec log repository.
Definition: syslib.c:1646
SetDeviceMask
int SetDeviceMask(char *eqm, char *devname, int mask)
Assigns a device mask to the specified device.
Definition: srvdbase.c:9053
feclogEx
int feclogEx(int logLevel, char *text,...)
Puts entries into a server's FEC log file and in error.log file if certain conditions match.
Definition: syslib.c:4912
UnregisterCycleTriggerFunction
int UnregisterCycleTriggerFunction(CYCBFCNP fcn, void *reference)
Unregisters a previously registered cycle trigger callback dispatch function.
Definition: client.c:8267
GetNumberDataOutputBuffers
int GetNumberDataOutputBuffers(void)
gets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:5376
GetDataStampFromCallbackId
int GetDataStampFromCallbackId(int id)
Gets the global system data stamp with which the incoming data set has been tagged.
Definition: client.c:7399
DBLINT::dval
double dval
Definition: tinetype.h:378
USPECTRUM::status
SINT32 status
Definition: tinetype.h:784
SetSystemAttribute
int SetSystemAttribute(char *attribute, void *value, int format)
Definition: srvdbase.c:9433
GetDevicePropertyEGU
int GetDevicePropertyEGU(char *srv, char *prp, float *max, float *min, char *egu)
Retrieves the maximum, minimum values and engineering units for the property specified.
Definition: toolkit.c:3733
FlushContractTable
void FlushContractTable(void)
Flushes the current contract and client entry tables.
Definition: srvdbase.c:5092
ExportListTag::alarmSystem
short alarmSystem
Definition: srvcore.h:1811
NAME48I::ival
SINT32 ival
Definition: tinetype.h:323
illegal_format
@ illegal_format
Definition: errors.h:78
AWLQS::hiwarn
float hiwarn
Definition: almlib.h:447
GetMCastAddrLegacy
char * GetMCastAddrLegacy(void)
Gets the cannonical legacy multicast address a pre-release 4.5.2 server will use when requested to se...
Definition: iplib.c:2310
GetRunServerCycleInSeparateThread
int GetRunServerCycleInSeparateThread(void)
Returns whether the server cycle is run in its own thread (boolean).
GetSystemStampOffset
int GetSystemStampOffset(void)
Returns the registered system cycle offset.
Definition: client.c:8288
GetDeviceNames
int GetDeviceNames(char *srv, NAME16 *devs, int *num)
Retrieves a list of device names via query to the server given.
Definition: toolkit.c:4894
DTYPE
Defines a TINE data object.
Definition: tinetype.h:997
GetConnectionTableCapacity
int GetConnectionTableCapacity(void)
Gets the maximum number of entries allowed in the connection table.
Definition: client.c:9963
GetDataTimeStringEx
char * GetDataTimeStringEx(double ts, int useLongStringFormat, char *tsstr)
Returns the TINE data timestamp as a human-readable string.
Definition: syslib.c:5055
no_data_in_range
@ no_data_in_range
Definition: errors.h:88
GetInetAddress
int GetInetAddress(SCKADR *sckadr, char *addr)
Gets the address (ip address and port) of the given socket address as a string.
Definition: iplib.c:1808
SetServerTransportCeiling
void SetServerTransportCeiling(int value)
Sets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:144
SetPreSystemInitFunction
void SetPreSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed prior to server initialization.
Definition: syslib.c:5374
GetAlarmHeartbeat
int GetAlarmHeartbeat(void)
Gets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an a...
Definition: Alarm API Calls:2213
invalid_keyword
@ invalid_keyword
Definition: errors.h:142
FLTINTFLTINT::f2val
float f2val
Definition: tinetype.h:644
GetUseMultiThreadedBackgroundTasks
int GetUseMultiThreadedBackgroundTasks(void)
Returns whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2075
ClearAlarm
void ClearAlarm(char *eqm, int devNr)
Instructs the local alarm server table that the given alarm is to be cleared.
Definition: Alarm API Calls:2174
FLTINT
Defines a TINE pairwise data object containing a float value followed by a 4-byte integer value.
Definition: tinetype.h:361
HstTblEntry::lastAccessTime
double lastAccessTime
Definition: hstlib.h:103
NAME64DBLDBLDBL::d1val
double d1val
Definition: tinetype.h:511
SetAppVersion
void SetAppVersion(int major, int minor, int revision)
Sets the application version of the current running server process.
Definition: srvdbase.c:6157
DWINDOW::t1
SINT32 t1
Definition: tinetype.h:614
DPOINT::x
float x
Definition: tinetype.h:415
GetSystemDataStampFromCallbackId
int GetSystemDataStampFromCallbackId(int id)
Gets the system data stamp with which the incoming data set has been tagged.
Definition: client.c:7383
AWS
Defines an Alarm Watch Structure.
SetPostSystemInitFunction
void SetPostSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed following server initialization.
Definition: syslib.c:5378
GetDataTimeStamp
double GetDataTimeStamp(void)
Returns the last established data timestamp.
Definition: syslib.c:5190
DSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:758
GetSystemCycleDeadband
int GetSystemCycleDeadband(void)
Gets the system cycle deadband.
Definition: srvdbase.c:6569
SetCycleDelay
int SetCycleDelay(int msecs)
Sets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5226
GetLastContractTableId
int GetLastContractTableId(void)
Returns the last contract table identifier.
Definition: syslib.c:6270
RegisterXPropertyQueryFunction
short RegisterXPropertyQueryFunction(char *eqm, int(*fcn)(char *devName, XPropertyQueryStruct **xpqs), int numprops)
Registers an extended property query function.
Definition: srvdbase.c:9226
PropertyQueryStructEx::prpMaxValue
float prpMaxValue
Definition: tinetype.h:4050
SetLinkWatchdogPollingInterval
int SetLinkWatchdogPollingInterval(int value)
Sets the link watchdog polling interval to the value given.
Definition: client.c:8900
SystemKillCycleTimer
void SystemKillCycleTimer(void)
Stops the TINE engine 'cycler' thread.
Definition: tine32.c:247
PrpQueryStruct::prpFormat
BYTE prpFormat
Definition: tinetype.h:4121
clslog
int clslog(char *context, char *tag, char *logger, int priority, int status, char *text,...)
Sends a logging entry to the central logging server.
Definition: syslib.c:6102
recvNetGlobal
int recvNetGlobal(const char *keyword, DTYPE *dout, void(*cbFcn)(int, int))
Initiates a net globals data link.
Definition: client.c:7699
ResetMultiChannelProperty
int ResetMultiChannelProperty(char *eqm, char *prp)
sends (schedules) a 'reset_mca_property' signal to any listening client
Definition: syslib.c:5642
renegotiate_contract
@ renegotiate_contract
Definition: errors.h:212
illegal_equipment_name
@ illegal_equipment_name
Definition: errors.h:150
DUNION::strptr
char ** strptr
Definition: tinetype.h:976
GetTimeStampFromString
double GetTimeStampFromString(char *timestr)
Returns a TINE timestamp converted from the string argument given.
Definition: syslib.c:5100
ApplyAlarmWatchFilter
int ApplyAlarmWatchFilter(char *eqm, char *prp, char *dev, char *parsableFilterString)
Applies a filter to an existing local alarm server's Watch Table.
Definition: Alarm API Calls:2479
ALM_THRESHOLDS::mask
UINT32 mask
Definition: almlib.h:564
DUNION::fptr
float * fptr
Definition: tinetype.h:988
gRequireAcknowledgments
int gRequireAcknowledgments
Determines whether acknowledgements are expected following data changes where contracts use CM_DATACH...
Definition: server.c:118
GetGlobalDataTypeFromCallbackId
int GetGlobalDataTypeFromCallbackId(int id)
Returns the data type of global link callback id supplied.
Definition: client.c:10244
not_signalled
@ not_signalled
Definition: errors.h:222
RemoveAlarm
void RemoveAlarm(char *eqm, int devNr, UINT32 code)
Instructs the local alarm server table that the given alarm is to be marked for removal.
Definition: Alarm API Calls:2218
SetScanForNetsFiles
int SetScanForNetsFiles(const char *eqm)
Instructs the initialization process to look for device and property specific 'ipnets' files.
Definition: srvdbase.c:7069
illegal_device
@ illegal_device
Definition: errors.h:117
GetDataTimeStampAsTimeval
struct timeval * GetDataTimeStampAsTimeval(void)
Returns the last established data timestamp as a pointer to a struct timeval.
Definition: syslib.c:5093
SetAlarmCodeOscillationWindow
int SetAlarmCodeOscillationWindow(const char *eqm, int code, int value)
Sets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2589
GetSystemPropertyInformation
int GetSystemPropertyInformation(char *srv, char *prp, PrpQueryStruct **pqs, int *num)
Retrieves a list of extended property query structures for the device server and target property spec...
Definition: toolkit.c:4168
invalid_transport
@ invalid_transport
Definition: errors.h:85
SetAllowOfflineAlarms
void SetAllowOfflineAlarms(int value)
Instructs the local alarm server to allow or disallow alarms for devices declared offline.
Definition: Alarm API Calls:978
HstTblEntry::lastArchiveTime
double lastArchiveTime
Definition: hstlib.h:104
ExportListTag::regionsLst
DeviceRegionItem * regionsLst
Definition: srvcore.h:1808
GetNumberDataOutputBuffers
int GetNumberDataOutputBuffers(void)
gets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:5376
SetHistoryStaticFilesRepository
void SetHistoryStaticFilesRepository(char *path)
Sets the directory location where static local history files are maintained.
Definition: hstlib.c:209
NAME32I::name
char name[32]
Definition: tinetype.h:310
out_of_range
@ out_of_range
Definition: errors.h:119
dcsEvnSck
SOCKET dcsEvnSck
ExportListTag::groupIndex
int groupIndex
Definition: srvcore.h:1789
SetMinimumDiskSpaceInBlocks
void SetMinimumDiskSpaceInBlocks(UINT32 spaceInBlocks)
Sets the amount of free disk space the local history subsystem should try to maintain.
Definition: hstlib.c:253
GetNumConsumers
int GetNumConsumers(char *eqm)
Returns the current number of consumers associated with the equipment module given.
Definition: srvdbase.c:5340
DeviceInfoStruct::name
char name[DEVICE_NAME_SIZE]
Definition: srvcore.h:1743
PrpEguStruct::graph
BYTE graph
Definition: tinetype.h:2380
data_stale
@ data_stale
Definition: errors.h:252
SetTcpConnectionTableSize
void SetTcpConnectionTableSize(int value)
sets the tcp connection table size.
illegal_equipment_number
@ illegal_equipment_number
Definition: errors.h:115
GetGlobalsHeartbeat
int GetGlobalsHeartbeat(void)
gets the heartbeat (in seconds) during which time no 'timeout' messages will be sent to a globals dis...
Definition: client.c:10297
DUSTRING::f2val
float f2val
Definition: tinetype.h:700
XPropertyQueryStruct::prpSize
UINT32 prpSize
Definition: XPropertyQueryStruct.txt:14
ExportListTag::staChgRef
void * staChgRef
Definition: srvcore.h:1837
GetSystemUseDataProtection
int GetSystemUseDataProtection(void)
Gets the data protection flag to the value given.
Definition: syslib.c:6227
SetIdleConnectionDuration
void SetIdleConnectionDuration(int allowedIdleSeconds)
sets the time-to-live for an unused TCP connection to a server
async_access_required
@ async_access_required
Definition: errors.h:173
HstTblEntry::depthShort
int depthShort
Definition: hstlib.h:82
NAME64DBLDBLDBL::d2val
double d2val
Definition: tinetype.h:512
GetSubscriptionRenewalThreshold
int GetSubscriptionRenewalThreshold(int linkId, int *thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2680
ExportListTag::inidone
short inidone
Definition: srvcore.h:1825
UpdateDataStampsFromLinkId
int UpdateDataStampsFromLinkId(int linkId, DTYPE *dout)
Fills in the given DTYPE data object with all data stamp information.
Definition: client.c:7333
ExportListTag::isbusy
short isbusy
Definition: srvcore.h:1829
GetCompletionDataTypeFromCallbackId
int GetCompletionDataTypeFromCallbackId(int id)
Returns the most recent data type of the link associated with the callback id supplied.
Definition: client.c:10170
HstTblEntry::recordLength
int recordLength
Definition: hstlib.h:91
SetDieOnSocketError
void SetDieOnSocketError(int value)
Determines whether a server will exit() if there are continuous socket errors on important server soc...
Definition: syslib.c:220
net_read_error
@ net_read_error
Definition: errors.h:107
square_root_negative
@ square_root_negative
Definition: errors.h:103
HstTblEntry::recordInitialized
int recordInitialized
Definition: hstlib.h:92
DIMAGE
Defines a TINE image data object containing an image source header, an image frame header and the ima...
Definition: tinetype.h:925
HistorySpecification::archiveRate
int archiveRate
Definition: hstlib.h:190
invalid_return_code
@ invalid_return_code
Definition: errors.h:204
DSUMMARY::dev
double dev
Definition: tinetype.h:666
GetRegisteredContext
char * GetRegisteredContext(char *eqm)
Gives the registered context.
Definition: srvdbase.c:4129
SetExportedSubSystem
void SetExportedSubSystem(char *eqmName, char *subsystem)
Assigns the exported subsystem associated with the equipment function name given.
Definition: srvdbase.c:6749
invalid_reference
@ invalid_reference
Definition: errors.h:263
RegisterFecName
int RegisterFecName(char *name, char *desc, char *os, char *loc, char *hdw, char *resp, UINT16 poff)
Assigns a FEC Name to the server process.
Definition: srvdbase.c:5553
FLTFLTINT::f1val
float f1val
Definition: tinetype.h:559
RegisterPropertyEx
int RegisterPropertyEx(char *eqm, char *property, int siz, short fmt, short acc, char *dsc, int pid)
Assigns pertinent information for the specified property.
Definition: srvdbase.c:5993
SetGlobalsTableCapacity
void SetGlobalsTableCapacity(int value)
sets the globals table capacity
Definition: client.c:9967
HstTblEntry::sysstamp
SINT32 * sysstamp
Definition: hstlib.h:108
SetDeviceZPosition
int SetDeviceZPosition(char *eqm, char *devname, float zpos)
Assigns a Z (logitudinal) direction to the specified device.
Definition: srvdbase.c:9070
sedac_error
@ sedac_error
Definition: errors.h:167
PrpEguStruct
Structure used to hold engineering units, ranges, etc. for properties.
Definition: tinetype.h:2375
hdrSPECTRUM
Defines a TINE quintuplet data object containing an 80-character fixed-length string followed by a lo...
Definition: tinetype.h:730
GetExportedName
char * GetExportedName(char *eqm)
Returns the exported name associated with the equipment function name given.
Definition: srvdbase.c:8897
MaxNumberAlarms
int MaxNumberAlarms
Determines the maximum number of alarms which can be maintained in the local alarm server's alarm lis...
Definition: Alarm API Calls:70
DWINDOW
Defines a TINE quadruplet data object containing a long integer doublet giving a time range followed ...
Definition: tinetype.h:612
GetGlobalsTableCapacity
int GetGlobalsTableCapacity(void)
gets the globals table capacity (client-side)
Definition: client.c:9972
SetAlarmTerminationWindow
void SetAlarmTerminationWindow(int timeInSeconds)
Sets the size of the termination window in seconds before a terminated alarm is discarded from the lo...
Definition: Alarm API Calls:2627
GetSystemErrorString
char * GetSystemErrorString(short cc, char *errstr)
Gets the system error code in plain text.
Definition: syslib.c:5668
DUNAME::f3val
float f3val
Definition: tinetype.h:718
SetNewAlarmWindow
void SetNewAlarmWindow(int timeInSeconds)
Sets the size of the new alarm window in seconds before a new alarm is no longer declared as new.
Definition: Alarm API Calls:2633
no_such_computer
@ no_such_computer
Definition: errors.h:121
GetAllowNetworkAddressResolution
int GetAllowNetworkAddressResolution(void)
returns whether NETWORK address resolution is allowed
Definition: srvdbase.c:9388
AssignDataStampsToGlobal
int AssignDataStampsToGlobal(char *keyword, int dataStamp, int sysStamp)
Assigns additional data stamps to the registered global keyword.
Definition: srvdbase.c:6065
GetCurrentLinkStatusFromCallbackId
int GetCurrentLinkStatusFromCallbackId(int id)
Returns the completion code associated with the callback identifier supplied.
Definition: client.c:7318
ExportListTag::isterminating
BYTE isterminating
Definition: srvcore.h:1832
illegal_operator
@ illegal_operator
Definition: errors.h:159
semaphore_error
@ semaphore_error
Definition: errors.h:170
DMDA::cmt
char cmt[80]
Definition: tinetype.h:1042
ExportListTag::rateBkg
SINT32 rateBkg
Definition: srvcore.h:1823
netSrvSck
SOCKET netSrvSck
GetCallerInfo
int GetCallerInfo(char *eqm, NAME16 *un, BYTE *ipx, UINT32 *ip, short *prot, int *num)
Returns the user name(s) and network address(es) of all callers interested in the current contract.
Definition: srvdbase.c:5171
AWLQS::losev
int losev
Definition: almlib.h:438
PutValuesFromFloatEx
int PutValuesFromFloatEx(DTYPE *d, float *fval, int num, int offset)
Submits outgoing data from an array of floats.
Definition: toolkit.c:836
GetServerThreadPriority
int GetServerThreadPriority(void)
Returns the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:3537
SetDeviceDescription
int SetDeviceDescription(char *eqm, char *devname, char *description)
Assigns a device description to the specified device.
Definition: srvdbase.c:9011
ExecLinkEx
int ExecLinkEx(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access, UINT16 timeout)
Executes a synchronous link (Extended call).
Definition: client.c:7065
GetValuesAsFloat
int GetValuesAsFloat(DTYPE *d, float *fval, int num)
Retrieves incoming data as an array of floats.
Definition: toolkit.c:716
SetAlarmDataChangeWindow
void SetAlarmDataChangeWindow(int timeInSeconds)
Sets the size of the alarm datachange window in seconds.
Definition: Alarm API Calls:2638
GetDeviceServersFromFile
int GetDeviceServersFromFile(char *context, NAME16 *dslist, int *num)
Definition: toolkit.c:3822
ExportListTag::EqmNumDevices
short EqmNumDevices
Definition: srvcore.h:1802
cannot_select
@ cannot_select
Definition: errors.h:220
GetExportedFecName
char * GetExportedFecName(void)
Returns the FEC name exported at the time of server initialization.
Definition: srvdbase.c:6765
GetContractAccessRate
int GetContractAccessRate(int id)
Returns the access rate (interval) associated with the given contract.
Definition: syslib.c:6274
SetAllowBackgroundTaskReentrancy
void SetAllowBackgroundTaskReentrancy(int value)
Determines whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9362
GetRunTransportInSeparateThread
int GetRunTransportInSeparateThread(void)
Returns whether the (tcp) transport is run in its own thread (boolean).
SetConfigurationCoded
void SetConfigurationCoded(int value)
Determines whether TINE configuration files will be scanned or not.
Definition: srvdbase.c:6678
DSUMMARY::cnt
UINT32 cnt
Definition: tinetype.h:672
GetExportListItem
ExportListStruct * GetExportListItem(char *eqm)
Returns a reference to the Export List Structure of the given equipment module.
Definition: srvdbase.c:1952
port_not_available
@ port_not_available
Definition: errors.h:172
ExportListTag::hasDevQry
short hasDevQry
Definition: srvcore.h:1804
SystemPresetMemory
int SystemPresetMemory
Determines whether data requests preset the calling buffer to zero before issuing the call.
Definition: server.c:66
GetNumCallers
int GetNumCallers(char *eqm)
Returns the current number of callers associated with the equipment module given.
Definition: srvdbase.c:5336
access_locked
@ access_locked
Definition: errors.h:262
ExportListTag::adsTable
ADSList * adsTable
Definition: srvcore.h:1809
GetDeviceServersEx
int GetDeviceServersEx(char *context, NAME16 *dslist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:3816
ALM_THRESHOLDS::lowarnsev
int lowarnsev
Definition: almlib.h:559
FLTINTINT::i2val
SINT32 i2val
Definition: tinetype.h:526
SetMaxTcpMessageSize
void SetMaxTcpMessageSize(int value)
Sets the TINE server maximum STREAM message segment size.
Definition: iplib.c:1013
PropertyQueryStructEx::prpSizeIn
UINT32 prpSizeIn
Definition: tinetype.h:4052
server_idle
@ server_idle
Definition: errors.h:260
DFILTER::f2val
float f2val
Definition: tinetype.h:685
GetValuesAsDBLDBL
int GetValuesAsDBLDBL(DTYPE *d, DBLDBL *ddval, int num)
Retrieves incoming data as an array of DBLDBL values.
Definition: toolkit.c:5413
AMS
Defines an Alarm Message Structure.
SetClientThreadPriority
int SetClientThreadPriority(int priority)
Determines the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:3541
GetAllowBackgroundTaskReentrancy
int GetAllowBackgroundTaskReentrancy(void)
Returns whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9366
NAME16DBLDBL
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by a ...
Definition: tinetype.h:457
RegisterFecNameEx
int RegisterFecNameEx(char *name, char *desc, char *os, char *loc, char *hdw, char *resp, UINT16 poff, char *context)
Assigns a FEC Name to the server process. Extended call.
Definition: srvdbase.c:5542
HRS::pollingRate
int pollingRate
Definition: hstlib.h:148
SetAccessLock
int SetAccessLock(char *context, char *server, int lockType, int lockDuration)
Acquires an access lock to the server specified.
Definition: client.c:10301
GetPropertySubscriptionRenewalLength
int GetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int *value)
Gets the current subscription renewal length for the property specified.
Definition: srvdbase.c:2614
GetContractId
int GetContractId(const char *eqm)
Returns the last contract identifier for the equipment module specified.
Definition: syslib.c:6251
PropertyQueryStruct
Defines a simple property query structure (legacy, minimal information)
Definition: tinetype.h:4024
RegisterEquipmentModule
int RegisterEquipmentModule(char *expName, char *eqmName, int numdevices, int(*fcn)(char *, char *, DTYPE *, DTYPE *, short), void(*ini)(void), void(*tsk)(void), int rate, void(*exi)(void))
Registers an equipment module with the TINE server engine.
Definition: srvdbase.c:5485
DADDRESS::i1val
SINT32 i1val
Definition: tinetype.h:600
ExportListTag::EqmRegion
char EqmRegion[TAG_NAME_SIZE]
Definition: srvcore.h:1788
XPropertyQueryStruct::prpHistoryDepthLong
UINT16 prpHistoryDepthLong
Definition: XPropertyQueryStruct.txt:21
AcquireAndRegisterStruct
int AcquireAndRegisterStruct(char *devName, char *tag, int num)
Acquires the structure specified by the structure tag from the specified device server.
Definition: toolkit.c:3298
DFILTER::ival
SINT32 ival
Definition: tinetype.h:683
getLinkOutputStatus
int getLinkOutputStatus(int lnkId, char *strSts, int maxKeyLength, int splitlines)
Definition: client.c:361
RemoveRegisteredBCastNetsList
int RemoveRegisteredBCastNetsList(NAME64 *ipaddr, int rmvsiz)
removes those networks in the name list given from the current broadcast list.
Definition: srvdbase.c:7025
DFILTER::f3val
float f3val
Definition: tinetype.h:686
DataPoolEntry::length
int length
Definition: hstlib.h:70
warn_disk_space
@ warn_disk_space
Definition: errors.h:265
canbus_error
@ canbus_error
Definition: errors.h:250
ClnInfoStruct
Client Information Structure used in GetCallerInformation.
Definition: srvcore.h:2484
SetSizeDeviceCapacity
int SetSizeDeviceCapacity(char *eqm, int size)
Sets (increases) the maximum size of the device table and associated tables.
Definition: srvdbase.c:4727
net_write_error
@ net_write_error
Definition: errors.h:193
invalid_parameter
@ invalid_parameter
Definition: errors.h:98
GetValuesAsByte
int GetValuesAsByte(DTYPE *d, BYTE *bval, int num)
Retrieves incoming data as an array of bytes.
Definition: toolkit.c:627
ResetSuspendCallbacks
void ResetSuspendCallbacks(void)
stops suspending callbacks and resets the reference counter
Definition: client.c:4239
GetValuesAsShort
int GetValuesAsShort(DTYPE *d, short *sval, int num)
Retrieves incoming data as an array of short integers.
Definition: toolkit.c:640
SetPacketMTU
int SetPacketMTU(int mtu)
Sets the TINE Packet MTU for the UDP server socket.
Definition: iplib.c:197
GetDeviceProperties
int GetDeviceProperties(char *srv, NAME32 *props, int *num)
Retrieves a list of properties via query to the server given.
Definition: toolkit.c:4843
GetDeviceNamesEx
int GetDeviceNamesEx(char *srv, char *prp, NAME16 *devs, int *num)
Retrieves a list of device names associated with a given property via query to the server specified.
Definition: toolkit.c:4858
NAME32I::ival
SINT32 ival
Definition: tinetype.h:311
SetRunServerCycleInSeparateThread
void SetRunServerCycleInSeparateThread(int value)
Determines whether the server cycle is run in its own thread (boolean).
CloseNetGlobal
int CloseNetGlobal(const char *keyword)
Closes an active globals data link according to the globals Keyword.
Definition: client.c:7035
GetCurrentLinkStatus
int GetCurrentLinkStatus(int i)
Returns the completion code associated with the input link index.
Definition: client.c:7313
FLTFLTINT
Defines a TINE triplet data object containing a float doublet followed by a long integer value.
Definition: tinetype.h:557
XPropertyQueryStruct::prpAccess
BYTE prpAccess
Definition: XPropertyQueryStruct.txt:25
DTYPE::sysStamp
int sysStamp
Definition: tinetype.h:1003
SetRetardSingleContractRemoval
void SetRetardSingleContractRemoval(int value)
sets the retard contract removal state
Definition: srvdbase.c:9354
GetCompletionDataType
int GetCompletionDataType(int i)
Returns the most recent data type of the link index supplied.
Definition: client.c:10158
SetNumberDataOutputBuffers
int SetNumberDataOutputBuffers(int value)
sets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:5365
PropertyQueryStruct::prpSize
UINT16 prpSize
Definition: tinetype.h:4028
INTINTINT::i3val
SINT32 i3val
Definition: tinetype.h:574
SetUseMultiThreadedEquipmentFunctions
void SetUseMultiThreadedEquipmentFunctions(int value)
Determines whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2080
gErrorLogLevel
int gErrorLogLevel
Determines which messages are written to error.log file.
Definition: syslib.c:4774
AWLQS::lo
float lo
Definition: almlib.h:446
GetSystemLogging
int GetSystemLogging(void)
Returns the current system logging setting (TRUE or FALSE)
Definition: syslib.c:6178
HRS::property
char property[PROPERTY_NAME_SIZE]
Definition: hstlib.h:144
GetInterpretConsoleCommands
int GetInterpretConsoleCommands(void)
Returns the setting for whether console commands will be interpreted or not.
NAME64I::name
char name[64]
Definition: tinetype.h:334
SetSystemUserName
int SetSystemUserName(char *usr)
Sets the current value for the application user.
Definition: syslib.c:5662
XPropertyQueryStruct::prpFormatIn
BYTE prpFormatIn
Definition: XPropertyQueryStruct.txt:24
mcast_access_required
@ mcast_access_required
Definition: errors.h:137
GetClnUDPPort
int GetClnUDPPort(void)
Gets the TINE client UDP base port.
Definition: iplib.c:2230
useGlobalSynchronization
int useGlobalSynchronization
Determines whether data timestamps are to be externally synchronized.
Definition: syslib.c:4795
NAME8I
Defines a TINE pairwise data object containing an 8-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:284
GetBackgroundThreadPriority
int GetBackgroundThreadPriority(void)
Returns the priority of the registered background threads.
Definition: syslib.c:3553
value_too_high
@ value_too_high
Definition: errors.h:215
RegisterUserCommand
int RegisterUserCommand(char *cmd, int(*fcn)(int, int, int, int), int *iparam, float *fparam, int access)
Registers a user-defined command or variable which can be accessed via the TINE command line interpre...
Definition: ttycmd.c:1787
SystemKillCycleTimer
void SystemKillCycleTimer(void)
Stops the TINE engine 'cycler' thread.
Definition: tine32.c:247
RegisterCycleTriggerFunction
int RegisterCycleTriggerFunction(CYCBFCNP fcn, char *eqm, char *prpLst, void *reference)
Registers a cycle trigger callback dispatch function.
Definition: client.c:8246
file_already_exists
@ file_already_exists
Definition: errors.h:126
NAME64DBL::dval
double dval
Definition: tinetype.h:486
ExportListTag::hstdone
short hstdone
Definition: srvcore.h:1826
INTFLTINT::i2val
SINT32 i2val
Definition: tinetype.h:541
SystemGetStartupCommand
char * SystemGetStartupCommand(void)
Returns the command line used to start this process.
Definition: srvdbase.c:6796
dimension_error
@ dimension_error
Definition: errors.h:102
SetFecHome
int SetFecHome(char *fecHomePath)
Sets the current fec home database repository.
Definition: syslib.c:6162
AppendRegisteredUsers
int AppendRegisteredUsers(const char *eqm, NAME16 *userlist, int listsize)
appends the current users access list with the name list given
Definition: srvdbase.c:782
AssertRangeValid
int AssertRangeValid(const char *eqmName, const char *prpName, DTYPE *din, int enforceLimits)
Helper routine to check input data against registered range limits.
Definition: toolkit.c:4738
GetCurrentDataStatusFromCallbackId
int GetCurrentDataStatusFromCallbackId(int id)
Returns the data status code associated with the callback identifier supplied.
Definition: client.c:7328
PutLnkTimeStamp
int PutLnkTimeStamp(int i)
Flags a link so that the local timestamp is used for all incoming data sets.
Definition: client.c:2218
GetSystemStampOffset
int GetSystemStampOffset(void)
Returns the registered system cycle offset.
Definition: client.c:8288
unix_socket_error
@ unix_socket_error
Definition: errors.h:271
ResolveSystemAlias
char * ResolveSystemAlias(char *alias)
Gets the registered property or registered device name for the given alias.
Definition: srvdbase.c:9378
HistorySpecification::rhsPropertyName
char * rhsPropertyName
Definition: hstlib.h:197
GetCallerInformation
int GetCallerInformation(char *eqm, ClnInfo *clnInfoList, int *num)
Returns the user name, network address and other information of all callers interested in the current...
Definition: srvdbase.c:5195
XPropertyQueryStruct::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: XPropertyQueryStruct.txt:20
MDX::reserved
int reserved
Definition: tinetype.h:1027
GetPortOffset
int GetPortOffset(const char *fecName)
Obtains the FEC port offset appropriate for the give FEC name.
Definition: srvdbase.c:8440
non_existent_server
@ non_existent_server
Definition: errors.h:153
illegal_character
@ illegal_character
Definition: errors.h:156
GetCaller
char * GetCaller(char *eqm)
Gives the user name of the current caller.
Definition: srvdbase.c:5161
GetSystemUserName
char * GetSystemUserName(void)
Gets the current value for the application user.
Definition: syslib.c:6174
HstTblEntry::archiveRate
int archiveRate
Definition: hstlib.h:81
not_exported
@ not_exported
Definition: errors.h:208
end_of_file
@ end_of_file
Definition: errors.h:131
DPOINT
Defines a TINE pairwise data object containing a pairwise float doublet.
Definition: tinetype.h:413
SetGCastAddr
int SetGCastAddr(char *addr)
Sets the cannonical globals multicast address the server will use when sending payloads via multicast...
Definition: iplib.c:2378
GetFormatSizeInBytesFromDataType
int GetFormatSizeInBytesFromDataType(DTYPE *d)
Gives the size of bytes according to the DTYPE fields.
Definition: syslib.c:740
ExportListTag::isinside
BYTE isinside
Definition: srvcore.h:1831
PutValuesFromDoubleEx
int PutValuesFromDoubleEx(DTYPE *d, double *dval, int num, int offset)
Submits outgoing data from an array of doubles.
Definition: toolkit.c:822
GetErrorText
char * GetErrorText(int code, char *errstr, int length)
Returns the error text associated with an error code.
PrintToLogbook
int PrintToLogbook(char *proxy, char *logbook, char *header, char *severity, char *author, char *message, BYTE *imageBytes, int imageLength, int addStatusInformation)
sends the given input to an electronic logbook
Definition: toolkit.c:1531
data_not_local
@ data_not_local
Definition: errors.h:227
AssignDeviceAccessList
int AssignDeviceAccessList(const char *eqm, const char *dev, NAME16 *users, int nusers)
Assigns an access list for the device given.
Definition: srvdbase.c:8579
_SystemFireEvent
int _SystemFireEvent(char *eqm, char *prp)
Schedules an event for the given property for immediate delivery to all attached clients.
Definition: syslib.c:5638
GetValuesAsLong
int GetValuesAsLong(DTYPE *d, SINT32 *lval, int num)
Retrieves incoming data as an array of long integers.
Definition: toolkit.c:653
MDX::len
int len
Definition: tinetype.h:1026
CLOG::priority
int priority
Definition: tinetype.h:196
DeviceInfoStruct::ctx
char ctx[CONTEXT_NAME_SIZE]
Definition: srvcore.h:1741
GetAllowOfflineAlarms
int GetAllowOfflineAlarms(void)
Gets the local alarm server setting to allow or disallow alarms for devices declared offline.
Definition: Alarm API Calls:982
ExportListTag::hasPropertyHandler
int hasPropertyHandler
Definition: srvcore.h:1819
RemoveEquipmentModule
int RemoveEquipmentModule(const char *eqm)
Unregisters an equipment module with the TINE server engine and frees all associated memory.
Definition: srvdbase.c:4256
MaxSystemTransportSize
UINT32 MaxSystemTransportSize
Determines the maximum size in bytes of any call supported by the server.
Definition: server.c:112
GetUseGlobalSynchronization
int GetUseGlobalSynchronization(void)
Returns whether data timestamps are to be externally synchronized.
Definition: syslib.c:4806
DataPoolEntry::data
BYTE * data
Definition: hstlib.h:71
GetBurstLimit
int GetBurstLimit(void)
Gets the burst limit in number of packets which are allowed to be sent consecutively.
Definition: syslib.c:5222
ASPECTRUM::spectBuffer
float * spectBuffer
Definition: tinetype.h:807
FLTFLT::f1val
float f1val
Definition: tinetype.h:404
SetSchedulerInterval
void SetSchedulerInterval(int value)
Sets the system scheduler interval.
Definition: srvdbase.c:6508
SetDisplayExtraDigits
void SetDisplayExtraDigits(int value)
prints double variables with with precision in log files
Definition: toolkit.c:4912
SetValuesAsStringSeparator
int SetValuesAsStringSeparator(char *str)
sets the separator to be used by getValuesAsString() and GetValuesArrayAsString()
Definition: toolkit.c:4899
FLTINTFLTINT::f1val
float f1val
Definition: tinetype.h:642
NAME16FI
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by a ...
Definition: tinetype.h:428
LockEquipmentModules
int LockEquipmentModules(void)
Locks all equipment modules.
Definition: syslib.c:5333
TImageSourceHeader::baseTag
UINT32 baseTag
Definition: tinetype.h:863
ExportListTag::EqmNumCalls
int EqmNumCalls
Definition: srvcore.h:1840
ExportListTag::eqmStartupTime
time_t eqmStartupTime
Definition: srvcore.h:1854
CLOG::tag
char tag[32]
Definition: tinetype.h:193
SystemStartCycleTimer
void SystemStartCycleTimer(void)
Starts a TINE engine 'cycler' running (SystemCycle()) in a separate thread.
Definition: tine32.c:243
illegal_line
@ illegal_line
Definition: errors.h:77
buffer_too_small
@ buffer_too_small
Definition: errors.h:104
FLTINTFLTINT::i1val
SINT32 i1val
Definition: tinetype.h:643
notification_pending
@ notification_pending
Definition: errors.h:242
SendEventTrigger
int SendEventTrigger(char *dev, char *cmt, short triggerLevel)
Sends a Post-Mortem (i.e. event) Trigger to the designated Post-Mortem Server.
Definition: toolkit.c:1640
DeviceInfoStruct::desc
char desc[DEVICE_DESC_SIZE]
Definition: srvcore.h:1744
JoinEquipmentGroup
int JoinEquipmentGroup(char *eqmName, char *groupname, int groupindex)
Instructs the equipment module to join the specified equipment group.
Definition: srvdbase.c:8967
ExportListTag::hDataProtectionMutex
MXHANDLE hDataProtectionMutex
Definition: srvcore.h:1848
SetWorkAreaSize
UINT32 SetWorkAreaSize(UINT32 size)
Sets the server-side work area size which is coupled to the maximum transport size for supported by a...
Definition: syslib.c:5261
ipx_socket_error
@ ipx_socket_error
Definition: errors.h:106
completion_waiting
@ completion_waiting
Definition: errors.h:219
AWLQS::sev
int sev
Definition: almlib.h:435
ExportListTag::isidle
short isidle
Definition: srvcore.h:1828
DUNION::usptr
UINT16 * usptr
Definition: tinetype.h:979
HRS::datafmt
int datafmt
Definition: hstlib.h:147
HstTblEntry::archiveFileName
char archiveFileName[32]
Definition: hstlib.h:105
NAME64DBL
Defines a TINE doublet data object containing a 64-character fixed-length string value followed by a ...
Definition: tinetype.h:483
AssignNumDevices
int AssignNumDevices(char *eqm, int num)
Fixes the number of modules (devices) attached to the specified equipment module.
Definition: srvdbase.c:5140
SetServerWaiting
void SetServerWaiting(int value)
Sets the server's waiting state to the value given.
Definition: syslib.c:4566
SetBurstLimit
int SetBurstLimit(int npackets)
Sets the burst limit in number of packets which are allowed to be set consecutively.
Definition: syslib.c:5215
file_error
@ file_error
Definition: errors.h:100
DUNION
de-references the data set in a DTYPE object
Definition: tinetype.h:972
GetGlobalLinkIdFromCallbackId
int GetGlobalLinkIdFromCallbackId(int cbId)
retrieves the link ID for a globals link
Definition: client.c:6208
DMDA::ndim
int ndim
Definition: tinetype.h:1043
SetDefaultTransportMode
void SetDefaultTransportMode(int value)
Sets the default TINE transport mode used in client-side links.
Definition: client.c:107
GetPropertyId
int GetPropertyId(char *eqm, char *prpName)
Gives the associated property identifier for the given property name.
Definition: srvdbase.c:5355
string_expected
@ string_expected
Definition: errors.h:144
SetStreamTransportRetryLimit
void SetStreamTransportRetryLimit(int value)
Sets the stream transport retry limit.
Definition: syslib.c:3914
SetCatchConsoleBreak
void SetCatchConsoleBreak(int value)
Determines whether an application will catch an interrupt or break signal (such as control-C) and iss...
Definition: syslib.c:192
SetSystemAlias
int SetSystemAlias(char *alias, char *name)
Sets an alias for either a registered property or registered device.
Definition: srvdbase.c:9370
FLTFLTINT::f2val
float f2val
Definition: tinetype.h:560
SetAlarmHeartbeat
void SetAlarmHeartbeat(int timeInSeconds)
Sets the size of the heartbeat alarm window in seconds before the 'heartbeat' flag is applied to an a...
Definition: Alarm API Calls:2617
GetServerTransportCeiling
int GetServerTransportCeiling(void)
Gets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:150
nofeclog
int nofeclog
Determines whether a server is to keep a log file on the local disk.
Definition: syslib.c:4772
INTFLTINT
Defines a TINE triplet data object containing a long integer value followed by a float followed by a ...
Definition: tinetype.h:537
SetAutoLinkWatchdogs
void SetAutoLinkWatchdogs(int value)
Enables/Disables automatic link watchdogs.
Definition: client.c:10273
USPECTRUM::tm
SINT32 tm
Definition: tinetype.h:781
HistorySpecification::pTolerance
float pTolerance
Definition: hstlib.h:194
PutValuesFromUnsignedLongEx
int PutValuesFromUnsignedLongEx(DTYPE *d, UINT32 *lval, int num, int offset)
Submits outgoing data from an array of unsigned long (32-bit) integers.
Definition: toolkit.c:864
SetMinimumAllowedPollingInterval
void SetMinimumAllowedPollingInterval(int value)
Sets the minimum polling interval in milliseconds a server will allow.
Definition: srvdbase.c:6573
ALM_THRESHOLDS::normal
UINT32 normal
Definition: almlib.h:565
ALM_THRESHOLDS::cnt
int cnt
Definition: almlib.h:555
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1229
record_too_long
@ record_too_long
Definition: errors.h:270
RegisterPropertyInformationEx
int RegisterPropertyInformationEx(char *eqm, char *prp, DTYPE *dout, DTYPE *din, short acc, short atype, UINT16 rowlen, char *dsc, PrpEgu *egu, PrpEgu *xegu, int pid, char *rdr)
Assigns pertinent information for the specified property (extended version).
Definition: srvdbase.c:5694
FLTINTFLTINT
Defines a TINE quadruplet data object containing a float value followed by a long integer followed by...
Definition: tinetype.h:640
HRS::depthShort
int depthShort
Definition: hstlib.h:150
GetAlwaysRetry
int GetAlwaysRetry(void)
Gets the current setting of the 'Always Retry' flag.
Definition: client.c:10281
GetUseLoopback
int GetUseLoopback(void)
Returns the current value of the 'useLoopBack' flag.
INTINTINT::i2val
SINT32 i2val
Definition: tinetype.h:573
ALARM
structure used in the local alarm linked list
FLTFLTINT::ival
SINT32 ival
Definition: tinetype.h:561
illegal_context
@ illegal_context
Definition: errors.h:93
ExportListTag::hasPropertyDeviceNames
short hasPropertyDeviceNames
Definition: srvcore.h:1795
udpSyncSck
SOCKET udpSyncSck
ExportListTag::hEqmBkg
THRHANDLE hEqmBkg
Definition: srvcore.h:1822
HRS::datasiz
int datasiz
Definition: hstlib.h:146
ExportListTag::EqmLastErrorCode
int EqmLastErrorCode
Definition: srvcore.h:1839
GetAllowBackgroundTaskReentrancy
int GetAllowBackgroundTaskReentrancy(void)
Returns whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9366
RegisterPropertyAndHandler
int RegisterPropertyAndHandler(char *eqm, EQMFCNP hndlr, char *prp, DTYPE *dout, DTYPE *din, short acc, short atype, UINT16 rowlen, char *dsc, PrpEgu *egu, PrpEgu *xegu, int pid)
Registers a device property and a property handler with the TINE server engine. If no equipment modul...
Definition: srvdbase.c:4866
AWSLstEntry
Uses an Alarm Watch Structure + extra override information.
FLTINTFLTINT::i2val
SINT32 i2val
Definition: tinetype.h:645
hdrSPECTRUM::s_start
float s_start
Definition: tinetype.h:734
ClnInfoStruct::addr
SCKADR addr
Definition: srvcore.h:2493
GetDeviceMask
int GetDeviceMask(char *eqm, int devnr)
Gives the registered device mask for the device number.
Definition: srvdbase.c:8937
ExportListTag::EqmDevLstCapacity
short EqmDevLstCapacity
Definition: srvcore.h:1803
GetFeclogDepth
int GetFeclogDepth(void)
Returns the maximum size of the server's log file in lines.
Definition: syslib.c:4791
PrpQueryStruct::rowSize
UINT16 rowSize
Definition: tinetype.h:4129
SetContractListCapacity
void SetContractListCapacity(int value)
Sets the maximum number of contracts a server will service.
Definition: srvdbase.c:8702
io_error
@ io_error
Definition: errors.h:92
GetValuesAsDouble
int GetValuesAsDouble(DTYPE *d, double *dval, int num)
Retrieves incoming data as an array of doubles.
Definition: toolkit.c:729
GetValuesAsAny
int GetValuesAsAny(DTYPE *d, void *val, short fmt, int objectSizeInBytes, int num, int offset)
Retrieves incoming data as an array of the format type given.
Definition: toolkit.c:1305
hdrGSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:828
SetEqmCompletion
void SetEqmCompletion(char *eqm, char *errstr)
Sets the error string to accompany the current server call.
Definition: srvdbase.c:6195
illegal_data_size
@ illegal_data_size
Definition: errors.h:91
FLTINT::fval
float fval
Definition: tinetype.h:363
operation_success
@ operation_success
Definition: errors.h:76
GetLastStoredDataEx
int GetLastStoredDataEx(char *eqm, char *prp, char *dev, int index, BYTE *data, int fmt, int len, double *tstamp)
Retreives the last stored data set from disk for the given input parameters (extended call).
Definition: hstlib.c:4722
AWLQS::dev
char dev[DEVICE_NAME_SIZE]
Definition: almlib.h:429
ExportListTag::eqmBaseline
time_t eqmBaseline
Definition: srvcore.h:1855
RegisterDeviceName
int RegisterDeviceName(char *eqm, char *devname, int devnr)
Assigns a device name to the specified device number.
Definition: srvdbase.c:5427
PutDataTimeStampU
double PutDataTimeStampU(double toffset, time_t tsec, int tusec)
Returns a data timestamp according to the input parameters given.
Definition: syslib.c:5207
ClnInfoStruct::inetProtocol
short inetProtocol
Definition: srvcore.h:2496
ExportListTag::eqmIni
EQMTSKP eqmIni
Definition: srvcore.h:1834
AppendHistoryLog
void AppendHistoryLog(char *text,...)
Appends a line of text to a server's secondary log file.
Definition: toolkit.c:3233
PrpEguStruct::min
float min
Definition: tinetype.h:2378
PrpQueryStruct::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: tinetype.h:4119
AWLQS::mask
UINT32 mask
Definition: almlib.h:441
SetContractSignalFunction
void SetContractSignalFunction(CONSIG fcn, int mask, void *ref)
Registers a contract signal function.
Definition: srvdbase.c:8681
invalid_interval
@ invalid_interval
Definition: errors.h:241
DMDA
Datatype: Multi-Dimensional Array.
Definition: tinetype.h:1040
gConTblCapacity
int gConTblCapacity
Determines the maximum number of entries in the connection table.
Definition: client.c:6804
ADS
Defines an Alarm Definition Structure.
GetArchivedDataAsAny
int GetArchivedDataAsAny(char *devsrv, time_t start, time_t stop, HstHdr *dataHdr, BYTE *data, int dataFmt, char *dataTag, int *num)
Retrieves archive data as requested in the call.
Definition: toolkit.c:3459
AWLQS::code
int code
Definition: almlib.h:449
AppendRegisteredBCastNetsList
int AppendRegisteredBCastNetsList(NAME64 *ipaddr, int addsiz)
appends the current network broadcast list with the name list given
Definition: srvdbase.c:7015
_SystemCycle
int _SystemCycle(int chkcmd)
Required call for the TINE engine to function property.
Definition: syslib.c:5266
fecLogFileDepth
int fecLogFileDepth
Sets the depth in lines of a server's secondary log file (if utilized).
Definition: toolkit.c:524
ExportListTag::nfollowers
short nfollowers
Definition: srvcore.h:1816
GetSystemSchedulePropertyLazy
int GetSystemSchedulePropertyLazy(void)
Gets the 'lazy' flag for scheduling properties.
Definition: syslib.c:5531
GetServerCycleState
int GetServerCycleState(char *cycleStateString)
Returns the current server cycle state.
Definition: server.c:5360
out_of_sequence
@ out_of_sequence
Definition: errors.h:277
not_allowed
@ not_allowed
Definition: errors.h:160
SetMCastMask
int SetMCastMask(char *addr)
Sets the cannonical multicast address mask the server will use when requested to send payloads via mu...
Definition: iplib.c:2314
microsleep
int microsleep(int usecs)
sleep for given number of micro-seconds
Definition: syslib.c:1432
out_of_local_memory
@ out_of_local_memory
Definition: errors.h:145
SetAlarmTableMaximumSize
void SetAlarmTableMaximumSize(int tableSize)
Sets the maximum number of alarms managed by the local alarm server.
Definition: Alarm API Calls:2622
HstTblEntry::dataPtr
int dataPtr
Definition: hstlib.h:85
DUSTRING::tm
SINT32 tm
Definition: tinetype.h:701
SetAutoLinkErrorAlarms
void SetAutoLinkErrorAlarms(int value)
Sets the autoLinkErrorAlarms flag.
Definition: client.c:10455
GetUseMultiThreadedBackgroundTasks
int GetUseMultiThreadedBackgroundTasks(void)
Returns whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2075
SetSystemStampOffset
void SetSystemStampOffset(int cycleOffset)
Establishes a system cycle offset.
Definition: client.c:8284
TerminationWindow
int TerminationWindow
Determines the minimum time an expired alarm is to remain in the local alarm table.
Definition: Alarm API Calls:71
SetGCastMask
int SetGCastMask(char *addr)
Sets the cannonical multicast address mask the server will use when sending payloads via multicast as...
Definition: iplib.c:2382
GetServerTransportCeiling
int GetServerTransportCeiling(void)
Gets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:150
putCommandsInFeclog
int putCommandsInFeclog
Determines whether all in-coming WRITE access calls are automatically included in the server's log fi...
Definition: syslib.c:4775
AWLQS::asys
int asys
Definition: almlib.h:434
archive_busy
@ archive_busy
Definition: errors.h:132
SetServerIdleState
void SetServerIdleState(char *eqm, int value)
Sets the server's idle state to the value given.
Definition: syslib.c:4575
GetStandardSpillOverSize
int GetStandardSpillOverSize(void)
Gets the amount of additional space (number of addition records) to allocate as a worst case when usi...
Definition: hstlib.c:246
GetClientThreadPriority
int GetClientThreadPriority(void)
Returns the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:3545
no_such_file
@ no_such_file
Definition: errors.h:125
PrpQueryStruct::prpDescription
char prpDescription[PROPERTY_DESC_SIZE]
Definition: tinetype.h:4109
GetUseCycleTrigger
int GetUseCycleTrigger(void)
Returns whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:140
AssertIsAdministrator
int AssertIsAdministrator(const char *usr)
returns TRUE if the given user is a registered administrator
Definition: srvdbase.c:9219
DeviceInfoStruct::loc
char loc[DEVICE_LOCATION_SIZE]
Definition: srvcore.h:1745
SetUseMultiThreadedStockFunctions
void SetUseMultiThreadedStockFunctions(int value)
Determines whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2089
rs232_error
@ rs232_error
Definition: errors.h:186
GetConnectionTable
int GetConnectionTable(ConTblInfo *tbl, int *tblSize)
Gets the current connection table.
Definition: client.c:319
illegal_mode
@ illegal_mode
Definition: errors.h:189
AppendRegisteredNetsList
int AppendRegisteredNetsList(const char *eqm, NAME64 *ipaddr, int addsiz)
appends the current network access list with the name list given
Definition: srvdbase.c:7009
HstTblEntry::lastAccessSts
int lastAccessSts
Definition: hstlib.h:101
GetSystemServers
int GetSystemServers(char *context, NAME32 *dslist, int *num)
Retrieves a list of FECs via query to the Equipment Name Server.
Definition: toolkit.c:4305
GetRegisteredExportName
char * GetRegisteredExportName(char *eqm)
Gives the registered exported equipment module name.
Definition: srvdbase.c:4123
OpenBitField
int OpenBitField(char *srv, char *tag, int fmt)
Declares a bit field type and registers with the bitfield registry.
Definition: srvdbase.c:6432
PropertyQueryStructEx::prpFormatIn
BYTE prpFormatIn
Definition: tinetype.h:4057
DataValueToString
char * DataValueToString(char *sbuf, BYTE *data, int idx, short fmt, char *tag, int limit)
returns the supplied buffer IF the data format fully converts the data into a string else returns NUL...
Definition: toolkit.c:1699
NAME8I::ival
SINT32 ival
Definition: tinetype.h:287
SetNotificationTolerance
int SetNotificationTolerance(int linkId, float toleranceAbsolute, float tolerancePercent)
Allows the caller to apply a tolerance pertaining to link notification.
Definition: client.c:10446
USPECTRUM::comment
char comment[80]
Definition: tinetype.h:780
SetIgnoreCommonFiles
void SetIgnoreCommonFiles(int value)
turns searching for common database files in the FEC_HOME directory on or off
Definition: srvdbase.c:1564
DSPECTRUM::status
SINT32 status
Definition: tinetype.h:759
ExportListTag::EqmContext
char EqmContext[CONTEXT_NAME_SIZE]
Definition: srvcore.h:1780
AWLQS::lowarn
float lowarn
Definition: almlib.h:448
XPropertyQueryStruct::prpSizeIn
UINT32 prpSizeIn
Definition: XPropertyQueryStruct.txt:15
GetAccessLockStatus
int GetAccessLockStatus(char *context, char *server)
Acquires the current access lock status on a client's access lock.
Definition: client.c:10133
AddFieldToStruct
int AddFieldToStruct(char *tag, int addr, int size, int fmt, char *field)
Adds a field description to a tagged structure.
Definition: srvdbase.c:5096
SetGCastTableCapacity
void SetGCastTableCapacity(int value)
sets the globals multicast table capacity
Definition: srvdbase.c:6462
ALM_THRESHOLDS::hiwarn
float hiwarn
Definition: almlib.h:561
SystemVersion
BYTE * SystemVersion(void)
Returns the system version as a 4-byte array containg the major and minor version numbers as the firs...
Definition: syslib.c:5519
ClnInfoStruct::reserved2
UINT16 reserved2
Definition: srvcore.h:2491
FLTINT::ival
SINT32 ival
Definition: tinetype.h:364
SetlookupRedirectionNameStub
void SetlookupRedirectionNameStub(int(*fcn)(char *eqm, char *prpName, char *devName))
Sets a stub to an existing lookupRedirectionNameStub function for cases where a Property Query Functi...
Definition: srvdbase.c:6232
glbClnSck
SOCKET glbClnSck
HstTblEntry::poolEntryCapacity
int poolEntryCapacity
Definition: hstlib.h:99
GetSystemDataStamp
int GetSystemDataStamp(int linkId)
Gets the system data stamp with which the incoming data set has been tagged.
Definition: client.c:7377
GetValidDeviceNumber
int GetValidDeviceNumber(char *eqm, char *devname, char *prpname, int ceiling)
Gives the valid registered device number for the specified device name and property name.
Definition: srvdbase.c:5281
GetStreamTransportRetryLimit
int GetStreamTransportRetryLimit(void)
Returns the stream transport retry limit.
Definition: syslib.c:3918
GetHistoryStaticFilesRepository
char * GetHistoryStaticFilesRepository(void)
Returns the directory location where static local history files are maintained.
Definition: hstlib.c:225
PutValuesFromAny
int PutValuesFromAny(DTYPE *d, void *val, short fmt, int sgn, int objectSizeInBytes, int num, int offset)
Submits outgoing data from an array of the given format data type.
Definition: toolkit.c:1200
_SystemScheduleProperty
int _SystemScheduleProperty(char *eqm, char *prp)
Schedules the given property for immediate delivery to all attached clients.
Definition: syslib.c:5634
DeviceInfoStruct::srv
char srv[EXPORT_NAME_SIZE]
Definition: srvcore.h:1742
MakeSystemDataStamp
int MakeSystemDataStamp(void)
Returns the current valid global system data stamp.
Definition: syslib.c:6243
AssignDeviceListToProperty
int AssignDeviceListToProperty(char *eqm, char *prp, NAME64 *devlst, int lstlen)
Assigns the given device list to the given registered property.
Definition: srvdbase.c:4657
JoinEquipmentGroupEx
int JoinEquipmentGroupEx(char *eqmName, char *groupname, int groupindex, char *devPrefix, char *devPostfix)
Instructs the equipment module to join the specified equipment group.
Definition: srvdbase.c:8978
GetAllowDependentLinks
int GetAllowDependentLinks(void)
returns the setting for this value
Definition: client.c:122
NAME16DBLDBL::d1val
double d1val
Definition: tinetype.h:460
GetNewAlarmWindow
int GetNewAlarmWindow(void)
Gets the size of the new alarm window in seconds before a new alarm is no longer declared as new.
Definition: Alarm API Calls:2216
ExecLink
int ExecLink(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access)
Executes a synchronous link.
Definition: client.c:7251
low_disk_space
@ low_disk_space
Definition: errors.h:266
GetConnectionTable
int GetConnectionTable(ConTblInfo *tbl, int *tblSize)
Gets the current connection table.
Definition: client.c:319
AWLQS::codeLowWarn
int codeLowWarn
Definition: almlib.h:453
DSUMMARY::ts
UINT32 ts
Definition: tinetype.h:669
log_negative
@ log_negative
Definition: errors.h:111
TImageSourceHeader
Defines a sourceHeader header (used in conjuction with an image header)
Definition: tinetype.h:861
UnregisterCycleTriggerFunction
int UnregisterCycleTriggerFunction(CYCBFCNP fcn, void *reference)
Unregisters a previously registered cycle trigger callback dispatch function.
Definition: client.c:8267
HstTblEntry::pollingRate
int pollingRate
Definition: hstlib.h:80
ExportListTag::EqmWcPrpLstCapacity
int EqmWcPrpLstCapacity
Definition: srvcore.h:1797
HstTblEntry
Definition: hstlib.h:77
RegisterPropertyQueryFunction
short RegisterPropertyQueryFunction(char *eqm, int(*fcn)(char *devName, PrpQueryStruct **prpqs), int numprops)
Registers a property query function.
Definition: srvdbase.c:6012
GetCurrentDataStatus
int GetCurrentDataStatus(int i)
Returns the data status code associated with the input link index.
Definition: client.c:7323
PrpEguStruct::units
char units[16]
Definition: tinetype.h:2377
GetCycleDelay
int GetCycleDelay(void)
Gets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5232
invalid_structure_tag
@ invalid_structure_tag
Definition: errors.h:148
AWLQS::prp
char prp[PROPERTY_NAME_SIZE]
Definition: almlib.h:430
SetPutCommandsInFeclog
void SetPutCommandsInFeclog(int value)
Determines whether all in-coming WRITE access calls are automatically included in the server's log fi...
Definition: syslib.c:4776
lastLnkErrSrc
short lastLnkErrSrc
Gives the signature of the last Link Error.
Definition: client.c:81
PropertyQueryStructEx::prpSize
UINT32 prpSize
Definition: tinetype.h:4051
NAME64DBLDBLDBL::d3val
double d3val
Definition: tinetype.h:513
HRS::depthLong
int depthLong
Definition: hstlib.h:151
database_not_loaded
@ database_not_loaded
Definition: errors.h:163
not_ready
@ not_ready
Definition: errors.h:108
cannot_lock
@ cannot_lock
Definition: errors.h:178
DWINDOW::t2
SINT32 t2
Definition: tinetype.h:615
GetCallbackGroup
GrpTblEntry * GetCallbackGroup(size_t id)
Returns a reference to the callback Group Table Entry associated with the identifier supplied.
Definition: client.c:759
DSUMMARY::tMin
UINT32 tMin
Definition: tinetype.h:671
GetLinkName
char * GetLinkName(int i)
Returns the full link name associated with the input link index.
Definition: client.c:10250
HistorySpecification::rhsServerName
char * rhsServerName
Definition: hstlib.h:196
non_existent
@ non_existent
Definition: errors.h:84
ExportListTag::EqmSubSystem
char EqmSubSystem[SUBSYSTEM_NAME_SIZE]
Definition: srvcore.h:1782
_SystemAssignBufferSpace
int _SystemAssignBufferSpace(UINT32 rcvBufferSpace, UINT32 sndBufferSpace)
Assigns specific buffer capacity for certain configurable TINE sockets.
Definition: iplib.c:299
SetUseMCastLegacyRules
void SetUseMCastLegacyRules(int value)
Establishes legacy mutlicast systematics or not.
Definition: iplib.c:136
AppendHistoryData
int AppendHistoryData(char *eqm, char *prp, char *dev, DTYPE *dout)
Inserts local history data into the local history ring buffer.
Definition: hstlib.c:1554
GetDieOnAddressInUse
int GetDieOnAddressInUse(void)
Returns the current setting for this feature.
Definition: syslib.c:205
ExportListTag::aclLst
AclInfoType aclLst
Definition: srvcore.h:1858
DSUMMARY::max
double max
Definition: tinetype.h:667
GetLinkNameFromCallbackId
char * GetLinkNameFromCallbackId(int id)
Returns the full link name associated with the callback identifier supplied.
Definition: client.c:10261
ResetServerBaseline
int ResetServerBaseline(const char *eqm)
Resets a server baseline timestamp to the current time.
Definition: srvdbase.c:5049
SetExportedContext
void SetExportedContext(char *eqmName, char *context)
Assigns the exported context associated with the equipment function name given.
Definition: srvdbase.c:6712
NAME32I
Defines a TINE pairwise data object containing a 32-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:308
DBLDBL
Defines a TINE pairwise data object containing a pairwise double doublet.
Definition: tinetype.h:390
hdrSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:735
pipe_error
@ pipe_error
Definition: errors.h:272
AWLQS::chkNormal
int chkNormal
Definition: almlib.h:440
SetSystemUseDataProtection
void SetSystemUseDataProtection(int value)
Sets the data protection flag to the value given.
Definition: syslib.c:6223
GetServers
int GetServers(NAME16 *slist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:3867
FLTFLT::f2val
float f2val
Definition: tinetype.h:405
GetDataFromCallbackId
int GetDataFromCallbackId(int id, DTYPE *dout, UINT16 *status)
Supplies the DTYPE data object and call status for the callback ID in question.
Definition: client.c:7365
SetSystemLogging
void SetSystemLogging(int value)
Sets system logging (output to fec.log) to TRUE or FALSE.
Definition: syslib.c:5257
sendNetGlobal
int sendNetGlobal(char *keyword, DTYPE *din, void(*callback)(int, int), int minPeriod, int maxPeriod, double tolerance)
registers and sends the accompanying keyword and data as a network global.
Definition: srvdbase.c:6082
DBLDBLDBL::d2val
double d2val
Definition: tinetype.h:589
RemoveRegisteredUser
int RemoveRegisteredUser(char *eqm, NAME16 *userlist, int listsize)
removes those users in the name list given from the current users access list.
Definition: srvdbase.c:685
PutValuesFromUnsignedShortEx
int PutValuesFromUnsignedShortEx(DTYPE *d, UINT16 *sval, int num, int offset)
Submits outgoing data from an array of unsigned short integers.
Definition: toolkit.c:923
MDX::max
float max
Definition: tinetype.h:1031
GetHostNameFromAddress
int GetHostNameFromAddress(char *addr, char *host, int length)
Gets the host name from the address given.
PropertyQueryStructEx::prpAccess
BYTE prpAccess
Definition: tinetype.h:4058
ExportListTag
Linked list structure used to hold equipment module information.
Definition: srvcore.h:1778
ClearDeviceAlarm
void ClearDeviceAlarm(char *eqm, char *devname)
Instructs the local alarm server table that the given alarm is to be cleared.
Definition: Alarm API Calls:2207
TImageSourceHeader::versionTag
UINT32 versionTag
Definition: tinetype.h:865
PropertyQueryStructEx
Defines an extended property query structure (legacy)
Definition: tinetype.h:4041
GetAlarmTableMaximumSize
int GetAlarmTableMaximumSize(void)
Gets the maximum number of alarms managed by the local alarm server.
Definition: Alarm API Calls:2214
AlarmHeartbeat
int AlarmHeartbeat
Determines the time interval at the 'HEARTBEAT' flag will be re-issued for persistent alarms.
Definition: Alarm API Calls:67
NAME64::name
char name[64]
Definition: tinetype.h:275
SealTaggedStruct
int SealTaggedStruct(char *tag, int size, int number)
Seals a tagged structure (registration finished!).
Definition: srvdbase.c:6044
FWINDOW::i2val
SINT32 i2val
Definition: tinetype.h:629
GetMyServerAddress
int GetMyServerAddress(char *eqmName, char *expName, char *ctxName, char *fecName, int *port)
Obtains FEC and Device server information from the Equipment Name Server based on the address and (op...
Definition: toolkit.c:3666
link_timeout
@ link_timeout
Definition: errors.h:129
GetUseMultiThreadedEquipmentFunctions
int GetUseMultiThreadedEquipmentFunctions(void)
Returns whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2084
invalid_name
@ invalid_name
Definition: errors.h:236
PropertyQueryStructEx::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: tinetype.h:4054
SetFailoverMaster
int SetFailoverMaster(char *eqm, char *masterName)
Sets the designated server as a failover master.
Definition: srvdbase.c:9148
SetUseGlobalSynchronization
void SetUseGlobalSynchronization(int value)
Determines whether data timestamps are to be externally synchronized.
Definition: syslib.c:4796
StringToDataValue
int StringToDataValue(BYTE *data, char *sbuf, int idx, short fmt, char *tag, int limit)
parses input string into the designated array element of the format type given.
Definition: toolkit.c:2014
low_main_memory
@ low_main_memory
Definition: errors.h:284
SavePropertyValues
int SavePropertyValues(const char *eqmName, const char *prpName, void *values, short format, int size)
Saves value settings of the property name given onto disk.
Definition: toolkit.c:4734
DTYPE::dArrayLength
UINT32 dArrayLength
Definition: tinetype.h:999
SetSystemCycleDeadband
void SetSystemCycleDeadband(int value)
Sets the system cycle deadband.
Definition: srvdbase.c:6558
SetClnRecvQueueDepth
void SetClnRecvQueueDepth(int depth)
Sets the default client-side receive queue depth for all client links.
Definition: client.c:10332
NAME16I::name
char name[16]
Definition: tinetype.h:298
useMinimalStorage
int useMinimalStorage
Instructs the local history server to use a simple UTC timestamp (4-byte integer) when saving data to...
Definition: hstlib.c:239
FecIsInitialized
int FecIsInitialized(void)
Determines whether the FEC process has initialized services and all known equipment modules.
Definition: server.c:2359
warn_too_low
@ warn_too_low
Definition: errors.h:218
device_not_ready
@ device_not_ready
Definition: errors.h:239
GetTransferFlag
UINT16 GetTransferFlag(int linkId)
Gets the data transfer flag for the given link ID.
Definition: client.c:7410
property_is_mca
@ property_is_mca
Definition: errors.h:234
SetSubscriptionRenewalThreshold
int SetSubscriptionRenewalThreshold(int linkId, int thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2665
CLOG
defines the standard central logger entry structure
Definition: tinetype.h:190
tcp_access_required
@ tcp_access_required
Definition: errors.h:285
GetStreamTransportRetryLimit
int GetStreamTransportRetryLimit(void)
Returns the stream transport retry limit.
Definition: syslib.c:3918
AssignPropertyNetsList
int AssignPropertyNetsList(const char *eqm, const char *prp, NAME64 *ipnets, int nipnets)
Assigns an ip nets access list for the property given.
Definition: srvdbase.c:8654
DIMAGE::sourceHeader
TImageSourceHeader sourceHeader
Definition: tinetype.h:927
AWLQS::codeLow
int codeLow
Definition: almlib.h:452
HstTblEntry::aTolerance
float aTolerance
Definition: hstlib.h:88
DUSTRING::ival
SINT32 ival
Definition: tinetype.h:698
INTINT::i1val
SINT32 i1val
Definition: tinetype.h:351
SetAlarmOscillationWindow
int SetAlarmOscillationWindow(int value)
Sets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2577
PrpQueryStruct::prpSizeIn
UINT32 prpSizeIn
Definition: tinetype.h:4117
sendNetGlobalEx
int sendNetGlobalEx(char *context, char *keyword, DTYPE *din, void(*callback)(int, int), int minPeriod, int maxPeriod, double tolerance)
registers and sends the accompanying keyword and data as a network global for the specific context gi...
Definition: srvdbase.c:6074
ExportListTag::almInfo
AlmInfo almInfo
Definition: srvcore.h:1813
GetAllowRemoteDebugging
int GetAllowRemoteDebugging(void)
returns the current setting of this value
DeviceInfoStruct::number
int number
Definition: srvcore.h:1749

Impressum   |   Imprint   |   Datenschutzerklaerung   |   Data Privacy Policy   |   Declaration of Accessibility   |   Erklaerung zur Barrierefreiheit
Generated for TINE API by  doxygen 1.5.8