10-26-2004 08:48 AM
10-26-2004 03:22 PM
10-27-2004 06:13 AM
10-27-2004 07:32 AM
10-27-2004
09:53 AM
- last edited on
07-11-2025
08:10 AM
by
Content Cleaner
There were two fixes made to cwui.ocx in Measurement Studio 7.0 that address issues with FillToBase that could possibly cause this behavior. I suggest that you update to the latest version of cwui.ocx and see if the issue still occurs. Please give this a try and let me know if it resolves the issue.
I doubt that this is related to the issue at all, but I suspect that your call to ZeroMemory is not doing what you intend it to do. When you pass plotData to ZeroMemory, your are invoking the cast operator, which is going to give you a pointer to the underlying data array, which is managed by
CNiScalarVector. The call to sizeof(plotData) is going to return the size of the CNiReal64Vector instance, not the length of the underlying data array. Incidentally, the size of the CNiReal64Vector instance is 20 bytes, while the length of the underlying data array is 1024 bytes. The default behavior of the vector, when initialized to a non-zero size, is to set all values to 0, so you do not need to do this explicitly anyway.
10-27-2004 11:18 AM
10-28-2004 09:39 AM
10-28-2004 10:09 AM
10-28-2004 10:27 AM
10-28-2004 10:54 AM