Main Page | Features | Central Services | csv-Files | Types | Transfer | Access | API-C | API-.NET | API-Java | Examples | Downloads
page generated on 04.05.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...
 
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...
 
int SetDeviceAlarm (char *eqm, char *devname, UINT32 almCode, 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 (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=SetAlarmEx("EQP1",1,512,NULL,almNEW)) != 0)
{
feclog("Couldn’t set alarm : %s\n",erlst[cc]);
}

Referenced by SetAlarm().

◆ 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.

◆ 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]);
}

◆ 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:1805
GetGroupMemberList
GrpMember * GetGroupMemberList(GrpTblEntry *grp)
Returns a linked list of the group members for the callback group supplied.
Definition: client.c:1078
AWLQS::fltr
char fltr[256]
Definition: almlib.h:392
USPECTRUM
Defines a TINE sextuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:777
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:1200
RegisterCycleTriggerFunction
int RegisterCycleTriggerFunction(CYCBFCNP fcn, char *eqm, char *prpLst, void *reference)
Registers a cycle trigger callback dispatch function.
Definition: client.c:6726
ClnInfoStruct::pollingRate
SINT32 pollingRate
Definition: srvcore.h:2489
SetBurstLimit
int SetBurstLimit(int npackets)
Sets the burst limit in number of packets which are allowed to be set consecutively.
Definition: syslib.c:5954
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:616
SetAllowBackgroundTaskReentrancy
void SetAllowBackgroundTaskReentrancy(int value)
Determines whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9431
HstTblEntry::memidx
UINT16 * memidx
Definition: hstlib.h:110
NAME16::name
char name[16]
Definition: tinetype.h:244
PrpQueryStruct::prpName
char prpName[PROPERTY_NAME_SIZE]
Definition: tinetype.h:4103
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:1260
GetServerIdleState
int GetServerIdleState(char *eqm)
Gets the server's idle state.
Definition: syslib.c:5232
DADDRESS::i2val
SINT32 i2val
Definition: tinetype.h:600
GetLinkCallbackDelay
int GetLinkCallbackDelay(int linkId)
Gets the client-side callback notification.
Definition: client.c:10382
NAME64
Defines a TINE 64-character fixed-length string data object.
Definition: tinetype.h:272
GetCurrentDataTimeStampFromCallbackId
double GetCurrentDataTimeStampFromCallbackId(int id)
Returns the data timestamp associated with the callback identifier supplied.
Definition: client.c:9849
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:1154
PrpQueryStruct::rngMinValue
float rngMinValue
Definition: tinetype.h:4121
GetAlarmCodeOscillationWindow
int GetAlarmCodeOscillationWindow(const char *eqm, int code)
Gets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2472
GetAccessLockInformation
int GetAccessLockInformation(char *context, char *server, NAME32 *callerName, NAME32 *callerIp, NAME32 *timeLeft)
Acquires access lock information from the server specified.
Definition: client.c:10342
DBLDBL::d1val
double d1val
Definition: tinetype.h:391
FindNameServerOnNetwork
int FindNameServerOnNetwork()
Issues a multicast (or broadcast) to which the TINE equipment name server responds.
Definition: srvdbase.c:7478
GetTransferFlagFromCallbackId
UINT16 GetTransferFlagFromCallbackId(int id)
Gets the data transfer flag for the give callback identifier.
Definition: client.c:10019
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:1225
hdrSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:732
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:8027
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:1179
ExportListTag::hEqmBusyMutex
MXHANDLE hEqmBusyMutex
Definition: srvcore.h:1851
ExportListTag::EqmName
char EqmName[EQM_NAME_SIZE]
Definition: srvcore.h:1787
PrpQueryStruct::prpArrayType
UINT16 prpArrayType
Definition: tinetype.h:4125
not_posted
@ not_posted
Definition: errors.h:181
DUNION::cptr
char * cptr
Definition: tinetype.h:974
PrpQueryStruct
Defines the definitive (non-legacy) property query structure.
Definition: tinetype.h:4101
SetLinkQueueDepth
void SetLinkQueueDepth(int linkId, int depth)
Sets the client-side receive queue depth for the link in question.
Definition: client.c:10371
UnlockEquipmentModules
int UnlockEquipmentModules(void)
Unlocks all equipment modules.
Definition: syslib.c:6082
DUNAME
Defines a TINE quintet data object containing a long integer value followed by a float triplet follow...
Definition: tinetype.h:712
SetDieAnotherDay
void SetDieAnotherDay(int value)
Revokes an 'exit' due to a 'die on' condition.
Definition: syslib.c:217
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:4724
GetValuesAsNAME64DBL
int GetValuesAsNAME64DBL(DTYPE *d, NAME64DBL *ndval, int num)
Retrieves incoming data as an array of NAME64DBL values.
Definition: toolkit.c:3243
ExportListTag::amsDynSet
AMSDynSet amsDynSet
Definition: srvcore.h:1816
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:9844
DSPECTRUM
Defines a TINE sextuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:752
GetGlobalsTimeStampFromCallbackId
double GetGlobalsTimeStampFromCallbackId(int id)
Returns the timestamp of the globals keyword with the given link callback ID.
Definition: client.c:9922
AWLQS::lowarnsev
int lowarnsev
Definition: almlib.h:372
ASPECTRUM
Defines a TINE septuple data object containing an 80-character fixed-length string followed by a long...
Definition: tinetype.h:798
un_allocated
@ un_allocated
Definition: errors.h:89
ExportListTag::adsTableSize
short adsTableSize
Definition: srvcore.h:1814
SetUseMultiThreadedEquipmentFunctions
void SetUseMultiThreadedEquipmentFunctions(int value)
Determines whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2742
ExportListTag::staChgCb
SCCBFCNP staChgCb
Definition: srvcore.h:1840
PutValuesFromLongEx
int PutValuesFromLongEx(DTYPE *d, SINT32 *lval, int num, int offset)
Submits outgoing data from an array of long integers.
Definition: toolkit.c:3662
srvlog
int srvlog(char *filename, char *tag, char *text,...)
Puts entries into a named log file.
Definition: syslib.c:5700
PrpQueryStruct::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4113
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:9927
NAME64I
Defines a TINE pairwise data object containing a 64-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:331
ExportListTag::EqmDevLst
ExportDeviceType * EqmDevLst
Definition: srvcore.h:1803
RedirectProperty
int RedirectProperty(char *eqm, char *property, char *rdr)
Applies the redirection string to the given property.
Definition: srvdbase.c:8653
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:308
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:2238
DeviceInfoStruct::region
int region
Definition: srvcore.h:1754
DSUMMARY::min
double min
Definition: tinetype.h:667
illegal_command
@ illegal_command
Definition: errors.h:164
ResubmitDataLink
int ResubmitDataLink(int id)
Resubmits a (CM_SINGLE) data link.
Definition: client.c:9782
GetServersEx
int GetServersEx(char *context, NAME16 *slist, int *num)
Retrieves a list of FECs via query to the Equipment Name Server.
Definition: toolkit.c:1658
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:292
SetSystemDataStamp
void SetSystemDataStamp(int value)
Sets the global system data stamp with which to tag outbound data sets.
Definition: syslib.c:6546
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:685
SetAlarm
int SetAlarm(char *eqm, int devNr, UINT32 almCode, BYTE *almData)
Inserts an alarm into the local alarm server table.
Definition: Alarm API Calls:2411
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:1822
XPropertyQueryStruct
Defines an extended property query structure (legacy)
Definition: XPropertyQueryStruct.txt:1
DPOINT::y
float y
Definition: tinetype.h:415
RegisterPropertyAlias
int RegisterPropertyAlias(char *eqm, char *property, char *alias)
Assigns an alias to the specified property.
Definition: srvdbase.c:8249
SetSuppressHeartbeatNotification
void SetSuppressHeartbeatNotification(int value)
Determines whether CM_DATACHANGE data links signal incoming data by calling the corresonding callback...
Definition: client.c:10024
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:9407
hdrGSPECTRUM::s_start
float s_start
Definition: tinetype.h:826
AppendAlarmInfoTable
int AppendAlarmInfoTable(char *eqm, ADS *ads)
Inserts an alarm definition into the alarm definition table.
Definition: Alarm API Calls:2175
GetEnforceMcaAcquisition
int GetEnforceMcaAcquisition(void)
returns the setting for multi-channel array handshaking enforcement.
Definition: srvdbase.c:9411
already_assigned
@ already_assigned
Definition: errors.h:229
GetRejectOverloadedMetaProperties
int GetRejectOverloadedMetaProperties(void)
returns the current setting
Definition: srvdbase.c:9291
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:7243
RegisterStateChangeCallback
int RegisterStateChangeCallback(SCCBFCNP fcn, const char *eqm, const char *stateKey, void *reference)
Registers a state change callback dispatch function.
Definition: srvdbase.c:7233
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:8204
TImageSourceHeader::cameraPortId
UINT32 cameraPortId
Definition: tinetype.h:863
HstTblEntry::heartbeat
int heartbeat
Definition: hstlib.h:86
PropertyQueryStructEx::prpGraphType
BYTE prpGraphType
Definition: tinetype.h:4058
IsServerRunning
int IsServerRunning(void)
Returns TRUE (non zero) if the server kernel is fully initialized and ready.
Definition: syslib.c:6554
GetContractDataReference
void ** GetContractDataReference(ExportListStruct *el)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:7608
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:7752
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:6906
SetCycleMicroDelay
int SetCycleMicroDelay(int usecs)
Sets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5975
PropertyQueryStructEx::prpMinValue
float prpMinValue
Definition: tinetype.h:4048
illegal_read_write
@ illegal_read_write
Definition: errors.h:161
DTYPE::data
DUNION data
Definition: tinetype.h:1006
SetServerThreadPriority
int SetServerThreadPriority(int priority)
Determines the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:4195
GetClientThreadPriority
int GetClientThreadPriority(void)
Returns the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:4207
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:9974
GetAutoLinkErrorAlarms
int GetAutoLinkErrorAlarms(void)
Gets the current setting of the autoLinkErrorAlarms flag.
Definition: client.c:10494
DUSTRING
Defines a TINE quintet data object containing a long integer value followed by a float doublet follow...
Definition: tinetype.h:695
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:5965
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:10387
DBITFIELD
describes the fields within the named bitfield
NAME32::name
char name[32]
Definition: tinetype.h:254
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:6542
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:8638
ALM_THRESHOLDS::hiwarnsev
int hiwarnsev
Definition: almlib.h:489
SetUseMultiThreadedBackgroundTasks
void SetUseMultiThreadedBackgroundTasks(int value)
Determines whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2733
GetAlarmOscillationWindow
int GetAlarmOscillationWindow(void)
Gets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2458
GetCycleMicroDelay
int GetCycleMicroDelay(void)
Gets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5987
ExportListTag::next
struct ExportListTag * next
Definition: srvcore.h:1871
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:1368
PropertyQueryStruct::prpFormat
BYTE prpFormat
Definition: tinetype.h:4030
SystemGetProcessId
UINT32 SystemGetProcessId(void)
Returns the process id of the running application if available.
Definition: srvdbase.c:342
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:5934
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:10328
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:1914
semaphore_busy
@ semaphore_busy
Definition: errors.h:174
ExportListTag::netsScanFlag
int netsScanFlag
Definition: srvcore.h:1865
PropertyQueryStruct::prpAccess
BYTE prpAccess
Definition: tinetype.h:4031
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:9267
ExportListTag::EqmGroup
char EqmGroup[EXPORT_NAME_SIZE]
Definition: srvcore.h:1789
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:9215
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:2355
gStartupDebug
int gStartupDebug
Determines whether server initialization messages are displayed or not.
Definition: syslib.c:111
GetSubscriptionRenewalThreshold
int GetSubscriptionRenewalThreshold(int linkId, int *thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2991
FWINDOW
Defines a TINE quadruplet data object containing a long integer doublet followed by a float doublet.
Definition: tinetype.h:625
_SystemAssignUdpSendBufferSpace
int _SystemAssignUdpSendBufferSpace(UINT32 sndBufferSpace)
Assigns explicit udp send buffer capacity.
Definition: iplib.c:674
ApplyHistoryFilter
int ApplyHistoryFilter(int idx, char *parsableFilterString)
Applies a history filter to an existing local history record.
Definition: hstlib.c:4390
ASPECTRUM::comment
char comment[80]
Definition: tinetype.h:800
LastCompletionDataType
int LastCompletionDataType
Supplies the data type of the most recent link.
Definition: client.c:478
ExportListTag::registered
short registered
Definition: srvcore.h:1809
GetLastGlobalDataSizeFromCallbackId
int GetLastGlobalDataSizeFromCallbackId(int id)
Returns the most recent data size of the global link callback id supplied.
Definition: client.c:9933
DTYPE::xferReason
short xferReason
Definition: tinetype.h:1000
CLOG::context
char context[32]
Definition: tinetype.h:191
GetAlarmCollapseWindow
int GetAlarmCollapseWindow(void)
Gets the size of the alarm collapse window in counts.
Definition: Alarm API Calls:2486
feclog
int feclog(char *text,...)
Puts entries into a server's FEC log file.
Definition: syslib.c:5666
GetExportedDeviceList
NAME64 * GetExportedDeviceList(char *eqm)
Returns the list of exported device names explicitly associated with the equipment module passed as t...
Definition: srvdbase.c:7687
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:6089
NAME64DBLDBL
Defines a TINE triplet data object containing a 64-character fixed-length string value followed by a ...
Definition: tinetype.h:494
ALM_THRESHOLDS::codeHigh
int codeHigh
Definition: almlib.h:500
DUNION::lptr
SINT32 * lptr
Definition: tinetype.h:979
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:9303
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:1248
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:2045
SetServerTransportCeiling
void SetServerTransportCeiling(int value)
Sets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:174
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:7090
SetSubscriptionRenewalThreshold
int SetSubscriptionRenewalThreshold(int linkId, int thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2976
SetSystemAlias
int SetSystemAlias(char *alias, char *name)
Sets an alias for either a registered property or registered device.
Definition: srvdbase.c:9439
GetGlobalsSystemStamp
int GetGlobalsSystemStamp(int glbId)
Gets the system data stamp with which the incoming globals data set has been tagged.
Definition: client.c:9992
DBLINT::ival
SINT32 ival
Definition: tinetype.h:378
GetSystemStampDelay
int GetSystemStampDelay(void)
Returns the registered system cycle delay.
Definition: client.c:6777
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:10299
NAME48I::name
char name[48]
Definition: tinetype.h:321
NAME16I
Defines a TINE pairwise data object containing a 16-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:295
SetMCastTTL
int SetMCastTTL(int ttl)
Sets the TINE multicast Time-To-Live.
Definition: iplib.c:402
PrpQueryStruct::prpMinValue
float prpMinValue
Definition: tinetype.h:4109
_SystemReset
int _SystemReset(int level)
Flushes all entry tables and returns all counters and semaphores to their initial state.
Definition: syslib.c:6236
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:1548
HstTblEntry::rmvFileName
char rmvFileName[32]
Definition: hstlib.h:106
not_initialized
@ not_initialized
Definition: errors.h:248
ExportListTag::EqmWcPrpLst
NAME64 * EqmWcPrpLst
Definition: srvcore.h:1802
useMonthlyHistoryFiles
int useMonthlyHistoryFiles
Instructs the local history server to keep monthly archive files instead of daily files.
Definition: hstlib.c:244
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:223
GetCycleMicroDelay
int GetCycleMicroDelay(void)
Gets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5987
SetServerThreadPriority
int SetServerThreadPriority(int priority)
Determines the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:4195
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:2415
AWLQS::cntThreshold
int cntThreshold
Definition: almlib.h:377
GetSystemSubscriptionRenewalLength
int GetSystemSubscriptionRenewalLength(void)
Gets the current contract subscription renewal length.
Definition: srvdbase.c:9370
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:8055
address_unknown
@ address_unknown
Definition: errors.h:140
CloseLink
int CloseLink(int linkId)
Cancels an active data link.
Definition: client.c:9461
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:208
SetClientThreadPriority
int SetClientThreadPriority(int priority)
Determines the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:4203
DIMAGE::frameHeader
TImageFrameHeader frameHeader
Definition: tinetype.h:927
SetUseMultiThreadedBackgroundTasks
void SetUseMultiThreadedBackgroundTasks(int value)
Determines whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2733
SetPropertySubscriptionRenewalLength
int SetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int value)
Sets the current subscription renewal length for the property specified.
Definition: srvdbase.c:3927
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:8632
DFILTER::f1val
float f1val
Definition: tinetype.h:683
CLOG::timeSent
double timeSent
Definition: tinetype.h:197
GetSystemVersionString
char * GetSystemVersionString(void)
Returns the system version appended with the library build id as a character string.
Definition: srvdbase.c:5262
DeviceInfoStruct
Definition: srvcore.h:1745
GetValuesAsString
int GetValuesAsString(DTYPE *d, char *str, UINT32 *dsiz)
Retrieves incoming data as a string buffer.
Definition: toolkit.c:2705
NAME32
Defines a TINE 32-character fixed-length string data object.
Definition: tinetype.h:252
GetHistoryFilesRepository
char * GetHistoryFilesRepository(void)
Returns the directory location where local history files are maintained.
Definition: hstlib.c:210
GetCompletionSourceFromCallbackId
short GetCompletionSourceFromCallbackId(int id)
Returns the error source associated with the callback identifier supplied.
Definition: client.c:9838
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:5938
DataPoolEntry::capacity
int capacity
Definition: hstlib.h:69
DADDRESS::i3val
SINT32 i3val
Definition: tinetype.h:601
FLTINTINT
Defines a TINE triplet data object containing a float value followed by a long integer doublet.
Definition: tinetype.h:521
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:821
has_bitfield_tag
@ has_bitfield_tag
Definition: errors.h:253
USPECTRUM::s_start
float s_start
Definition: tinetype.h:781
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:6871
GetDieOnSocketError
int GetDieOnSocketError(void)
Returns the current setting for this feature.
Definition: syslib.c:231
ExportListTag::EqmRef
void * EqmRef
Definition: srvcore.h:1857
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:5508
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:5971
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:9806
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:5827
udpSrvSck
SOCKET udpSrvSck
ExportListTag::EqmDevXRef
HashXRefStruct ** EqmDevXRef
Definition: srvcore.h:1804
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:1932
ExportListTag::failoverState
int failoverState
Definition: srvcore.h:1867
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:351
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:298
DSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:755
SetNumberDataOutputBuffers
int SetNumberDataOutputBuffers(int value)
sets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:468
SetStreamTransportRetryLimit
void SetStreamTransportRetryLimit(int value)
Sets the stream transport retry limit.
Definition: syslib.c:4576
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:5368
GetBackgroundThreadPriority
int GetBackgroundThreadPriority(void)
Returns the priority of the registered background threads.
Definition: syslib.c:4215
ExportListTag::EqmGroupDevPostfix
char EqmGroupDevPostfix[XFIX_SIZE]
Definition: srvcore.h:1791
DBLDBLDBL
Defines a TINE triplet data object containing a double triplet.
Definition: tinetype.h:585
DSUMMARY
Used to reflect the doocs THUMBNAIL type for summarized archive data.
Definition: tinetype.h:662
GetFecHome
char * GetFecHome(void)
Gets the current setting for the fec home database repository.
Definition: syslib.c:5909
PrpQueryStruct::prpAccess
BYTE prpAccess
Definition: tinetype.h:4118
GetPropertyBuffer
BYTE * GetPropertyBuffer(char *eqmName, char *prpName)
Returns the address of the buffer previously assigned to the property given.
Definition: srvdbase.c:3945
ExportListTag::hasRegisteredDevicesNames
short hasRegisteredDevicesNames
Definition: srvcore.h:1800
SetFeclogDepth
void SetFeclogDepth(int value)
Determines the approximate size of the server's log file in lines.
Definition: syslib.c:5509
link_error
@ link_error
Definition: errors.h:151
ALM_THRESHOLDS::normalIsAlarm
int normalIsAlarm
Definition: almlib.h:498
not_running
@ not_running
Definition: errors.h:179
DUNION::vptr
void * vptr
Definition: tinetype.h:973
ExportListTag::ncontracts
short ncontracts
Definition: srvcore.h:1819
NAME16
Defines a TINE 16-character fixed-length string data object.
Definition: tinetype.h:242
no_file_space
@ no_file_space
Definition: errors.h:127
AWLQS::cnt
int cnt
Definition: almlib.h:376
DIMAGE::frameBufferSize
UINT32 frameBufferSize
Definition: tinetype.h:928
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:1001
SetDeviceLocation
int SetDeviceLocation(char *eqm, char *devname, char *location)
Assigns a device location text to the specified device.
Definition: srvdbase.c:7984
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:329
AWLQS::hiwarnsev
int hiwarnsev
Definition: almlib.h:370
ClnInfoStruct::starttime
UINT32 starttime
Definition: srvcore.h:2490
GetContractDataReference
void ** GetContractDataReference(ExportListStruct *el)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:7608
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:8076
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:8034
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:6764
GetBurstLimit
int GetBurstLimit(void)
Gets the burst limit in number of packets which are allowed to be sent consecutively.
Definition: syslib.c:5961
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:9232
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:319
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:7338
ExportListTag::almdone
short almdone
Definition: srvcore.h:1831
LastCompletionDataSize
UINT32 LastCompletionDataSize
Supplies the data size of the most recent link.
Definition: client.c:477
SetSystemAttribute
int SetSystemAttribute(char *attribute, void *value, int format)
Definition: srvdbase.c:9502
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:6392
illegal_device_number
@ illegal_device_number
Definition: errors.h:116
CloseGlobalLink
int CloseGlobalLink(int linkId)
Closes an active globals data link.
Definition: client.c:9279
GetMCastTTL
int GetMCastTTL(void)
Gets the TINE multicast Time-To-Live.
Definition: iplib.c:409
ALM_THRESHOLDS::losev
int losev
Definition: almlib.h:490
PrpQueryStruct::prpGraphType
BYTE prpGraphType
Definition: tinetype.h:4119
mcastClnSck
SOCKET mcastClnSck
GetSchedulerInterval
int GetSchedulerInterval(void)
Gets the system scheduler interval.
Definition: srvdbase.c:9328
MDX
Multi-Dimension array aXis.
Definition: tinetype.h:1023
SetAppDate
void SetAppDate(time_t appdate)
Sets the compilation date of the current running server process.
Definition: srvdbase.c:8913
SetForceSharedMemory
void SetForceSharedMemory(int value)
Disables or enables the 'useLoopBack' flag according to the value given (boolean).
CLOG::timeLogged
double timeLogged
Definition: tinetype.h:198
GetGlobalsDataStamp
int GetGlobalsDataStamp(int glbId)
Gets the data stamp with which the incoming globals data set has been tagged.
Definition: client.c:10008
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:2166
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:244
CLOG::logger
char logger[32]
Definition: tinetype.h:193
PrpQueryStruct::numRows
UINT16 numRows
Definition: tinetype.h:4123
DUNION::bptr
UINT8 * bptr
Definition: tinetype.h:976
GetPropertyListStruct
ExportPropertyListStruct * GetPropertyListStruct(char *eqm, char *prpName, char *devName)
Definition: srvdbase.c:5540
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:9770
AWLQS::siz
int siz
Definition: almlib.h:364
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:6054
_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:6331
get_subscription_id
@ get_subscription_id
Definition: errors.h:211
DUNION::dptr
double * dptr
Definition: tinetype.h:988
GetConnectionList
int GetConnectionList(char *lstbuf, int bufsize)
Gets the current connection table.
Definition: client.c:630
SetKernelPriority
int SetKernelPriority(int priority)
Determines the priority of TINE kernel threads.
Definition: syslib.c:4219
ResolveSystemAlias
char * ResolveSystemAlias(char *alias)
Gets the registered property or registered device name for the given alias.
Definition: srvdbase.c:9447
FLTINTINT::fval
float fval
Definition: tinetype.h:523
GetRetardSingleContractRemoval
int GetRetardSingleContractRemoval(void)
returns the current setting of this feature.
Definition: srvdbase.c:9427
INTINTINT
Defines a TINE triplet data object containing a set of three long integer values.
Definition: tinetype.h:569
GetAlarmDataChangeWindow
int GetAlarmDataChangeWindow(void)
Gets the size of the alarm datachange window in seconds.
Definition: Alarm API Calls:2357
SetStandAlone
int SetStandAlone(int value)
Sets stand-alone mode.
Definition: srvdbase.c:252
ALM_THRESHOLDS::hisev
int hisev
Definition: almlib.h:488
HRS::pTolerance
float pTolerance
Definition: hstlib.h:153
ALM_THRESHOLDS::hi
float hi
Definition: almlib.h:492
FLTINTINT::i1val
SINT32 i1val
Definition: tinetype.h:524
DSPECTRUM::d_spect_array
float d_spect_array[SPECTRUM_STD_SIZE]
Definition: tinetype.h:759
ExportListTag::EqmAlias
char EqmAlias[EQM_NAME_SIZE]
Definition: srvcore.h:1788
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:507
FWINDOW::i1val
SINT32 i1val
Definition: tinetype.h:627
GetNumContracts
int GetNumContracts(char *eqm)
Returns the current number of contracts associated with the equipment module given.
Definition: srvdbase.c:7756
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:2011
AWLQS::normal
UINT32 normal
Definition: almlib.h:375
out_of_shared_memory
@ out_of_shared_memory
Definition: errors.h:147
DTYPE::dTag
char dTag[TAG_NAME_SIZE]
Definition: tinetype.h:1005
ExportListTag::region
short region
Definition: srvcore.h:1810
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:9998
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1434
GetSystemSubscriptionRenewalLength
int GetSystemSubscriptionRenewalLength(void)
Gets the current contract subscription renewal length.
Definition: srvdbase.c:9370
non_existent_fec
@ non_existent_fec
Definition: errors.h:176
CLOG::text
char text[256]
Definition: tinetype.h:194
GetSuspendCallbacks
int GetSuspendCallbacks(void)
returns the suspends asynchronous callback notification setting
Definition: client.c:4995
NAME16FI::fval
float fval
Definition: tinetype.h:430
GetSizeDeviceCapacity
int GetSizeDeviceCapacity(char *eqm)
Gives the maximum size of the device table associated with the equiment module name given.
Definition: srvdbase.c:6403
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:2179
syntax_error
@ syntax_error
Definition: errors.h:124
DUNAME::f1val
float f1val
Definition: tinetype.h:715
TImageSourceHeader::totalLength
UINT32 totalLength
Definition: tinetype.h:865
GetMinimumAllowedPollingInterval
int GetMinimumAllowedPollingInterval(void)
returns the minimum polling rate in milliseconds a server will allow.
Definition: srvdbase.c:9403
GetLinkQueueDepth
int GetLinkQueueDepth(int linkId)
Gets the client-side receive queue depth for the link in question.
Definition: client.c:9749
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:2536
device_busy
@ device_busy
Definition: errors.h:240
ClnInfoStruct::tineProtocol
short tineProtocol
Definition: srvcore.h:2496
IsStandAlone
int IsStandAlone(void)
Determines whether a client or server process is running in stand-alone mode.
Definition: srvdbase.c:248
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:10312
ALM_THRESHOLDS::codeLowWarn
int codeLowWarn
Definition: almlib.h:503
ExportListTag::EqmCrs
CRS EqmCrs
Definition: srvcore.h:1846
GetUseCycleTrigger
int GetUseCycleTrigger(void)
Returns whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:170
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:1825
errors.h
NAME16II::i2val
SINT32 i2val
Definition: tinetype.h:447
SetMCastAddr
int SetMCastAddr(char *addr)
Sets the cannonical multicast address the server will use when requested to send payloads via multica...
Definition: iplib.c:305
SetRunTransportInSeparateThread
void SetRunTransportInSeparateThread(int value)
Determines whether the (tcp) transport is run in its own thread (boolean).
PrpQueryStruct::prpHistoryDepthLong
UINT16 prpHistoryDepthLong
Definition: tinetype.h:4115
HstTblEntry::depthLong
int depthLong
Definition: hstlib.h:83
INTFLTINT::i1val
SINT32 i1val
Definition: tinetype.h:538
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:7380
GetFecLogPath
char * GetFecLogPath(void)
Gets the current setting for the fec log repository.
Definition: syslib.c:5905
DUSTRING::f1val
float f1val
Definition: tinetype.h:698
ExportListTag::netsFileName
char netsFileName[32]
Definition: srvcore.h:1861
ServerIsInitialized
int ServerIsInitialized(const char *eqm)
Determines whether the server has initialized;.
Definition: server.c:292
hdrGSPECTRUM::status
UINT32 status
Definition: tinetype.h:828
GetGlobalDataType
int GetGlobalDataType(int id)
Returns the data type of global link index supplied.
Definition: client.c:9939
DeviceInfoStruct::zpos
float zpos
Definition: srvcore.h:1752
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:1099
HstTblEntry::useStandardSet
int useStandardSet
Definition: hstlib.h:95
SetBackgroundThreadPriority
int SetBackgroundThreadPriority(int priority)
Determines the priority of any registered background threads.
Definition: syslib.c:4211
SetSystemSynchronizeContracts
void SetSystemSynchronizeContracts(int value)
Establishes the setting for general contract synchronization at the server.
Definition: srvdbase.c:9415
GetIgnoreCommonFiles
int GetIgnoreCommonFiles(void)
returns the current setting (default = FALSE)
Definition: srvdbase.c:2114
GetDeviceLocation
char * GetDeviceLocation(char *eqm, int devnr)
Gives the registered device location (if known) for the device number.
Definition: srvdbase.c:7652
SetMaximumHistoryTableRecords
void SetMaximumHistoryTableRecords(int value)
Sets the maximum local history table size.
Definition: hstlib.c:239
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:6124
GetCompletionStatusFromCallbackId
char * GetCompletionStatusFromCallbackId(int id)
Returns the error string associated with the callback identifier supplied.
Definition: client.c:9828
not_registered
@ not_registered
Definition: errors.h:257
ExportListTag::capfollowers
short capfollowers
Definition: srvcore.h:1821
GetServerThreadPriority
int GetServerThreadPriority(void)
Returns the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:4199
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:3927
SetSystemSubscriptionRenewalLength
void SetSystemSubscriptionRenewalLength(int value)
Sets the contract subscription renewal length.
Definition: srvdbase.c:9357
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:5540
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:1203
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:7706
ClnInfoStruct::reserved1
UINT16 reserved1
Definition: srvcore.h:2488
ClnInfoStruct::userName
char userName[USERNAME_SIZE]
Definition: srvcore.h:2493
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:3982
NAME64DBLDBL::name
char name[64]
Definition: tinetype.h:496
AWLQS::hisev
int hisev
Definition: almlib.h:369
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:9273
hdrGSPECTRUM::tm
SINT32 tm
Definition: tinetype.h:825
SetPreSystemInitFunction
void SetPreSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed prior to server initialization.
Definition: syslib.c:6116
PrpQueryStruct::prpMaxValue
float prpMaxValue
Definition: tinetype.h:4110
AWLQS::eqm
char eqm[EQM_NAME_SIZE]
Definition: almlib.h:361
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:8924
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:8970
ASPECTRUM::status
SINT32 status
Definition: tinetype.h:804
HRS::heartbeat
int heartbeat
Definition: hstlib.h:152
profibus_error
@ profibus_error
Definition: errors.h:251
CLOG::status
int status
Definition: tinetype.h:196
SetDefaultDeviceRegion
void SetDefaultDeviceRegion(char *eqmName, char *region)
Sets the default device region to the value specified.
Definition: srvdbase.c:286
GetCallbackGroup
GrpTblEntry * GetCallbackGroup(size_t id)
Returns a reference to the callback Group Table Entry associated with the identifier supplied.
Definition: client.c:1070
work_area_full
@ work_area_full
Definition: errors.h:83
DMDA::axis
MDX axis[MAX_MDA_DIMS]
Definition: tinetype.h:1044
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:6001
GetCompletionSource
short GetCompletionSource(int i)
Returns the error source associated with the input link index.
Definition: client.c:9821
not_owner
@ not_owner
Definition: errors.h:190
NAME64DBLDBL::d1val
double d1val
Definition: tinetype.h:497
ASPECTRUM::tm
SINT32 tm
Definition: tinetype.h:801
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:1639
SetSystemRequireAcknowledgments
void SetSystemRequireAcknowledgments(int value)
Sets the require acknowledgments flag to the value given.
Definition: syslib.c:6538
NAME32DBLDBL::d1val
double d1val
Definition: tinetype.h:472
AWLQS
Defines an Alarm Watch List Query Structure for stock property queries.
Definition: almlib.h:359
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:9314
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:1078
TImageSourceHeader::timestampMicroseconds
SINT32 timestampMicroseconds
Definition: tinetype.h:867
GetDataTimeString
char * GetDataTimeString(double ts, int useLongStringFormat)
Returns the TINE data timestamp as a human-readable string.
Definition: syslib.c:5759
SetFreeBlocksAlarmThreshold
int SetFreeBlocksAlarmThreshold(char *path, UINT32 minFreeBlocks)
Sets the threshold (in blocks) used in setting 'low disk space' alarms.
Definition: Alarm API Calls:303
PropertyQueryStructEx::prpHistoryDepthLong
UINT16 prpHistoryDepthLong
Definition: tinetype.h:4054
ClnInfoStruct::counter
UINT16 counter
Definition: srvcore.h:2491
FreeArchivedDataReadbackBuffer
void FreeArchivedDataReadbackBuffer(void)
Frees the internal buffer used to retrieve complex archive data via calls to GetArchivedDataAsAny().
Definition: toolkit.c:1251
DWINDOW::i1val
SINT32 i1val
Definition: tinetype.h:615
DMDA::fmt
int fmt
Definition: tinetype.h:1043
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:6075
SetCycleMicroDelay
int SetCycleMicroDelay(int usecs)
Sets the delay time in microseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5975
RegisterPropertySignalFunction
int RegisterPropertySignalFunction(const char *eqm, const char *prp, PRPSIG fcn, int mask, void *ref)
Registers a property signal function.
Definition: srvdbase.c:7205
invalid_data
@ invalid_data
Definition: errors.h:194
ALM_THRESHOLDS::lo
float lo
Definition: almlib.h:494
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:8718
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:4211
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:1670
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:165
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:9755
AWLQS::hi
float hi
Definition: almlib.h:378
hardware_error
@ hardware_error
Definition: errors.h:114
DeviceInfoStruct::mask
UINT32 mask
Definition: srvcore.h:1753
ExportListTag::hasReference
int hasReference
Definition: srvcore.h:1856
GetClientListCapacity
int GetClientListCapacity(void)
Gets the maximum number of clients a server will service.
Definition: srvdbase.c:7253
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:7552
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:4433
GetLinkCallbackReference
void * GetLinkCallbackReference(int id)
Returns the supplied callback reference for the link ID in question.
Definition: client.c:9912
GetUseMultiThreadedStockFunctions
int GetUseMultiThreadedStockFunctions(void)
Returns whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2755
USPECTRUM::s_inc
float s_inc
Definition: tinetype.h:782
DADDRESS::i4val
SINT32 i4val
Definition: tinetype.h:602
SetSynchronizationTolerance
void SetSynchronizationTolerance(double toleranceInSeconds)
Sets the tolerance used in deciding whether to apply a timestamp offset or not.
Definition: client.c:10485
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:2426
GetDieOnFecIsAlias
int GetDieOnFecIsAlias(void)
Returns the current setting for this feature.
Definition: syslib.c:240
HRS::aTolerance
float aTolerance
Definition: hstlib.h:154
GetAllowedRemoteManagement
int GetAllowedRemoteManagement(void)
Returns whether remote management via stock properties is possible.
Definition: srvdbase.c:9309
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:8190
HstTblEntry::timestamp
double * timestamp
Definition: hstlib.h:107
ExportListTag::usersFileName
char usersFileName[32]
Definition: srvcore.h:1860
TImageFrameHeader
Defines a canonical image frame header.
Definition: tinetype.h:877
INTINT
Defines a TINE pairwise data object containing a 4-byte integer doublet.
Definition: tinetype.h:348
resources_exhausted
@ resources_exhausted
Definition: errors.h:165
GetGlobalLinkId
int GetGlobalLinkId(char *keyword)
retrieves the link ID for a globals link
Definition: client.c:7331
PrpQueryStruct::prpSize
UINT32 prpSize
Definition: tinetype.h:4111
lock_expired
@ lock_expired
Definition: errors.h:255
NAME64I::ival
SINT32 ival
Definition: tinetype.h:334
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:7257
struct_sealed
@ struct_sealed
Definition: errors.h:122
XPropertyQueryStruct::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4079
SystemRunning
int SystemRunning
Determines whether a server has been successfully initialized or not.
Definition: server.c:273
HistorySpecification::heartbeat
int heartbeat
Definition: hstlib.h:193
DSPECTRUM::s_start
float s_start
Definition: tinetype.h:756
SetLinkCallbackDelay
void SetLinkCallbackDelay(int linkId, int cyclesToDelay)
Sets a client-side callback notification.
Definition: client.c:10377
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:9451
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:9889
ALM_THRESHOLDS::lowarn
float lowarn
Definition: almlib.h:495
ExportListTag::EqmExportName
char EqmExportName[EXPORT_NAME_SIZE]
Definition: srvcore.h:1785
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:3937
ExportListTag::chkAcl
int chkAcl
Definition: srvcore.h:1863
HstTblEntry::isScheduled
int isScheduled
Definition: hstlib.h:93
ExportListTag::failoverType
int failoverType
Definition: srvcore.h:1866
NAME16II::i1val
SINT32 i1val
Definition: tinetype.h:446
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:6384
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:1220
is_switching
@ is_switching
Definition: errors.h:209
SetSystemSchedulePropertyLazy
void SetSystemSchedulePropertyLazy(int value)
Sets the 'lazy' flag for scheduling properties.
Definition: syslib.c:6323
PrpQueryStruct::prpFormatIn
BYTE prpFormatIn
Definition: tinetype.h:4117
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:9054
AWLQS::codeHigh
int codeHigh
Definition: almlib.h:383
GetSystemAlias
char * GetSystemAlias(char *name)
Gets the alias for either a registered property or registered device.
Definition: srvdbase.c:9443
DBLDBLDBL::d3val
double d3val
Definition: tinetype.h:589
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:309
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:6764
GetGCastTableCapacity
int GetGCastTableCapacity(void)
gets the globals multicast table capacity (server-side)
Definition: srvdbase.c:9283
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:2478
configuration_error
@ configuration_error
Definition: errors.h:203
PropertyQueryStructEx::prpNumOverloads
UINT32 prpNumOverloads
Definition: tinetype.h:4052
GetSystemSynchronizeContracts
int GetSystemSynchronizeContracts(void)
Returns the setting for general contract synchronization at the server.
Definition: srvdbase.c:9419
GetDeviceOfflineStatus
int GetDeviceOfflineStatus(char *eqm, int devnr)
Gives the current off line status for the device in question.
Definition: srvdbase.c:7671
INTINTINT::i1val
SINT32 i1val
Definition: tinetype.h:571
SetAvailableMemoryThreshold
void SetAvailableMemoryThreshold(UINT32 minAvailBytes)
Sets the threshold (in bytes) used in setting 'low main memory' alarms.
Definition: Alarm API Calls:275
SetPostSystemInitFunction
void SetPostSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed following server initialization.
Definition: syslib.c:6120
NAME16FI::ival
SINT32 ival
Definition: tinetype.h:431
RegisterPropertyAccessDeadband
int RegisterPropertyAccessDeadband(char *eqm, char *property, int access, int deadbandInMilliSeconds)
Assigns a minimum access deadband to the designated property.
Definition: srvdbase.c:8265
property_is_mca_elevated
@ property_is_mca_elevated
Definition: errors.h:280
ClnInfoStruct::ncontracts
short ncontracts
Definition: srvcore.h:2495
ExportListTag::busycnt
short busycnt
Definition: srvcore.h:1834
invalid_structure_size
@ invalid_structure_size
Definition: errors.h:249
GetValuesAsNAME64DBLDBL
int GetValuesAsNAME64DBLDBL(DTYPE *d, NAME64DBLDBL *nddval, int num)
Retrieves incoming data as an array of NAME64DBLDBL values.
Definition: toolkit.c:3280
DBLINT
Defines a TINE pairwise data object containing a double value followed by a 4-byte integer value.
Definition: tinetype.h:375
PutValuesFromByteEx
int PutValuesFromByteEx(DTYPE *d, BYTE *bval, int num, int offset)
Submits outgoing data from an array of bytes.
Definition: toolkit.c:3749
SetClnUDPPort
int SetClnUDPPort(int port)
Sets the TINE client UDP base port.
Definition: iplib.c:232
SetDeviceOfflineStatus
int SetDeviceOfflineStatus(char *eqm, char *devname, int offline)
Assigns an offline status to the specified device.
Definition: srvdbase.c:8010
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:9894
microsleep
int microsleep(int usecs)
sleep for given number of micro-seconds
Definition: syslib.c:1641
ClnInfoStruct::reserved3
UINT16 reserved3
Definition: srvcore.h:2498
GetSynchronizationTolerance
double GetSynchronizationTolerance(void)
Gets the tolerance used in deciding whether to apply a timestamp offset or not.
Definition: client.c:9980
MaxNumContracts
int MaxNumContracts
Determines the maximum number of contracts a server will service.
Definition: srvdbase.c:7089
udpClnSck
SOCKET udpClnSck
XPropertyQueryStruct::prpName
char prpName[32]
Definition: XPropertyQueryStruct.txt:3
DUNION::sptr
SINT16 * sptr
Definition: tinetype.h:977
ALM_THRESHOLDS::code
int code
Definition: almlib.h:499
GetGCastAddr
char * GetGCastAddr(void)
Gets the cannonical globals multicast address the server will use when sending payloads via multicast...
Definition: iplib.c:394
HstTblEntry::data
BYTE * data
Definition: hstlib.h:112
SetKernelPriority
int SetKernelPriority(int priority)
Determines the priority of TINE kernel threads.
Definition: syslib.c:4219
NAME32DBLDBL::d2val
double d2val
Definition: tinetype.h:473
SetHistoryFilesRepository
void SetHistoryFilesRepository(char *path)
Sets the directory location where local history files are maintained.
Definition: hstlib.c:201
DUNAME::ival
SINT32 ival
Definition: tinetype.h:714
DSUMMARY::ave
double ave
Definition: tinetype.h:664
NAME48
Defines a TINE 48-character fixed-length string data object.
Definition: tinetype.h:262
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:2380
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:6397
RedirectDeviceName
int RedirectDeviceName(char *eqm, char *devname, char *rdr)
Applies the redirection string to the given device for all properties.
Definition: srvdbase.c:7941
GetSystemFecs
int GetSystemFecs(char *context, NAME16 *slist, int *num)
Retrieves a list of FECs associated with a given context.
Definition: toolkit.c:1908
NAME8
Defines a TINE 8-character fixed-length string data object.
Definition: tinetype.h:232
PutValuesFromShortEx
int PutValuesFromShortEx(DTYPE *d, short *sval, int num, int offset)
Submits outgoing data from an array of short integers.
Definition: toolkit.c:3721
GetDeviceContexts
int GetDeviceContexts(NAME16 *clist, int *num)
Retrieves a list of server contexts via query to the Equipment Name Server.
Definition: toolkit.c:1423
XPropertyQueryStruct::rngMinValue
float rngMinValue
Definition: XPropertyQueryStruct.txt:12
SetSystemStampOffset
void SetSystemStampOffset(int cycleOffset)
Establishes a system cycle offset.
Definition: client.c:6764
NAME16II
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by tw...
Definition: tinetype.h:443
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1434
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:4055
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:369
GetConnectionList
int GetConnectionList(char *lstbuf, int bufsize)
Gets the current connection table.
Definition: client.c:630
ExportListTag::eqmExi
EQMTSKP eqmExi
Definition: srvcore.h:1839
GetExportListItem
ExportListStruct * GetExportListItem(char *eqm)
Returns a reference to the Export List Structure of the given equipment module.
Definition: srvdbase.c:2920
FWINDOW::f2val
float f2val
Definition: tinetype.h:630
GetUseMultiThreadedStockFunctions
int GetUseMultiThreadedStockFunctions(void)
Returns whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2755
GetConfigurationCoded
int GetConfigurationCoded(void)
Returns whether TINE configuration files will be scanned.
Definition: srvdbase.c:240
DIMAGE::frameBuffer
BYTE * frameBuffer
Definition: tinetype.h:932
GetServerCycleState
int GetServerCycleState(char *cycleStateString)
Returns the current server cycle state.
Definition: server.c:159
illegal_arithmetic
@ illegal_arithmetic
Definition: errors.h:79
ALM_THRESHOLDS
Defines a TINE Alarm Watch Threshold object.
Definition: almlib.h:485
DUNAME::f2val
float f2val
Definition: tinetype.h:716
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:3074
ExportListTag::EqmMaster
char EqmMaster[EXPORT_NAME_SIZE]
Definition: srvcore.h:1868
GetExportedContext
char * GetExportedContext(char *eqmName)
Returns the exported context associated with the equipment function name given.
Definition: srvdbase.c:262
link_blacklisted
@ link_blacklisted
Definition: errors.h:205
SetSystemStampDelay
void SetSystemStampDelay(int cycleDelay)
Establishes the system cycle delay.
Definition: client.c:6772
ExportListTag::lastBkg
struct timeval lastBkg
Definition: srvcore.h:1837
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:7118
GetDeviceZPosition
float GetDeviceZPosition(char *eqm, int devnr)
Gives the registered device Z (or longitudinal) position for the device number.
Definition: srvdbase.c:7679
GetDataTimeStampOffset
double GetDataTimeStampOffset(void)
Returns a the current data timestamp offset as assigned by the TINE global time service.
Definition: syslib.c:1338
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:9261
USPECTRUM::d_spect_array
float * d_spect_array
Definition: tinetype.h:784
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:236
GetSystemAlias
char * GetSystemAlias(char *name)
Gets the alias for either a registered property or registered device.
Definition: srvdbase.c:9443
AWLQS::fmt
int fmt
Definition: almlib.h:365
NAME16DBLDBL::d2val
double d2val
Definition: tinetype.h:460
GetNumCalls
int GetNumCalls(char *eqm)
Returns the current number of calls to the given equipment module since startup.
Definition: srvdbase.c:7778
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:8700
ExportListTag::accessLock
AccessLock accessLock
Definition: srvcore.h:1870
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:2423
GetSystemProperties
int GetSystemProperties(char *srv, NAME64 *plist, int *num)
Retrieves a list of properties via query to the server given.
Definition: toolkit.c:1928
FWINDOW::f1val
float f1val
Definition: tinetype.h:629
no_such_line
@ no_such_line
Definition: errors.h:90
PrpQueryStruct::rngMaxValue
float rngMaxValue
Definition: tinetype.h:4122
SetPointsOfInterestToleranceFactor
void SetPointsOfInterestToleranceFactor(float value)
Sets the definitive property tolerance factor which determines whether a value is consider a point of...
Definition: hstlib.c:1645
SetDataTimeStamp
void SetDataTimeStamp(double ts)
Sets the intrinsic data timestamp to the value given.
Definition: syslib.c:5991
invalid_datarequest
@ invalid_datarequest
Definition: errors.h:278
code_failure
@ code_failure
Definition: errors.h:152
ExportListTag::nclients
short nclients
Definition: srvcore.h:1818
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:9917
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:3862
server_redirection
@ server_redirection
Definition: errors.h:214
DTYPE::dTimeStamp
double dTimeStamp
Definition: tinetype.h:1003
NAME32DBLDBL
Defines a TINE triplet data object containing a 32-character fixed-length string value followed by a ...
Definition: tinetype.h:469
_SystemInit
int _SystemInit(int chkcmd)
Required call for the TINE server engine to function property.
Definition: syslib.c:6128
AWLQS::codeHighWarn
int codeHighWarn
Definition: almlib.h:384
hdrSPECTRUM::status
SINT32 status
Definition: tinetype.h:735
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:5504
GetGCastMask
char * GetGCastMask(char *addr)
Gets the cannonical multicast address mask the server will use when sending payloads via multicast as...
Definition: iplib.c:398
SetUseMultiThreadedStockFunctions
void SetUseMultiThreadedStockFunctions(int value)
Determines whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2751
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:2398
ExportListTag::eqmFcn
EQMFCNP eqmFcn
Definition: srvcore.h:1824
GetPacketMTU
int GetPacketMTU(void)
Gets the TINE UDP server packet MTU.
Definition: iplib.c:593
GetContractDataReferenceByEqmName
void ** GetContractDataReferenceByEqmName(char *eqm)
returns a pointer to a useable reference pointer associated with the contract currently being accesse...
Definition: srvdbase.c:7604
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:4432
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:298
DFILTER
Defines a TINE quadruplet data object containing a long integer value followed by a float triplet.
Definition: tinetype.h:680
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:1392
GetMaxTcpMessageSize
int GetMaxTcpMessageSize(void)
Gets the TINE server maximum STREAM message segment size.
Definition: iplib.c:1405
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:2746
SetSystemStampDelay
void SetSystemStampDelay(int cycleDelay)
Establishes the system cycle delay.
Definition: client.c:6772
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:401
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:6777
SetSystemSubscriptionRenewalLength
void SetSystemSubscriptionRenewalLength(int value)
Sets the contract subscription renewal length.
Definition: srvdbase.c:9357
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:247
DADDRESS
Defines a TINE quadruplet data object containing four long integer values.
Definition: tinetype.h:597
NAME64DBLDBL::d2val
double d2val
Definition: tinetype.h:498
ClnInfoStruct::accessMode
short accessMode
Definition: srvcore.h:2487
ExportListTag::nRegionItems
int nRegionItems
Definition: srvcore.h:1811
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:10453
GetClnRecvQueueDepth
int GetClnRecvQueueDepth(void)
Gets the default client-side receive queue depth for all client links.
Definition: client.c:9745
RemoveDevice
int RemoveDevice(char *eqm, char *devname)
Removes a device name from an equipment module's device list.
Definition: srvdbase.c:7848
FreeAccessLock
int FreeAccessLock(char *context, char *server)
Frees an access lock on the server specified.
Definition: client.c:9725
invalid_transport_size
@ invalid_transport_size
Definition: errors.h:109
GetLastContractId
int GetLastContractId(void)
Returns the last contract identifier.
Definition: syslib.c:6572
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:1716
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:4499
GetAlarmDefinition
int GetAlarmDefinition(char *eqm, UINT32 code, ADS *ads)
Gets the alarm definition for the alarm code specified.
Definition: Alarm API Calls:1664
SetFailoverSlave
int SetFailoverSlave(char *eqm, char *masterName, char *slaveMaster)
Declares the server a failover slave and targets the designated server.
Definition: srvdbase.c:8109
DMDA::data
DUNION data
Definition: tinetype.h:1045
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:2109
ASPECTRUM::s_start
float s_start
Definition: tinetype.h:802
DUSTRING::str
char str[80]
Definition: tinetype.h:701
DBLDBL::d2val
double d2val
Definition: tinetype.h:392
SetAutoAdjustWorkAreaSize
void SetAutoAdjustWorkAreaSize(int value)
Sets 'auto-adjust work area size' (based on number of registered properties)
Definition: srvdbase.c:490
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:10295
ALM_THRESHOLDS::codeHighWarn
int codeHighWarn
Definition: almlib.h:501
SetUseCycleTrigger
void SetUseCycleTrigger(int value)
Establishes whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:165
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:4037
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:6124
INTFLTINT::fval
float fval
Definition: tinetype.h:539
AWLQS::atyp
int atyp
Definition: almlib.h:366
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:803
GetDeviceName
char * GetDeviceName(char *eqm, int devnr)
Gives the registered device name for the specified equipment module and device number.
Definition: srvdbase.c:7629
AddFieldToBitField
int AddFieldToBitField(char *srv, char *tag, UINT32 mask, char *field)
Adds a field definition to a registered bitfield.
Definition: srvdbase.c:9193
operation_timeout
@ operation_timeout
Definition: errors.h:183
ExportListTag::exportId
int exportId
Definition: srvcore.h:1794
GetCatchConsoleBreak
int GetCatchConsoleBreak(void)
Returns the current setting for this feature.
Definition: syslib.c:203
GetLocalName
char * GetLocalName(char *exportName)
Returns the local equipment module name associated with the export name given.
Definition: srvdbase.c:6441
ALM_THRESHOLDS::codeLow
int codeLow
Definition: almlib.h:502
lock_required
@ lock_required
Definition: errors.h:247
ExportListTag::usersScanFlag
int usersScanFlag
Definition: srvcore.h:1864
MDX::min
float min
Definition: tinetype.h:1029
warn_too_high
@ warn_too_high
Definition: errors.h:217
SetRejectOverloadedMetaProperties
void SetRejectOverloadedMetaProperties(int value)
Enables/Disables overloaded meta properties.
Definition: srvdbase.c:9287
HstTblEntry::hasSavedFiles
int hasSavedFiles
Definition: hstlib.h:96
TImageSourceHeader::timestampSeconds
SINT32 timestampSeconds
Definition: tinetype.h:866
ExportListTag::EqmPrpLst
ExportPropertyListStruct * EqmPrpLst[PROPERTY_HASH_SIZE+1]
Definition: srvcore.h:1796
GetServerWaiting
int GetServerWaiting(void)
Gets the server's waiting state.
Definition: syslib.c:5224
DTYPE::dFormat
short dFormat
Definition: tinetype.h:999
RegisterStateChangeCallback
int RegisterStateChangeCallback(SCCBFCNP fcn, const char *eqm, const char *stateKey, void *reference)
Registers a state change callback dispatch function.
Definition: srvdbase.c:7233
SetSuspendCallbacks
void SetSuspendCallbacks(int value)
set suspends asynchronous callback notification ON or OFF
Definition: client.c:4978
ExportListTag::EqmGroupDevPrefix
char EqmGroupDevPrefix[XFIX_SIZE]
Definition: srvcore.h:1790
ASPECTRUM::spectBufferSize
UINT32 spectBufferSize
Definition: tinetype.h:805
GetDeviceServers
int GetDeviceServers(NAME16 *dslist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:1607
NAME64DBL::name
char name[64]
Definition: tinetype.h:484
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:7604
SetFailoverPollingInterval
void SetFailoverPollingInterval(int pollingInterval)
Sets the server failover interval to the value given.
Definition: srvdbase.c:4031
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:587
GetDeviceDescription
char * GetDeviceDescription(char *eqm, int devnr)
Gives the registered device description (if known) for the device number.
Definition: srvdbase.c:7639
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:313
DSUMMARY::tMax
UINT32 tMax
Definition: tinetype.h:669
srvcore.h
ExportListTag::EqmSlaveMaster
char EqmSlaveMaster[EXPORT_NAME_SIZE]
Definition: srvcore.h:1869
GetDeviceContextsFromFile
int GetDeviceContextsFromFile(NAME16 *clist, int *num)
Retrieves a list of server contexts via query to the local static database.
Definition: toolkit.c:1429
ExportListTag::bkgbusy
short bkgbusy
Definition: srvcore.h:1828
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:9189
DUNION::ulptr
UINT32 * ulptr
Definition: tinetype.h:980
UnlockEquipmentModules
int UnlockEquipmentModules(void)
Unlocks all equipment modules.
Definition: syslib.c:6082
AssignPropertyAccessList
int AssignPropertyAccessList(const char *eqm, const char *prp, NAME16 *users, int nusers)
Assigns an access list for the property given.
Definition: srvdbase.c:7147
GetCurrentFailoverState
int GetCurrentFailoverState(void)
Returns current master slave state of server.
Definition: srvdbase.c:4105
SetFecLogPath
int SetFecLogPath(char *path)
Sets the fec log repository.
Definition: syslib.c:1867
SetDeviceMask
int SetDeviceMask(char *eqm, char *devname, int mask)
Assigns a device mask to the specified device.
Definition: srvdbase.c:8003
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:5621
UnregisterCycleTriggerFunction
int UnregisterCycleTriggerFunction(CYCBFCNP fcn, void *reference)
Unregisters a previously registered cycle trigger callback dispatch function.
Definition: client.c:6747
GetNumberDataOutputBuffers
int GetNumberDataOutputBuffers(void)
gets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:479
GetDataStampFromCallbackId
int GetDataStampFromCallbackId(int id)
Gets the global system data stamp with which the incoming data set has been tagged.
Definition: client.c:10003
DBLINT::dval
double dval
Definition: tinetype.h:377
USPECTRUM::status
SINT32 status
Definition: tinetype.h:783
SetSystemAttribute
int SetSystemAttribute(char *attribute, void *value, int format)
Definition: srvdbase.c:9502
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:1530
FlushContractTable
void FlushContractTable(void)
Flushes the current contract and client entry tables.
Definition: srvdbase.c:7264
ExportListTag::alarmSystem
short alarmSystem
Definition: srvcore.h:1815
NAME48I::ival
SINT32 ival
Definition: tinetype.h:322
illegal_format
@ illegal_format
Definition: errors.h:78
AWLQS::hiwarn
float hiwarn
Definition: almlib.h:380
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:318
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:6768
GetDeviceNames
int GetDeviceNames(char *srv, NAME16 *devs, int *num)
Retrieves a list of device names via query to the server given.
Definition: toolkit.c:2693
DTYPE
Defines a TINE data object.
Definition: tinetype.h:996
GetConnectionTableCapacity
int GetConnectionTableCapacity(void)
Gets the maximum number of entries allowed in the connection table.
Definition: client.c:9097
GetDataTimeStringEx
char * GetDataTimeStringEx(double ts, int useLongStringFormat, char *tsstr)
Returns the TINE data timestamp as a human-readable string.
Definition: syslib.c:5764
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:2666
SetServerTransportCeiling
void SetServerTransportCeiling(int value)
Sets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:174
SetPreSystemInitFunction
void SetPreSystemInitFunction(SYSTSKP fcn)
Sets a user-specific initialization routine to be executed prior to server initialization.
Definition: syslib.c:6116
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:2353
invalid_keyword
@ invalid_keyword
Definition: errors.h:142
FLTINTFLTINT::f2val
float f2val
Definition: tinetype.h:643
GetUseMultiThreadedBackgroundTasks
int GetUseMultiThreadedBackgroundTasks(void)
Returns whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2737
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:2314
FLTINT
Defines a TINE pairwise data object containing a float value followed by a 4-byte integer value.
Definition: tinetype.h:360
HstTblEntry::lastAccessTime
double lastAccessTime
Definition: hstlib.h:103
NAME64DBLDBLDBL::d1val
double d1val
Definition: tinetype.h:510
SetAppVersion
void SetAppVersion(int major, int minor, int revision)
Sets the application version of the current running server process.
Definition: srvdbase.c:8918
DWINDOW::t1
SINT32 t1
Definition: tinetype.h:613
DPOINT::x
float x
Definition: tinetype.h:414
GetSystemDataStampFromCallbackId
int GetSystemDataStampFromCallbackId(int id)
Gets the system data stamp with which the incoming data set has been tagged.
Definition: client.c:9987
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:6120
GetDataTimeStamp
double GetDataTimeStamp(void)
Returns the last established data timestamp.
Definition: syslib.c:5899
DSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:757
GetSystemCycleDeadband
int GetSystemCycleDeadband(void)
Gets the system cycle deadband.
Definition: srvdbase.c:9385
SetCycleDelay
int SetCycleDelay(int msecs)
Sets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5965
GetLastContractTableId
int GetLastContractTableId(void)
Returns the last contract table identifier.
Definition: syslib.c:6577
RegisterXPropertyQueryFunction
short RegisterXPropertyQueryFunction(char *eqm, int(*fcn)(char *devName, XPropertyQueryStruct **xpqs), int numprops)
Registers an extended property query function.
Definition: srvdbase.c:8737
PropertyQueryStructEx::prpMaxValue
float prpMaxValue
Definition: tinetype.h:4049
SetLinkWatchdogPollingInterval
int SetLinkWatchdogPollingInterval(int value)
Sets the link watchdog polling interval to the value given.
Definition: client.c:7734
SystemKillCycleTimer
void SystemKillCycleTimer(void)
Stops the TINE engine 'cycler' thread.
Definition: tine32.c:247
PrpQueryStruct::prpFormat
BYTE prpFormat
Definition: tinetype.h:4116
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:5440
recvNetGlobal
int recvNetGlobal(const char *keyword, DTYPE *dout, void(*cbFcn)(int, int))
Initiates a net globals data link.
Definition: client.c:10303
ResetMultiChannelProperty
int ResetMultiChannelProperty(char *eqm, char *prp)
sends (schedules) a 'reset_mca_property' signal to any listening client
Definition: syslib.c:6438
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:975
GetTimeStampFromString
double GetTimeStampFromString(char *timestr)
Returns a TINE timestamp converted from the string argument given.
Definition: syslib.c:5809
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:2204
ALM_THRESHOLDS::mask
UINT32 mask
Definition: almlib.h:496
DUNION::fptr
float * fptr
Definition: tinetype.h:987
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:9944
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:2358
SetScanForNetsFiles
int SetScanForNetsFiles(const char *eqm)
Instructs the initialization process to look for device and property specific 'ipnets' files.
Definition: srvdbase.c:2058
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:5802
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:2462
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:1965
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:1059
HstTblEntry::lastArchiveTime
double lastArchiveTime
Definition: hstlib.h:104
ExportListTag::regionsLst
DeviceRegionItem * regionsLst
Definition: srvcore.h:1812
GetNumberDataOutputBuffers
int GetNumberDataOutputBuffers(void)
gets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:479
SetHistoryStaticFilesRepository
void SetHistoryStaticFilesRepository(char *path)
Sets the directory location where static local history files are maintained.
Definition: hstlib.c:215
NAME32I::name
char name[32]
Definition: tinetype.h:309
out_of_range
@ out_of_range
Definition: errors.h:119
dcsEvnSck
SOCKET dcsEvnSck
ExportListTag::groupIndex
int groupIndex
Definition: srvcore.h:1793
SetMinimumDiskSpaceInBlocks
void SetMinimumDiskSpaceInBlocks(UINT32 spaceInBlocks)
Sets the amount of free disk space the local history subsystem should try to maintain.
Definition: hstlib.c:259
GetNumConsumers
int GetNumConsumers(char *eqm)
Returns the current number of consumers associated with the equipment module given.
Definition: srvdbase.c:7769
DeviceInfoStruct::name
char name[DEVICE_NAME_SIZE]
Definition: srvcore.h:1749
PrpEguStruct::graph
BYTE graph
Definition: tinetype.h:2381
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:10332
DUSTRING::f2val
float f2val
Definition: tinetype.h:699
XPropertyQueryStruct::prpSize
UINT32 prpSize
Definition: XPropertyQueryStruct.txt:14
ExportListTag::staChgRef
void * staChgRef
Definition: srvcore.h:1841
GetSystemUseDataProtection
int GetSystemUseDataProtection(void)
Gets the data protection flag to the value given.
Definition: syslib.c:6534
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:511
GetSubscriptionRenewalThreshold
int GetSubscriptionRenewalThreshold(int linkId, int *thresholdInPercent)
Gets the current client-side subscription threshold for the link in question.
Definition: client.c:2991
ExportListTag::inidone
short inidone
Definition: srvcore.h:1829
UpdateDataStampsFromLinkId
int UpdateDataStampsFromLinkId(int linkId, DTYPE *dout)
Fills in the given DTYPE data object with all data stamp information.
Definition: client.c:9874
ExportListTag::isbusy
short isbusy
Definition: srvcore.h:1833
GetCompletionDataTypeFromCallbackId
int GetCompletionDataTypeFromCallbackId(int id)
Returns the most recent data type of the link associated with the callback id supplied.
Definition: client.c:9801
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:227
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:924
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:665
GetRegisteredContext
char * GetRegisteredContext(char *eqm)
Gives the registered context.
Definition: srvdbase.c:5821
SetExportedSubSystem
void SetExportedSubSystem(char *eqmName, char *subsystem)
Assigns the exported subsystem associated with the equipment function name given.
Definition: srvdbase.c:307
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:8245
FLTFLTINT::f1val
float f1val
Definition: tinetype.h:558
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:8685
SetGlobalsTableCapacity
void SetGlobalsTableCapacity(int value)
sets the globals table capacity
Definition: client.c:9101
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:8020
sedac_error
@ sedac_error
Definition: errors.h:167
PrpEguStruct
Structure used to hold engineering units, ranges, etc. for properties.
Definition: tinetype.h:2376
hdrSPECTRUM
Defines a TINE quintuplet data object containing an 80-character fixed-length string followed by a lo...
Definition: tinetype.h:729
GetExportedName
char * GetExportedName(char *eqm)
Returns the exported name associated with the equipment function name given.
Definition: srvdbase.c:7623
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:611
GetGlobalsTableCapacity
int GetGlobalsTableCapacity(void)
gets the globals table capacity (client-side)
Definition: client.c:9106
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:2500
GetSystemErrorString
char * GetSystemErrorString(short cc, char *errstr)
Gets the system error code in plain text.
Definition: syslib.c:6464
DUNAME::f3val
float f3val
Definition: tinetype.h:717
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:2506
no_such_computer
@ no_such_computer
Definition: errors.h:121
GetAllowNetworkAddressResolution
int GetAllowNetworkAddressResolution(void)
returns whether NETWORK address resolution is allowed
Definition: srvdbase.c:9457
AssignDataStampsToGlobal
int AssignDataStampsToGlobal(char *keyword, int dataStamp, int sysStamp)
Assigns additional data stamps to the registered global keyword.
Definition: srvdbase.c:8826
GetCurrentLinkStatusFromCallbackId
int GetCurrentLinkStatusFromCallbackId(int id)
Returns the completion code associated with the callback identifier supplied.
Definition: client.c:9859
ExportListTag::isterminating
BYTE isterminating
Definition: srvcore.h:1836
illegal_operator
@ illegal_operator
Definition: errors.h:159
semaphore_error
@ semaphore_error
Definition: errors.h:170
DMDA::cmt
char cmt[80]
Definition: tinetype.h:1041
ExportListTag::rateBkg
SINT32 rateBkg
Definition: srvcore.h:1827
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:7528
AWLQS::losev
int losev
Definition: almlib.h:371
PutValuesFromFloatEx
int PutValuesFromFloatEx(DTYPE *d, float *fval, int num, int offset)
Submits outgoing data from an array of floats.
Definition: toolkit.c:3648
GetServerThreadPriority
int GetServerThreadPriority(void)
Returns the priority of the server cycle thread as well as other associated server-side threads.
Definition: syslib.c:4199
SetDeviceDescription
int SetDeviceDescription(char *eqm, char *devname, char *description)
Assigns a device description to the specified device.
Definition: srvdbase.c:7961
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:9519
GetValuesAsFloat
int GetValuesAsFloat(DTYPE *d, float *fval, int num)
Retrieves incoming data as an array of floats.
Definition: toolkit.c:3528
SetAlarmDataChangeWindow
void SetAlarmDataChangeWindow(int timeInSeconds)
Sets the size of the alarm datachange window in seconds.
Definition: Alarm API Calls:2511
GetDeviceServersFromFile
int GetDeviceServersFromFile(char *context, NAME16 *dslist, int *num)
Definition: toolkit.c:1619
ExportListTag::EqmNumDevices
short EqmNumDevices
Definition: srvcore.h:1806
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:323
GetContractAccessRate
int GetContractAccessRate(int id)
Returns the access rate (interval) associated with the given contract.
Definition: syslib.c:6581
SetAllowBackgroundTaskReentrancy
void SetAllowBackgroundTaskReentrancy(int value)
Determines whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9431
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:236
DSUMMARY::cnt
UINT32 cnt
Definition: tinetype.h:671
GetExportListItem
ExportListStruct * GetExportListItem(char *eqm)
Returns a reference to the Export List Structure of the given equipment module.
Definition: srvdbase.c:2920
port_not_available
@ port_not_available
Definition: errors.h:172
ExportListTag::hasDevQry
short hasDevQry
Definition: srvcore.h:1808
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:7765
access_locked
@ access_locked
Definition: errors.h:262
ExportListTag::adsTable
ADSList * adsTable
Definition: srvcore.h:1813
GetDeviceServersEx
int GetDeviceServersEx(char *context, NAME16 *dslist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:1613
ALM_THRESHOLDS::lowarnsev
int lowarnsev
Definition: almlib.h:491
FLTINTINT::i2val
SINT32 i2val
Definition: tinetype.h:525
SetMaxTcpMessageSize
void SetMaxTcpMessageSize(int value)
Sets the TINE server maximum STREAM message segment size.
Definition: iplib.c:1399
PropertyQueryStructEx::prpSizeIn
UINT32 prpSizeIn
Definition: tinetype.h:4051
server_idle
@ server_idle
Definition: errors.h:260
DFILTER::f2val
float f2val
Definition: tinetype.h:684
GetValuesAsDBLDBL
int GetValuesAsDBLDBL(DTYPE *d, DBLDBL *ddval, int num)
Retrieves incoming data as an array of DBLDBL values.
Definition: toolkit.c:3204
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:4203
GetAllowBackgroundTaskReentrancy
int GetAllowBackgroundTaskReentrancy(void)
Returns whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9435
NAME16DBLDBL
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by a ...
Definition: tinetype.h:456
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:8234
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:10336
GetPropertySubscriptionRenewalLength
int GetPropertySubscriptionRenewalLength(char *eqm, char *prpName, int *value)
Gets the current subscription renewal length for the property specified.
Definition: srvdbase.c:3937
GetContractId
int GetContractId(const char *eqm)
Returns the last contract identifier for the equipment module specified.
Definition: syslib.c:6558
PropertyQueryStruct
Defines a simple property query structure (legacy, minimal information)
Definition: tinetype.h:4025
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:8177
DADDRESS::i1val
SINT32 i1val
Definition: tinetype.h:599
ExportListTag::EqmRegion
char EqmRegion[TAG_NAME_SIZE]
Definition: srvcore.h:1792
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:1095
DFILTER::ival
SINT32 ival
Definition: tinetype.h:682
getLinkOutputStatus
int getLinkOutputStatus(int lnkId, char *strSts, int maxKeyLength, int splitlines)
Definition: client.c:590
RemoveRegisteredBCastNetsList
int RemoveRegisteredBCastNetsList(NAME64 *ipaddr, int rmvsiz)
removes those networks in the name list given from the current broadcast list.
Definition: srvdbase.c:1209
DFILTER::f3val
float f3val
Definition: tinetype.h:685
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:2485
SetSizeDeviceCapacity
int SetSizeDeviceCapacity(char *eqm, int size)
Sets (increases) the maximum size of the device table and associated tables.
Definition: srvdbase.c:6410
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:3439
ResetSuspendCallbacks
void ResetSuspendCallbacks(void)
stops suspending callbacks and resets the reference counter
Definition: client.c:4999
GetValuesAsShort
int GetValuesAsShort(DTYPE *d, short *sval, int num)
Retrieves incoming data as an array of short integers.
Definition: toolkit.c:3452
SetPacketMTU
int SetPacketMTU(int mtu)
Sets the TINE Packet MTU for the UDP server socket.
Definition: iplib.c:579
GetDeviceProperties
int GetDeviceProperties(char *srv, NAME32 *props, int *num)
Retrieves a list of properties via query to the server given.
Definition: toolkit.c:2642
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:2657
NAME32I::ival
SINT32 ival
Definition: tinetype.h:310
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:9489
GetCurrentLinkStatus
int GetCurrentLinkStatus(int i)
Returns the completion code associated with the input link index.
Definition: client.c:9854
FLTFLTINT
Defines a TINE triplet data object containing a float doublet followed by a long integer value.
Definition: tinetype.h:556
XPropertyQueryStruct::prpAccess
BYTE prpAccess
Definition: XPropertyQueryStruct.txt:25
DTYPE::sysStamp
int sysStamp
Definition: tinetype.h:1002
SetRetardSingleContractRemoval
void SetRetardSingleContractRemoval(int value)
sets the retard contract removal state
Definition: srvdbase.c:9423
GetCompletionDataType
int GetCompletionDataType(int i)
Returns the most recent data type of the link index supplied.
Definition: client.c:9789
SetNumberDataOutputBuffers
int SetNumberDataOutputBuffers(int value)
sets the number of allocated buffers to use in contract access of a a registered property.
Definition: server.c:468
PropertyQueryStruct::prpSize
UINT16 prpSize
Definition: tinetype.h:4029
INTINTINT::i3val
SINT32 i3val
Definition: tinetype.h:573
SetUseMultiThreadedEquipmentFunctions
void SetUseMultiThreadedEquipmentFunctions(int value)
Determines whether an equipment module equipment function can run in a separate threads (boolean).
Definition: syslib.c:2742
gErrorLogLevel
int gErrorLogLevel
Determines which messages are written to error.log file.
Definition: syslib.c:5498
AWLQS::lo
float lo
Definition: almlib.h:379
GetSystemLogging
int GetSystemLogging(void)
Returns the current system logging setting (TRUE or FALSE)
Definition: syslib.c:5929
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:333
SetSystemUserName
int SetSystemUserName(char *usr)
Sets the current value for the application user.
Definition: syslib.c:6458
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:238
useGlobalSynchronization
int useGlobalSynchronization
Determines whether data timestamps are to be externally synchronized.
Definition: syslib.c:5519
NAME8I
Defines a TINE pairwise data object containing an 8-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:283
GetBackgroundThreadPriority
int GetBackgroundThreadPriority(void)
Returns the priority of the registered background threads.
Definition: syslib.c:4215
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:1989
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:6726
file_already_exists
@ file_already_exists
Definition: errors.h:126
NAME64DBL::dval
double dval
Definition: tinetype.h:485
ExportListTag::hstdone
short hstdone
Definition: srvcore.h:1830
INTFLTINT::i2val
SINT32 i2val
Definition: tinetype.h:540
SystemGetStartupCommand
char * SystemGetStartupCommand(void)
Returns the command line used to start this process.
Definition: srvdbase.c:354
dimension_error
@ dimension_error
Definition: errors.h:102
SetFecHome
int SetFecHome(char *fecHomePath)
Sets the current fec home database repository.
Definition: syslib.c:5913
AppendRegisteredUsers
int AppendRegisteredUsers(const char *eqm, NAME16 *userlist, int listsize)
appends the current users access list with the name list given
Definition: srvdbase.c:1261
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:2537
GetCurrentDataStatusFromCallbackId
int GetCurrentDataStatusFromCallbackId(int id)
Returns the data status code associated with the callback identifier supplied.
Definition: client.c:9869
PutLnkTimeStamp
int PutLnkTimeStamp(int i)
Flags a link so that the local timestamp is used for all incoming data sets.
Definition: client.c:2529
GetSystemStampOffset
int GetSystemStampOffset(void)
Returns the registered system cycle offset.
Definition: client.c:6768
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:9447
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:7552
XPropertyQueryStruct::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: XPropertyQueryStruct.txt:20
MDX::reserved
int reserved
Definition: tinetype.h:1026
GetPortOffset
int GetPortOffset(const char *fecName)
Obtains the FEC port offset appropriate for the give FEC name.
Definition: srvdbase.c:6704
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:7518
GetSystemUserName
char * GetSystemUserName(void)
Gets the current value for the application user.
Definition: syslib.c:5925
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:412
SetGCastAddr
int SetGCastAddr(char *addr)
Sets the cannonical globals multicast address the server will use when sending payloads via multicast...
Definition: iplib.c:386
GetFormatSizeInBytesFromDataType
int GetFormatSizeInBytesFromDataType(DTYPE *d)
Gives the size of bytes according to the DTYPE fields.
Definition: syslib.c:747
ExportListTag::isinside
BYTE isinside
Definition: srvcore.h:1835
PutValuesFromDoubleEx
int PutValuesFromDoubleEx(DTYPE *d, double *dval, int num, int offset)
Submits outgoing data from an array of doubles.
Definition: toolkit.c:3634
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:4333
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:7094
_SystemFireEvent
int _SystemFireEvent(char *eqm, char *prp)
Schedules an event for the given property for immediate delivery to all attached clients.
Definition: syslib.c:6434
GetValuesAsLong
int GetValuesAsLong(DTYPE *d, SINT32 *lval, int num)
Retrieves incoming data as an array of long integers.
Definition: toolkit.c:3465
MDX::len
int len
Definition: tinetype.h:1025
CLOG::priority
int priority
Definition: tinetype.h:195
DeviceInfoStruct::ctx
char ctx[CONTEXT_NAME_SIZE]
Definition: srvcore.h:1747
GetAllowOfflineAlarms
int GetAllowOfflineAlarms(void)
Gets the local alarm server setting to allow or disallow alarms for devices declared offline.
Definition: Alarm API Calls:1063
ExportListTag::hasPropertyHandler
int hasPropertyHandler
Definition: srvcore.h:1823
RemoveEquipmentModule
int RemoveEquipmentModule(const char *eqm)
Unregisters an equipment module with the TINE server engine and frees all associated memory.
Definition: srvdbase.c:5941
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:5530
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:5961
ASPECTRUM::spectBuffer
float * spectBuffer
Definition: tinetype.h:806
FLTFLT::f1val
float f1val
Definition: tinetype.h:403
SetSchedulerInterval
void SetSchedulerInterval(int value)
Sets the system scheduler interval.
Definition: srvdbase.c:9324
SetValuesAsStringSeparator
int SetValuesAsStringSeparator(char *str)
sets the separator to be used by getValuesAsString() and GetValuesArrayAsString()
Definition: toolkit.c:2698
FLTINTFLTINT::f1val
float f1val
Definition: tinetype.h:641
NAME16FI
Defines a TINE triplet data object containing a 16-character fixed-length string value followed by a ...
Definition: tinetype.h:427
LockEquipmentModules
int LockEquipmentModules(void)
Locks all equipment modules.
Definition: syslib.c:6075
TImageSourceHeader::baseTag
UINT32 baseTag
Definition: tinetype.h:862
ExportListTag::EqmNumCalls
int EqmNumCalls
Definition: srvcore.h:1844
ExportListTag::eqmStartupTime
time_t eqmStartupTime
Definition: srvcore.h:1858
CLOG::tag
char tag[32]
Definition: tinetype.h:192
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:642
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:4442
DeviceInfoStruct::desc
char desc[DEVICE_DESC_SIZE]
Definition: srvcore.h:1750
JoinEquipmentGroup
int JoinEquipmentGroup(char *eqmName, char *groupname, int groupindex)
Instructs the equipment module to join the specified equipment group.
Definition: srvdbase.c:7790
ExportListTag::hDataProtectionMutex
MXHANDLE hDataProtectionMutex
Definition: srvcore.h:1852
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:6000
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:368
ExportListTag::isidle
short isidle
Definition: srvcore.h:1832
DUNION::usptr
UINT16 * usptr
Definition: tinetype.h:978
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:482
AssignNumDevices
int AssignNumDevices(char *eqm, int num)
Fixes the number of modules (devices) attached to the specified equipment module.
Definition: srvdbase.c:7316
SetServerWaiting
void SetServerWaiting(int value)
Sets the server's waiting state to the value given.
Definition: syslib.c:5228
SetBurstLimit
int SetBurstLimit(int npackets)
Sets the burst limit in number of packets which are allowed to be set consecutively.
Definition: syslib.c:5954
file_error
@ file_error
Definition: errors.h:100
DUNION
de-references the data set in a DTYPE object
Definition: tinetype.h:971
GetGlobalLinkIdFromCallbackId
int GetGlobalLinkIdFromCallbackId(int cbId)
retrieves the link ID for a globals link
Definition: client.c:7343
DMDA::ndim
int ndim
Definition: tinetype.h:1042
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:7784
string_expected
@ string_expected
Definition: errors.h:144
SetStreamTransportRetryLimit
void SetStreamTransportRetryLimit(int value)
Sets the stream transport retry limit.
Definition: syslib.c:4576
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:199
SetSystemAlias
int SetSystemAlias(char *alias, char *name)
Sets an alias for either a registered property or registered device.
Definition: srvdbase.c:9439
FLTFLTINT::f2val
float f2val
Definition: tinetype.h:559
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:2490
GetServerTransportCeiling
int GetServerTransportCeiling(void)
Gets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:180
nofeclog
int nofeclog
Determines whether a server is to keep a log file on the local disk.
Definition: syslib.c:5496
INTFLTINT
Defines a TINE triplet data object containing a long integer value followed by a float followed by a ...
Definition: tinetype.h:536
SetAutoLinkWatchdogs
void SetAutoLinkWatchdogs(int value)
Enables/Disables automatic link watchdogs.
Definition: client.c:10308
USPECTRUM::tm
SINT32 tm
Definition: tinetype.h:780
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:3676
SetMinimumAllowedPollingInterval
void SetMinimumAllowedPollingInterval(int value)
Sets the minimum polling interval in milliseconds a server will allow.
Definition: srvdbase.c:9389
ALM_THRESHOLDS::normal
UINT32 normal
Definition: almlib.h:497
ALM_THRESHOLDS::cnt
int cnt
Definition: almlib.h:487
datacmp
int datacmp(BYTE *d1, BYTE *d2, int siz, int fmt, double t)
Definition: syslib.c:1434
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:8386
FLTINTFLTINT
Defines a TINE quadruplet data object containing a float value followed by a long integer followed by...
Definition: tinetype.h:639
HRS::depthShort
int depthShort
Definition: hstlib.h:150
GetAlwaysRetry
int GetAlwaysRetry(void)
Gets the current setting of the 'Always Retry' flag.
Definition: client.c:10316
GetUseLoopback
int GetUseLoopback(void)
Returns the current value of the 'useLoopBack' flag.
INTINTINT::i2val
SINT32 i2val
Definition: tinetype.h:572
ALARM
structure used in the local alarm linked list
FLTFLTINT::ival
SINT32 ival
Definition: tinetype.h:560
illegal_context
@ illegal_context
Definition: errors.h:93
ExportListTag::hasPropertyDeviceNames
short hasPropertyDeviceNames
Definition: srvcore.h:1799
udpSyncSck
SOCKET udpSyncSck
ExportListTag::hEqmBkg
THRHANDLE hEqmBkg
Definition: srvcore.h:1826
HRS::datasiz
int datasiz
Definition: hstlib.h:146
ExportListTag::EqmLastErrorCode
int EqmLastErrorCode
Definition: srvcore.h:1843
GetAllowBackgroundTaskReentrancy
int GetAllowBackgroundTaskReentrancy(void)
Returns whether equipment module background tasks may be re-entered (boolean).
Definition: srvdbase.c:9435
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:6895
AWSLstEntry
Uses an Alarm Watch Structure + extra override information.
FLTINTFLTINT::i2val
SINT32 i2val
Definition: tinetype.h:644
hdrSPECTRUM::s_start
float s_start
Definition: tinetype.h:733
ClnInfoStruct::addr
SCKADR addr
Definition: srvcore.h:2494
GetDeviceMask
int GetDeviceMask(char *eqm, int devnr)
Gives the registered device mask for the device number.
Definition: srvdbase.c:7663
ExportListTag::EqmDevLstCapacity
short EqmDevLstCapacity
Definition: srvcore.h:1807
GetFeclogDepth
int GetFeclogDepth(void)
Returns the maximum size of the server's log file in lines.
Definition: syslib.c:5515
PrpQueryStruct::rowSize
UINT16 rowSize
Definition: tinetype.h:4124
SetContractListCapacity
void SetContractListCapacity(int value)
Sets the maximum number of contracts a server will service.
Definition: srvdbase.c:7247
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:3541
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:4107
hdrGSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:827
SetEqmCompletion
void SetEqmCompletion(char *eqm, char *errstr)
Sets the error string to accompany the current server call.
Definition: srvdbase.c:8956
illegal_data_size
@ illegal_data_size
Definition: errors.h:91
FLTINT::fval
float fval
Definition: tinetype.h:362
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:4728
AWLQS::dev
char dev[DEVICE_NAME_SIZE]
Definition: almlib.h:362
ExportListTag::eqmBaseline
time_t eqmBaseline
Definition: srvcore.h:1859
RegisterDeviceName
int RegisterDeviceName(char *eqm, char *devname, int devnr)
Assigns a device name to the specified device number.
Definition: srvdbase.c:7882
PutDataTimeStampU
double PutDataTimeStampU(double toffset, time_t tsec, int tusec)
Returns a data timestamp according to the input parameters given.
Definition: syslib.c:5946
ClnInfoStruct::inetProtocol
short inetProtocol
Definition: srvcore.h:2497
ExportListTag::eqmIni
EQMTSKP eqmIni
Definition: srvcore.h:1838
AppendHistoryLog
void AppendHistoryLog(char *text,...)
Appends a line of text to a server's secondary log file.
Definition: toolkit.c:1030
PrpEguStruct::min
float min
Definition: tinetype.h:2379
PrpQueryStruct::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: tinetype.h:4114
AWLQS::mask
UINT32 mask
Definition: almlib.h:374
SetContractSignalFunction
void SetContractSignalFunction(CONSIG fcn, int mask, void *ref)
Registers a contract signal function.
Definition: srvdbase.c:7226
invalid_interval
@ invalid_interval
Definition: errors.h:241
DMDA
Datatype: Multi-Dimensional Array.
Definition: tinetype.h:1039
gConTblCapacity
int gConTblCapacity
Determines the maximum number of entries in the connection table.
Definition: client.c:9040
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:1256
AWLQS::code
int code
Definition: almlib.h:382
AppendRegisteredBCastNetsList
int AppendRegisteredBCastNetsList(NAME64 *ipaddr, int addsiz)
appends the current network broadcast list with the name list given
Definition: srvdbase.c:1199
_SystemCycle
int _SystemCycle(int chkcmd)
Required call for the TINE engine to function property.
Definition: syslib.c:6005
fecLogFileDepth
int fecLogFileDepth
Sets the depth in lines of a server's secondary log file (if utilized).
Definition: toolkit.c:1028
ExportListTag::nfollowers
short nfollowers
Definition: srvcore.h:1820
GetSystemSchedulePropertyLazy
int GetSystemSchedulePropertyLazy(void)
Gets the 'lazy' flag for scheduling properties.
Definition: syslib.c:6327
GetServerCycleState
int GetServerCycleState(char *cycleStateString)
Returns the current server cycle state.
Definition: server.c:159
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:322
microsleep
int microsleep(int usecs)
sleep for given number of micro-seconds
Definition: syslib.c:1641
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:2495
HstTblEntry::dataPtr
int dataPtr
Definition: hstlib.h:85
DUSTRING::tm
SINT32 tm
Definition: tinetype.h:700
SetAutoLinkErrorAlarms
void SetAutoLinkErrorAlarms(int value)
Sets the autoLinkErrorAlarms flag.
Definition: client.c:10490
GetUseMultiThreadedBackgroundTasks
int GetUseMultiThreadedBackgroundTasks(void)
Returns whether equipment module background tasks are to run in separate threads (boolean).
Definition: syslib.c:2737
SetSystemStampOffset
void SetSystemStampOffset(int cycleOffset)
Establishes a system cycle offset.
Definition: client.c:6764
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:390
GetServerTransportCeiling
int GetServerTransportCeiling(void)
Gets the server-side transport ceiling (in bytes) which gives the maximum transport size for supporte...
Definition: server.c:180
putCommandsInFeclog
int putCommandsInFeclog
Determines whether all in-coming WRITE access calls are automatically included in the server's log fi...
Definition: syslib.c:5499
AWLQS::asys
int asys
Definition: almlib.h:367
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:5237
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:252
GetClientThreadPriority
int GetClientThreadPriority(void)
Returns the priority of the client cycle thread as well as other associated client-side threads.
Definition: syslib.c:4207
no_such_file
@ no_such_file
Definition: errors.h:125
PrpQueryStruct::prpDescription
char prpDescription[PROPERTY_DESC_SIZE]
Definition: tinetype.h:4104
GetUseCycleTrigger
int GetUseCycleTrigger(void)
Returns whether a server listens for a CycleNumber trigger from a CYCLER.
Definition: server.c:170
AssertIsAdministrator
int AssertIsAdministrator(const char *usr)
returns TRUE if the given user is a registered administrator
Definition: srvdbase.c:8169
DeviceInfoStruct::loc
char loc[DEVICE_LOCATION_SIZE]
Definition: srvcore.h:1751
SetUseMultiThreadedStockFunctions
void SetUseMultiThreadedStockFunctions(int value)
Determines whether stock propery calls can run in a separate threads (boolean).
Definition: syslib.c:2751
rs232_error
@ rs232_error
Definition: errors.h:186
GetConnectionTable
int GetConnectionTable(ConTblInfo *tbl, int *tblSize)
Gets the current connection table.
Definition: client.c:548
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:1193
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:2102
GetRegisteredExportName
char * GetRegisteredExportName(char *eqm)
Gives the registered exported equipment module name.
Definition: srvdbase.c:5815
OpenBitField
int OpenBitField(char *srv, char *tag, int fmt)
Declares a bit field type and registers with the bitfield registry.
Definition: srvdbase.c:9248
PropertyQueryStructEx::prpFormatIn
BYTE prpFormatIn
Definition: tinetype.h:4056
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:4501
NAME8I::ival
SINT32 ival
Definition: tinetype.h:286
SetNotificationTolerance
int SetNotificationTolerance(int linkId, float toleranceAbsolute, float tolerancePercent)
Allows the caller to apply a tolerance pertaining to link notification.
Definition: client.c:10481
USPECTRUM::comment
char comment[80]
Definition: tinetype.h:779
SetIgnoreCommonFiles
void SetIgnoreCommonFiles(int value)
turns searching for common database files in the FEC_HOME directory on or off
Definition: srvdbase.c:2110
DSPECTRUM::status
SINT32 status
Definition: tinetype.h:758
ExportListTag::EqmContext
char EqmContext[CONTEXT_NAME_SIZE]
Definition: srvcore.h:1784
AWLQS::lowarn
float lowarn
Definition: almlib.h:381
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:9729
AddFieldToStruct
int AddFieldToStruct(char *tag, int addr, int size, int fmt, char *field)
Adds a field description to a tagged structure.
Definition: srvdbase.c:7268
SetGCastTableCapacity
void SetGCastTableCapacity(int value)
sets the globals multicast table capacity
Definition: srvdbase.c:9278
ALM_THRESHOLDS::hiwarn
float hiwarn
Definition: almlib.h:493
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:6315
ClnInfoStruct::reserved2
UINT16 reserved2
Definition: srvcore.h:2492
FLTINT::ival
SINT32 ival
Definition: tinetype.h:363
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:8993
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:9981
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:7710
GetStreamTransportRetryLimit
int GetStreamTransportRetryLimit(void)
Returns the stream transport retry limit.
Definition: syslib.c:4580
GetHistoryStaticFilesRepository
char * GetHistoryStaticFilesRepository(void)
Returns the directory location where static local history files are maintained.
Definition: hstlib.c:231
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:4012
_SystemScheduleProperty
int _SystemScheduleProperty(char *eqm, char *prp)
Schedules the given property for immediate delivery to all attached clients.
Definition: syslib.c:6430
DeviceInfoStruct::srv
char srv[EXPORT_NAME_SIZE]
Definition: srvcore.h:1748
MakeSystemDataStamp
int MakeSystemDataStamp(void)
Returns the current valid global system data stamp.
Definition: syslib.c:6550
AssignDeviceListToProperty
int AssignDeviceListToProperty(char *eqm, char *prp, NAME64 *devlst, int lstlen)
Assigns the given device list to the given registered property.
Definition: srvdbase.c:6342
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:7801
GetAllowDependentLinks
int GetAllowDependentLinks(void)
returns the setting for this value
Definition: client.c:122
NAME16DBLDBL::d1val
double d1val
Definition: tinetype.h:459
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:2356
ExecLink
int ExecLink(const char *devName, const char *devProperty, DTYPE *dout, DTYPE *din, short access)
Executes a synchronous link.
Definition: client.c:9705
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:548
AWLQS::codeLowWarn
int codeLowWarn
Definition: almlib.h:386
DSUMMARY::ts
UINT32 ts
Definition: tinetype.h:668
log_negative
@ log_negative
Definition: errors.h:111
TImageSourceHeader
Defines a sourceHeader header (used in conjuction with an image header)
Definition: tinetype.h:860
UnregisterCycleTriggerFunction
int UnregisterCycleTriggerFunction(CYCBFCNP fcn, void *reference)
Unregisters a previously registered cycle trigger callback dispatch function.
Definition: client.c:6747
HstTblEntry::pollingRate
int pollingRate
Definition: hstlib.h:80
ExportListTag::EqmWcPrpLstCapacity
int EqmWcPrpLstCapacity
Definition: srvcore.h:1801
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:8704
GetCurrentDataStatus
int GetCurrentDataStatus(int i)
Returns the data status code associated with the input link index.
Definition: client.c:9864
PrpEguStruct::units
char units[16]
Definition: tinetype.h:2378
GetCycleDelay
int GetCycleDelay(void)
Gets the delay time in milliseconds following a 'burst' of ethernet packets (as defined by SetBurstLi...
Definition: syslib.c:5971
invalid_structure_tag
@ invalid_structure_tag
Definition: errors.h:148
AWLQS::prp
char prp[PROPERTY_NAME_SIZE]
Definition: almlib.h:363
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:5500
lastLnkErrSrc
short lastLnkErrSrc
Gives the signature of the last Link Error.
Definition: client.c:81
PropertyQueryStructEx::prpSize
UINT32 prpSize
Definition: tinetype.h:4050
NAME64DBLDBLDBL::d3val
double d3val
Definition: tinetype.h:512
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:614
GetCallbackGroup
GrpTblEntry * GetCallbackGroup(size_t id)
Returns a reference to the callback Group Table Entry associated with the identifier supplied.
Definition: client.c:1070
DSUMMARY::tMin
UINT32 tMin
Definition: tinetype.h:670
GetLinkName
char * GetLinkName(int i)
Returns the full link name associated with the input link index.
Definition: client.c:9950
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:1786
_SystemAssignBufferSpace
int _SystemAssignBufferSpace(UINT32 rcvBufferSpace, UINT32 sndBufferSpace)
Assigns specific buffer capacity for certain configurable TINE sockets.
Definition: iplib.c:681
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:2627
GetDieOnAddressInUse
int GetDieOnAddressInUse(void)
Returns the current setting for this feature.
Definition: syslib.c:212
ExportListTag::aclLst
AclInfoType aclLst
Definition: srvcore.h:1862
DSUMMARY::max
double max
Definition: tinetype.h:666
GetLinkNameFromCallbackId
char * GetLinkNameFromCallbackId(int id)
Returns the full link name associated with the callback identifier supplied.
Definition: client.c:9961
ResetServerBaseline
int ResetServerBaseline(const char *eqm)
Resets a server baseline timestamp to the current time.
Definition: srvdbase.c:7078
SetExportedContext
void SetExportedContext(char *eqmName, char *context)
Assigns the exported context associated with the equipment function name given.
Definition: srvdbase.c:270
NAME32I
Defines a TINE pairwise data object containing a 32-character fixed-length string followed by a 4-byt...
Definition: tinetype.h:307
DBLDBL
Defines a TINE pairwise data object containing a pairwise double doublet.
Definition: tinetype.h:389
hdrSPECTRUM::s_inc
float s_inc
Definition: tinetype.h:734
pipe_error
@ pipe_error
Definition: errors.h:272
AWLQS::chkNormal
int chkNormal
Definition: almlib.h:373
SetSystemUseDataProtection
void SetSystemUseDataProtection(int value)
Sets the data protection flag to the value given.
Definition: syslib.c:6530
GetServers
int GetServers(NAME16 *slist, int *num)
Retrieves a list of servers via query to the Equipment Name Server.
Definition: toolkit.c:1664
FLTFLT::f2val
float f2val
Definition: tinetype.h:404
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:9906
SetSystemLogging
void SetSystemLogging(int value)
Sets system logging (output to fec.log) to TRUE or FALSE.
Definition: syslib.c:5996
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:8843
DBLDBLDBL::d2val
double d2val
Definition: tinetype.h:588
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:1117
PutValuesFromUnsignedShortEx
int PutValuesFromUnsignedShortEx(DTYPE *d, UINT16 *sval, int num, int offset)
Submits outgoing data from an array of unsigned short integers.
Definition: toolkit.c:3735
MDX::max
float max
Definition: tinetype.h:1030
GetHostNameFromAddress
int GetHostNameFromAddress(char *addr, char *host, int length)
Gets the host name from the address given.
PropertyQueryStructEx::prpAccess
BYTE prpAccess
Definition: tinetype.h:4057
ExportListTag
Linked list structure used to hold equipment module information.
Definition: srvcore.h:1782
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:2347
TImageSourceHeader::versionTag
UINT32 versionTag
Definition: tinetype.h:864
PropertyQueryStructEx
Defines an extended property query structure (legacy)
Definition: tinetype.h:4040
GetAlarmTableMaximumSize
int GetAlarmTableMaximumSize(void)
Gets the maximum number of alarms managed by the local alarm server.
Definition: Alarm API Calls:2354
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:274
SealTaggedStruct
int SealTaggedStruct(char *tag, int size, int number)
Seals a tagged structure (registration finished!).
Definition: srvdbase.c:8751
FWINDOW::i2val
SINT32 i2val
Definition: tinetype.h:628
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:1463
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:2746
invalid_name
@ invalid_name
Definition: errors.h:236
PropertyQueryStructEx::prpHistoryDepthShort
UINT16 prpHistoryDepthShort
Definition: tinetype.h:4053
SetFailoverMaster
int SetFailoverMaster(char *eqm, char *masterName)
Sets the designated server as a failover master.
Definition: srvdbase.c:8098
SetUseGlobalSynchronization
void SetUseGlobalSynchronization(int value)
Determines whether data timestamps are to be externally synchronized.
Definition: syslib.c:5520
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:4816
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:2533
DTYPE::dArrayLength
UINT32 dArrayLength
Definition: tinetype.h:998
SetSystemCycleDeadband
void SetSystemCycleDeadband(int value)
Sets the system cycle deadband.
Definition: srvdbase.c:9374
SetClnRecvQueueDepth
void SetClnRecvQueueDepth(int depth)
Sets the default client-side receive queue depth for all client links.
Definition: client.c:10367
NAME16I::name
char name[16]
Definition: tinetype.h:297
useMinimalStorage
int useMinimalStorage
Instructs the local history server to use a simple UTC timestamp (4-byte integer) when saving data to...
Definition: hstlib.c:245
FecIsInitialized
int FecIsInitialized(void)
Determines whether the FEC process has initialized services and all known equipment modules.
Definition: server.c:2575
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:10014
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:2976
CLOG
defines the standard central logger entry structure
Definition: tinetype.h:189
tcp_access_required
@ tcp_access_required
Definition: errors.h:285
GetStreamTransportRetryLimit
int GetStreamTransportRetryLimit(void)
Returns the stream transport retry limit.
Definition: syslib.c:4580
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:7169
DIMAGE::sourceHeader
TImageSourceHeader sourceHeader
Definition: tinetype.h:926
AWLQS::codeLow
int codeLow
Definition: almlib.h:385
HstTblEntry::aTolerance
float aTolerance
Definition: hstlib.h:88
DUSTRING::ival
SINT32 ival
Definition: tinetype.h:697
INTINT::i1val
SINT32 i1val
Definition: tinetype.h:350
SetAlarmOscillationWindow
int SetAlarmOscillationWindow(int value)
Sets the size of the alarm oscillation window in clear counts.
Definition: Alarm API Calls:2450
PrpQueryStruct::prpSizeIn
UINT32 prpSizeIn
Definition: tinetype.h:4112
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:8835
ExportListTag::almInfo
AlmInfo almInfo
Definition: srvcore.h:1817
GetAllowRemoteDebugging
int GetAllowRemoteDebugging(void)
returns the current setting of this value
DeviceInfoStruct::number
int number
Definition: srvcore.h:1755

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