Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Graph hangs while rotating under Windows XP & 2000

Has anyone experience this problem before? When using a mouse to rotate a
3D Graph from Measuremnt Studio 6.0 in Windows 2000 & XP, the 3D control
properly rotates the graph for a while, but it eventually becomes less
responsive & then stops responding. Odd thing is the app redraws except for
the 3D Graph. The app sometimes throws an exception & the system closes it.
The behavior does not occur when running under Win98SE. When running under
the VC6 debugger, I see this message in the output window:
First-chance exception in MyApp.exe (CW3DGRPH.OCX): 0xC0000005: Access
Violation.
My best guess is a DLL conflict of some kind related to OpenGL, but haven't
had any luck identify a specific DLL as the culprit.

Tha
nks for any help.

Matt R
Physical Acoustics Corp.
0 Kudos
Message 1 of 9
(4,157 Views)
Additional testing with our code reveals that turning off 3D cursors
eliminates the hang up. Also happens in the 3D Cursor example project if
modified to increase the number of cursors to 40, but it does not hang up
under Win98SE. Anybody have any ideas?
0 Kudos
Message 2 of 9
(4,157 Views)
Hello,
Does this happen on multiple computers? If so, please feel free to send a small example program that demonstrates the problem so that our engineers can take a look at it.

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 3 of 9
(4,157 Views)
Yes, we've had several customers complain about the problem & I've been able
to reproduce it under both Win2000 and WinXP. Attached is Cursors3D.zip.
It's a mangled copy of the VC Cursors3D example included in Measurment
Studio. Not sure exactly what controls the speed of the lock up. Takes a
while on my test computer, but one of our customers barely touches the graph
before seeing it. Thanks, Mika. Any feedback is appreciated.

"mfukuchi" wrote in message
news:5065000000050000002DCE0000-1042324653000@exchange.ni.com...
> Hello,
> Does this happen on multiple computers? If so, please feel free to
> send a small example program that demonstrates the problem so that our
> engineers can take a look at it.
>
> Mika Fukuchi
> Applicati
on Engineer
> National Instruments



[Attachment Cursors3D.zip, see below]
0 Kudos
Message 4 of 9
(4,157 Views)
Mika, any news? Did you download the example & try it?
0 Kudos
Message 5 of 9
(4,157 Views)
Hello,
Yes, I've tried it, and I see that same behavior. In addition, I saw that the graph was redrawn in a place that was actually out of the main dialog. I need to see the implementation of OnPaint function, but I need a little more time to do so...
0 Kudos
Message 6 of 9
(4,157 Views)
Hi Mika. It's been a week. Any news? Have you figured anything out or
passed my test project on to a programmer??

"mfukuchi" wrote in message
news:506500000005000000C5CF0000-1042324653000@exchange.ni.com...
> Hello,
> Yes, I've tried it, and I see that same behavior. In addition, I saw
> that the graph was redrawn in a place that was actually out of the
> main dialog. I need to see the implementation of OnPaint function, but
> I need a little more time to do so...
0 Kudos
Message 7 of 9
(4,157 Views)
I do not find this problem on my code that using 3D graphs and 3D cursors.

I run on XP-Pro and have a built app with these control embedded.
0 Kudos
Message 8 of 9
(4,157 Views)
I've found that it requires a higher number of cursors to show up. I'm able
to generate it with one of National's sample programs if I increase the
number of cursors to 40. Seems to be related to a memory leak associated
with the 3D cursor possibly due to updating it's text label. National has
acknowledged the memory leak & erratic behavior, but has not provided a fix.

"drval" wrote in message
news:5065000000050000007DE20000-1042324653000@exchange.ni.com...
> I do not find this problem on my code that using 3D graphs and 3D
> cursors.
>
> I run on XP-Pro and have a built app with these control embedded.
0 Kudos
Message 9 of 9
(4,157 Views)