Applies To: |
|
Summary: |
The following Cicode functions do not work exactly as specified in the Help: CSV_Nav_Alarms According to the help, the page that is displayed by the alarm buttons at the bottom left of each template can be customised by using the following citect.ini parameters: [Navigation] In addition to selecting a page to be displayed via these citect.ini parameters, you should also be able to specify a function by using the question mark (?) as a prefix, according to the help: - To specify a function prefix the function name with "?" However, none of the above Cicode functions, nor the CSV_MM_PageDisplay function (which is the one the above functions call) do any check to see if a ? prefix has been used. Therefore, this functionality does not work and you get an error message prompted on the screen to say that the page cannot be displayed. |
Solution: |
This issue has been raised with developers to be looked at for
future versions. If you really need this functionality to work,
then you can work around the problem by modifying some of the
functions which are provided in the CSV_Include project. INT STRING
sFunction; IF sAction = "" THEN
RETURN -1; sFunction =
_CSV_MM_GetFunction(sAction); IF sFunction <> "" THEN
_msRecentAction_ArraySet(CSV_MM_GetMonitor(), sAction); ELSE RETURN iError; Then, for CSV_Nav_Alarms(), CSV_Nav_AlarmsDisabled(), CSV_Nav_AlarmsHardware() and CSV_Nav_AlarmsSummary(), all you need to do is change is the call... RETURN CSV_MM_PageDisplay(<page name variable>) ... to ... RETURN _CSV_MM_ProcessAction(<page name variable>) |
Keywords: |
CSV_Nav_Alarms, CSV_Nav_AlarmsDisabled, CSV_Nav_AlarmsHardware, CSV_Nav_AlarmsSummary, AlarmPage, DisabledPage, HardwarePage, SummaryPage |
Related Links
Attachments