(c) Copyright Wonderware Corporation, 2000
This document provides information regarding bugs fixed in this patch and known issues.
Following are the bugs that were fixed for this patch release. Please click on the bug number for a more detailed description of the problem.
I0000549 [SPCPro] Ind DS Config: no accelerator key for Default Dataset "Select..." button.
I0000649 Center of Rotation Offset of object is incorrect.
I0000787 InTouch 7.0 NT4.0 OPC calls SPC or SPC calls OPC.
I0000842 $TimeString format not matching control panel AM and PM.
I0000843 PrintWindow won't print the Event Chart wizard.
I0001520 Cross Reference is not reporting correct tag assignments in complex application, unless filter is explicit.
I0002152 ptSetCurrentPen is getting the wrong MIN and MAX EU for 16 pen chart display.
I0005143 The key equivalents do not work if a windows control has the focus.
I0005263 AlarmGroup.AlarmEnabled is not disabling events.
I0005767 Zooming out for 12457 days gives Application Error.
I0007046 Tagname Database: Creating topics of greater than 179 characters causes problems.
I0007162 Scripts based on system time variables are incorrect.
I0008592 NETALARM sends red messages to WWLogger: /!DBacc_GetDiscrete - Could not create handle for "Temperature.HiSet."
I0009157 Dr. Watson error occurs when the level of undo in WindowMaker configuration is made to one.
I0009158 Dr. Watson error when trying to modify the existing alarm group name in the alarm properties dialog.
I0009182 Accelerator keys are duplicated in Cross Reference Search dialog.
I0009215 Window in WindowViewer becomes 'transparent' after running application for a while.
I0009463 Dragging popup window and pressing Ctrl/Esc locks InTouch.
I0009488 InTouch 7.0 NT4.0 Document Viewer: Could not load View32w.dll.
I0009499 Changing groups cause other (non saved) changes to tag to be lost.
I0009585 If $LogicRunning is set to 0 in the app startup script, you cannot set it back to 1 at runtime.
I0009695 It appears that DB was initialized when SPCPro attempts to connect to invalid DB.
I0009696 Error messages are displayed in the WWLogger when creating a new SPCPro database.
I0009719 After ACK alarms are not sorted properly if "New alarms appear at Top of List" is selected.
I0009745 The InTouch log-on dialog is not app modal - falls behind InTouch popup windows.
I0009751 Alarm record doesn't have the Date and Time showing after several Advise and Unadvise of alarms.
I0009757 Hot Fix for White screen adds white ring around samples after corrective action is entered.
I0009794 OnShow script does not write value to Excel spreadsheet.
I0009822 Doing "ACK $System;" or "$System.ack=1;" from any ActiveX event script gives "Assertion Error in vudraw.c Line1175."
I0009825 SPCRecalculateCP DDE Item in 7.0SP2-Patch03.
I0009831 WindowViewer not restored to maximum size.
I0009832 WindowMaker not restored to maximum size.
I0009876 Opening and closing a window with text boxes on it leaks memory.
I0009942 Error cache record XXX deleted but query record not marked as terminated in ALMBUFUSAL.
I0010037 For Distributed Alarm Object, Dot Field ".RowSel" does not highlight the correct record when its value is set to -1.
I0010077 Wizards: The 'Embossed' radio button field has initial focus in the Single Frame Wizard property dialog.
I0010106 Double click on the Script in the InTouch Explorer whether its application script or condition script the popup window open twice.
I0010155 HistData creates CSV files which are 1 hour off if DST box is selected.
I0010170 An attempt to convert Data Change Script with a remote tag for "Tagname[.field]" text field, results in appending unwanted dot field.
I0010221 Historical Trend Chart displays incorrect data if range includes midnight and DST is selected.
I0010385 Hist Trend is blank if the window is closed while the trend is updating.
I0010430 AlarmBuf /!ERR idxDestItem [-1] out of range of hpItemArray.
I0010435 Valid calls to Quick Functions are not validated.
I0010443 COM port needs to be initialized before InTouch can write to it.
I0010494 Trend curve for one tag is not displayed.
I0010501 WWNHIST.DLL - HistData data is taken increments 1 hr more each day for data taken.
I0010544 Records randomly missing in the CSV file.
I0010595 IOSetItem does not work when "Access Name" is set to empty string.
I0010684 The Hist Trend does not display the values for 1 tag.
I0010735 Accelerator keys are duplicate in: Special - SQL Access Manager - Bindlist & Table Template menu.
I0010812 Accelerator key for "Alarm Type" property does not work in Distributed Alarm Display Object ->Alarm Configuration ->Message tab.
I0010821 HistData doesn't retrieve values correctly.
I0010887 X, Y location changes when scrolling in WindowMaker.
I0010968 Data is shifted if retrieval includes midnight and also application error in HD.exe.
I0011079 Closing and opening a Hist Trend window will cause the historical trend to stop updating.
I0000549 SPCPro: Ind DS Config - no accelerator key for Default Dataset "Select..." button.
Problem:
Ind DS Config - no accelerator key for Default Dataset "Select..." button.Resolution:
Fixed.I0000649 Center of Rotation Offset of object is incorrect.
Problem:
Center of Rotation Offset of object is incorrect.Resolution:
Fixed.I0000787 IT7.0 NT4.0 OPC calls SPC or SPC calls OPC.
Problem:
Start WindowMaker if go to Special/OPC/OPC Browse, the SPC Database will be called or if start SPC components under Special/SPC/, the OPC Browse will be started.Resolution: This problem is caused by conflicting between SPC menuId and OPC browser menuId. This problem is solved by changing SPC menuId from 2 to 5 instead of 1 to 4.
I0000842 $TimeString format not matching control panel AM and PM.
Problem:
sTimeFormat contains the time format according to windows setting. If it is not set then the default was being set to "hh:mm:ss." The default in GetProfileString is changed to "hh:mm:ss tt" to display AM/PM. GetProfileString (cname, "sTimeFormat", "hh:mm:ss tt", sTimeFormat, 20);Resolution:
Fixed.I0000843 PrintWindow won't print the Event Chart wizard.
Problem:
The print function was not implemented for Event Chart wizard object.Resolution:
The Print Functionality is implemented by overriding the base class PrintRuntime() virtual function for CEventChart .I0001520 Cross Reference is not reporting correct tag assignments in complex application, unless filter is explicit.
Problem:
This is happening because of problem in inserting tag information into taglist collection after reading from .NDX file.Resolution:
Fixed. Updated code in AddTagToList function of CTagXRef class.I0002152 ptSetCurrentPen is getting the wrong MIN and MAX EU for 16 pen chart display.
Problem:
ptSetCurrentPen ("16PenChartName", 1); should display Min Max range for pen1 and display on right of 16 pen chart but it's getting the Min Max for pen2 - Valid pens should be 1-16 but we must use 0-15 where 0 gets pen1 and 1 gets pen2 and so on till pen15 gets range for pen16.Resolution:
Fixed.I0005143 The key equivalents do not work if a windows control has the focus.
Problem:
The key equivalents do not work if a windows control has the focus.Resolution:
Fixed.I0005263 AlarmGroup.AlarmEnabled is not disabling events.
Problem:
Tag.AlarmEnabled does disable both alarms and events but Group.AlarmEnabled is only disabling alarms - it used to disable both.Resolution:
If an Alarm Group is disabled when logging alarm events, it is checked only if the tag is enabled or not. Instead, if the tag is enabled, we should keep checking if the Group to which it belongs, or any group in the hierarchy is disabled, then do not log the events for this tag.I0005767 Zooming out for 12457 days gives Application Error.
Problem:
The maximum limit for zooming is 12427 days, 13 hours, 37 minutes and 3 seconds. This has been implemented in the code as per fix for opus 5462 when the max limit was changed from 68 to 34 years.Resolution:
If startdate is found to be prior to 1st Jan, 1970 then a message box is displayed with appropriate message and the execution of retrieval and display of data is stopped.I0007046 Tagname Database - Creating topics of greater than 179 characters causes problems.
Problem:
Creating a access name and giving it a topic name greater than 179 characters causes a GPF and corrupts the tagname database.Resolution:
Fixed.I0007162 Scripts based on system time variables are not correct.
Problem:
Scripts based on system time variables are not correct.Resolution:
Fixed. While all of the $Time variables are being updated in the run time database, all notifications regarding changed tag values are queued. When the last $Time variable has been updated in the database, all the queued notifications are sent in the order they were recorded. This way scripts testing the value of one or more $Time variables will get valid synchronized values.I0008592 NETALARM sends red messages to WWLogger: /!DBacc_GetDiscrete - Could not create handle for "Temperature.HiSet."
Problem:
NETALARM sends red messages to WWLogger: /!DBacc_GetDiscrete - Could not create handle for "Temperature.HiSet." In this case, Temperature is a tag configured for showing alarms on alarm objects. The same message appears with three other dot fields, i.e., .HiHiSet, .LoSet and .LoLoSet, for this tag and also for other tags configured for showing alarms. This behavior is found in InTouch 7.0-SP2-Patch02-Build 7,0,209,0920 on Windows NT 4.0, SP5, IE5.Resolution:
Fixed.I0009157 Dr. Watson error occurs when the level of undo in WindowMaker configuration is made to one.
Problem:
Dr. Watson error occurs when the level of undo in WindowMaker configuration is made to one.Resolution:
Fixed.I0009158 Dr. Watson error when trying to modify the existing alarm group name in the alarm properties dialog.
Problem:
Dr. Watson error when trying to modify the existing alarm group name in the alarm properties dialog.Resolution:
Fixed.I0009182 Accelerator keys are duplicated in Cross Reference Search dialog.
Problem:
Accelerator keys are duplicated in Cross Reference Search dialog.Resolution:
Fixed.I0009215 Window in WindowViewer becomes 'transparent' after running application for a while.
Problem:
Two check boxes in the cross ref search criteria dialog had same accelerator keys.Resolution:
Changed the accelerator key for "Usage in Quick Function" to "Alt + F" from "Alt + Q."I0009463 Dragging popup window and pressing Ctrl/Esc locks InTouch.
Problem:
Dragging popup window and pressing Ctrl/Esc locks InTouch.Resolution:
Fixed.I0009488 InTouch 7.0 NT4.0 Document Viewer: Could not load View32w.dll.
Problem:
InTouch 7.0 NT4.0 Document Viewer: Could not load View32w.dll.Resolution:
Fixed. The fix introduces a variable keeping track of the handle of any window being dragged in VIEW. If the application is about to be inactivated by Ctrl-Esc or if the dragged window is about to be hidden by a script, then a WM_LBUTTONUP mouse event is sent for the dragged window.I0009499 Changing groups causes other (non saved) changes to tag to be lost.
Problem:
The problem was, that the contents of the dialog controls were not extracted before executing the GetGroup function, and upon return the dialog was refreshed leading to the loss of recent changes. Same problem existed when toggling the different subdialogs using the radio buttons on the top.Resolution:
The fix for both problems was to add a call to the ValidateOnDone function, which extracts and preserves the contents of the controls without actually saving them.I0009585 If $LogicRunning is set to 0 in the app startup script, you cannot set it back to 1 at runtime.
Problem:
If $LogicRunning is set to 0 in the app startup script, you cannot set it back to 1 at runtime.Resolution:
Fixed. The fix includes a new static variable which allows the application startup script to run only once when the application is initially started.I0009695 It appears that DB was initialized when SPCPro attempts to connect to invalid DB.
Problem:
The Application Startup Script runs every time when startlogic is selected in viewer or $logicrunning is set to 1.Resolution:
The fix includes a new static variable which allows the application startup script to run only once when the application is initially started.I0009696 Error messages are displayed in the WWLogger when creating a new SPCPro database.
Problem:
Error messages are displayed in the WWLogger when creating a new SPCPro database.Resolution:
Fixed.I0009719 After ACK alarms are not sorted properly if "New alarms appear at Top of List" is checked.
Problem:
After ACK alarms are not sorted properly if "New alarms appear at Top of List" is checked.Resolution:
Fixed.I0009745 The InTouch log-on dialog is not app modal - falls behind InTouch popup windows.
Problem:
The InTouch log-on dialog is not app modal - falls behind InTouch popup windows.Resolution:
Fixed.I0009751 Alarm record doesn't have the Date and Time showing after several Advise and Unadvise of alarms.
Problem:
Alarm record doesn't have the Date and Time showing after several Advise and Unadvise of alarms.Resolution:
Fixed. Converted wntime to system time and again to file time. Then added 1 millisecond using 64 bit arithmetic on it.I0009757 Hot Fix for white screen adds white ring around samples after corrective action is entered.
Problem:
Hot Fix for white screen adds white ring around samples after corrective action is entered.Resolution:
The problem of white rings around samples after corrective action was because of the part of the source code that was not creating trouble before one of the four handle leaks fix made in a previous bug.I0009794 OnShow script does not write value to Excel spreadsheet.
Problem:
OnShow script does not write value to Excel spreadsheet.Resolution: The cause of this bug is that poking data before the connection is up. When connection is up, poke data again.
I0009822 Doing "ACK $System;" or "$System.ack=1;" from any ActiveX event script gives "Assertion Error in vudraw.c Line1175."
Problem:
Doing "ACK $System;" or ""$System.ack=1;" from any ActiveX event script gives "Assertion Error in vudraw.c Line1175 - only happens if Standard alarm display configured to show history is visible.Resolution:
Fixed.I0009825 SPCRecalculateCP DDE Item in 7.0SP2-Patch03.
Problem:
SPCRecalculateCP DDE Item in 7.0SP2-Patch03.Resolution:
Fixed.I0009831 WindowViewer not restored to maximum size.
Problem:
When a new instance of WindowViewer is started, it checks to see whether any other instance of WindowViewer is already running. If there is, then it brings the existing View window to the foreground (using SetForegroundWindow() function call), shows its window (using ShowWindow() function call) and then exit this new instance of view.exe. But the ShowWindow() function call was using the SW_RESTORE flag. It is recommended to use the SW_RESTORE flag only when the corresponding window is iconified.Resolution:
Fixed by calling ShowWindow() function only when the earlier instance of WindowViewer is minimized. If the view window is not minimized then bringing the previous view window to the foreground using SetForegroundWindow() function call is enough.I0009832 WindowMaker not restored to maximum size.
Problem:
The reason behind the application error is alarm wizard object uses hard coded WindowMaker class name "Wmak Class." Since the name is modified in the resource file to reduce the probability of other windows using this name alarm wizard object fumbles. This problem is sorted out by backing off the change made to the WindowMaker class name.Resolution:
Fixed.I0009876 Opening and closing a window with text boxes on it leaks memory.
Problem:
This is happening because of each text box with the same name. It is assumed that in the code that, each box will have different name.Resolution:
Fixed. The code is modified to create new object (CDispatchInfo) only when the object does not exist in the system with the same name.I0009942 Error cache record XXX deleted but query record not marked as terminated in ALMBUFUSAL.
Problem:
You get the following error at the WWLogger when you have Client and master and you close View on the Master (Client switches to local alarms) and Master comes back (Client switches to Master). Error cache record XXX deleted but query record not marked as terminated in ALMBUFUSALARMADDED.Resolution:
Commented out debug message.I0010037 For Distributed Alarm Object, Dot Field ".RowSel" does not highlight the correct record when its value is set to -1.
Problem:
The problem was because of the wrong algorithm used to select the highest priority alarm to be highlighted.Resolution:
Fixed. Modified the algorithm.I0010077 Wizards - The 'Embossed' radio button field has initial focus in the Single Frame Wizard property dialog.
Problem:
The 'Embossed' radio button field has initial focus in the Single Frame Wizard property dialog even though the Raised radio button is the one that is selected by default. The Raised radio button should have focus.Resolution:
Fixed.I0010106 Double click on the Script in the InTouch Explorer whether its application script or condition script the popup window open twice.
Problem:
Double click on the Script in the InTouch Explorer whether its application script or condition script the popup window open twice.Resolution:
Fixed.I0010155 HistData creates CSV files which are 1 hour off if DST box is selected.
Problem:
HistData creates CSV files which are 1 hour off if DST box is selected.Resolution:
Fixed.I0010170 Attempt to convert Data Change Script with a remote tag for "Tagname[.field]" text field, results in appending unwanted dot field.
Problem:
The problem was due to an uninitialized automatic variable "fldType," in file "scrptdch.c."Resolution:
The problem is fixed by initializing the fore-mentioned variable appropriately.I0010221 Historical Trend Chart displays incorrect data if range includes midnight and DST is checked.
Problem:
Historical Data is not displayed properly when the time interval to display in the chart includes midnight.Resolution:
Fixed.I0010385 Hist Trend is blank if the window is closed while the trend is updating.
Problem:
The problem related to closing a window containing one or more Hist Trend objects before finished updating. The next time this window was opened, the trend chart was black.Resolution:
Ported codes from IT Japanese 6.0.I0010430 AlarmBuf /!ERR idxDestItem [-1] out of range of hpItemArray.
Problem:
When accessing alarms from a remote node the SummaryList, HistoryList, GroupList of the provider are stored in the provider record. If the DAO in the local node is no longer querying a remote node then provider's Summary list, HistoryList, GroupList are flushed. The flushed records are put in the available list. During this the prev pointer of the nodes in available list always points to the head node of the 'active' list. If the DAO again queries the remote node, again the available list index to the first available node 'idxFirstAvailNode' gets improper value. This results in the logger messages.Resolution:
Previous node is set as null instead of always pointing to active lists head.I0010435 Valid calls to Quick Functions are not validated.
Problem:
Valid calls to Quick Functions are not validated.Resolution:
Fixed.I0010443 COM port needs to be initialized before InTouch can write to it.
Problem:
COM port does not need initialization. But bug reported in CR I0006492 exists. If you set Alarm Print setting on COM1 and DON'T connect any printer, you cannot shut down Viewer and get WWLogger message "Failed to properly stop alarm printer thread."Resolution:
When a printer is not connected and a WriteFile is done then the thread hangs. So while shutting down Viewer terminate the printer thread using TerminateThread function.I0010494 Trend curve for one tag is not displayed.
Problem:
Initialization of recnums array in ReadStreamNextBlk() function is not correct.Resolution:
The recnums array is initialized with the correct record numbers from next block.I0010501 WWNHIST.DLL - HistData data is taken increments 1 hr more each day for data taken.
Problem:
WWNHIST.DLL - HistData data is taken increments 1 hr more each day for data taken.Resolution:
Fixed.I0010544 Records randomly missing in the CSV file.
Problem:
Records randomly missing in the CSV file.Resolution:
Fixed.I0010595 IOSetItem does not work when "Access Name" is set to empty string.
Problem:
IOSetItem does not work when "Access Name" is set to empty string.Resolution:
Fixed.I0010684 The Hist Trend does not display the values for 1 tag.
Problem:
In IOSetItem() function, the condition Access Name is NULL and Item Name itself having a "." is not taken care.Resolution:
Fixed. Code is modified such that for the above condition item name is prefixed with a "." (period).I0010735 Accelerator keys are duplicate in: Special - SQL Access Manager - Bindlist & Table Template menu.
Problem:
Accelerator keys are duplicate in: Special - SQL Access Manager - Bindlist & Table Template menu.Resolution:
Changed Accelerator key for Table Template to the letter T.I0010812 Accelerator key for "Alarm Type" property does not work in Distributed Alarm Display Object ->Alarm Configuration ->Message tab.
Problem:
ALT + A does not toggle the Alarm Type in the Distributed Alarm Display properties page, message tab window.Resolution:
Accelerator key has been changed to ALT + Y.I0010821 HistData doesn't retrieve values correctly.
Problem:
The condition ($Minute MOD 10) script uses following to write to CSV file.After midnight change HDWStartDate will have the value of current day. Since current day trend is not available at the time specified by HDWStartTime, the CSV file does not have any values.
Resolution:
Fixed, instead if HDWStartDate=StringFromTime($Date*86400 + $Time/1000 -960,1) is used, it will write the values for all tags.I0010887 X, Y location changes when scrolling in WM.
Problem:
The client area of window maker is not recalculated after a window is closed. Due to this other windows in the client area are not moving to correct coordinates.Resolution:
When any window is closed in maker, the client area is recalculated by calling NotifyMDIClientRecalc () function.I0010968 Data is shifted if retrieval includes midnight and also application error in HD.exe.
Problem:
This is happening because of miscalculation of current local time in the function CTagList::CurrentAvgMinMaxValueLocal(). The GMTOffset already included the correction to DST.Resolution:
Fixed, removed the addition of DSTcorrection in this function.I0011079 Closing and opening a Hist Trend window will cause the Historical trend to stop updating.
Problem:
Closing and opening a Hist Trend window will cause the Historical trend to stop updating.Resolution:
Fixed.