09-26-2014 03:52 AM
Hello,
i wrote a 32bit application which i'm porting to 64bit now and stumbled across a problem with the graph control.
The Graph axsis are set to editable so that the user can change the axis range manually at runtime. The 32bit version has no problem here, but the 64bit version is crashing with a general protection fault at the source line with RunUserInterface().
Is there a compiler option/value or something i should be aware of when swithing to 64bit that should be set?
Or is this just a problem with the code of the control?
I tried it with LabWindows v13.0.2 (278) and v13.0.1, running under Windows 7 64bit.
Thanks.
09-29-2014 03:01 AM
Hello, danouj!
Thank you for reporting this issue to us!
However, information you provided is still unsufficient for us to determine the background of this bug.
Please also provide the following details, so that we can identify the issue and investigate whether a workaround for this problem exists:
Best regards,
- Johannes
09-29-2014 05:39 AM
Hello, Johannes
i created a new application with just a Graph control on a panel to test. Compiled for 32 bit no problems. Compiled for 64bit the error occures.
FATAL RUN-TIME ERROR: "main.c", line 50, col 5, thread id 0x00001B6C: The program has caused a 'General Protection' fault at 0x00000000685D5C33.
Bottom and Left Axis Autoscale is unchecked, Editable graph axis is checked. Changing the range at runtime (double clicking the graph axis) causes the error.
Thanks and best regards,
Daniel
10-15-2014 08:11 AM
Hello Daniel!
It seems that the the issue you are experiencing is a CVI 2009 bug.
The problem seems to reproduce only on 64-bit, in the CVI Run-Time Engine.
At the moment, the only available workaround for this issue is to submit the axis value by pressing <Enter>.
Submitting the value as a consequence of clicking the graph will generate the GPF on 64-bit and will cause the application to crash.
We have filed this issue under ID #498979, so you can monitor the progress of the fix in an upcoming version of CVI.
Thank you, Daniel, and sorry for any inconvenience!
- Johannes