RTI_IDE_CFG function

Manages access and updates to configuration records used throughout OpenInsight 10. The RTI_IDE_CFG_EQUATES insert defines the locations for the value(s) as well as the default values.

Note: Developers/users are recommended to always use the EQUated values for accessing/updating the configuration record (as found in the RTI_IDE_CFG_EQUATES insert) rather than absolute position numbers, as locations inside the configuration record are subject to change.

rslt = RTI_IDE_CFG(method, param1, param2, param3, param4, param5, param6)

The RTI_IDE_CFG function supports the following values for the method parameter:

MethodDescriptionParametersReturn Value
CLEARINSTANCECFGRemove all configuration information for all IDE instancesNoneTrue if successful, false otherwise. Errors are returned via set_status
CLEARMRURemoves all items from the MRU and flushes it to diskNoneTrue if successful, false otherwise. Errors are returned via set_status
DELAPPRemoves all IDE config records for an application being deletedParam1: AppID of the application to be deleted. Defaults to @appid<1>The number of records deleted
DEPLOYConvenience method, combining CLEARMRU, CLEARINSTANCECFG, and FLUSH callsNoneNone
FLUSHWrites the cached config information to diskParam1: @FM delimited list of fields to flush. If not specified, all fields are flushedTrue if successful, false otherwise. Errors are returned via set_status
GETCOLORSETReturns an @fm delimited array of color valuesParam1: Colorset Index
Param2: Flags
Param3: Reset color
@FM delimited array of color values in the format
<colorref> ":" <colorname>
GETDIALOGReturns the name of an IDE common dialogParam1: Dialog type. Values include
IDE_CFG_GETDLG_T_NEWENT$: New Entity dialog
IDE_CFG_GETDLG_T_OPENENT$: Open Entity dialog
IDE_CFG_GETDLG_T_OPENREC$: Open Record dialog
ID of common dialog requested
GETINSTANCECFGReturns the config data for a single instance, identified by an instance index.Param1: instanceIdx, identifying the instance data to retrieveTrue if configuration information exists for the specified instance, false otherwise. Errors are returned via set_status. Instance information is returned in param2 with the following structure:
<1> Position info
<2> EAST docksite info
<3> WEST docksite info
<4> SOUTH docksite info
<5> DSN docksite info
<6> Undocked DSN info
<7> Undocked toolpanel info
GETMRUReturns the MRU information as an AMV arrayNoneMRU information with the following structure:
<1> @vm'd list of DSN IDs
<2> @vm'd list of entity keys for the DSN
GETQEReturns the current QuickEvent configuration recordNoneAn amalgamation of app-specific quickevent config records
GETQETYPESReturns the QuickEvent Types configuration recordNoneThe QuickEvent Types record
GETVALUERetrieves a value from the IDE configuration informationParam1: ValueID, identifying the value to retrieve
Param2: Default value to use if configuration value is null
Retrieved value. Errors are returned via set_status
LOADDEFAULTSResets entire configuration to default, making sure to wipe out any saved instance dataNoneTrue if successful, false otherwise
PURGEDeletes all cached config informationNoneTrue if successful, false otherwise. Errors are returned via set_status
RELOADMRURe-reads the MRU info from the disk and applies it to the cache.NoneTrue if successful, false otherwise
RESETReloads configuration values from default config recordNoneTrue if successful, false otherwise
SETINSTANCECFGUpdates the config data for a single instance, identified by an instance index.Param1: instanceIdx, identifying the instance data to set
Param2: instanceCfg data array. This has the following structure:
<1> Position info
<2> EAST docksite info
<3> WEST docksite info
<4> SOUTH docksite info
<5> DSN docksite info
<6> Undocked DSN info
<7> Undocked toolpanel info
True if successful, false otherwise. Errors are returned via set_status
SETVALUESets a value in the IDE configuration informationParam1: ValueID, identifying the value to set
Param2: The value to set
Param3: NoFlush flag - if true, do NOT flush the changed direct to disk\\Param4: If true, update default value with this value
None. Errors are returned via set_status
UPDATEMRUUpdates the MRU list and flushes it to diskParam1 : DSN ID to add to the MRU list
Param2 : DSN entity ID to add to the MRU list
Param3 : If TRUE$ then this is a DELETE operation
Param4 : If TRUE$ then add the entity to the update history
The updated MRU list. Errors are returned via set_status
* Get the IP address for the OI 10 console engine server, using the default value if no value is currently defined
ip_address = rti_ide_cfg("GETVALUE", IDE_CFG_POS_CONSOLE_ESERVER_URL$, IDE_CFG_DEF_CONSOLE_ESERVER_URL$)
* set the size and position information for the CTO/AREV64 window
call rti_ide_cfg("SETVALUE", IDE_CFG_POS_CTO_SIZE$, do.max:@SVM:size)
  • guides/programming/programmers_reference_manual/rti_ide_cfg.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1