Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

invalid page fault in module cvirte.dll

I have updated two old programs using LabWindows 7.0 which were perviously created with an earlier version of LabWindows. I am having problems though updating a third program. I get an error stating...

Characerization (the name of the program) caused an invalid page fault in the module cvirte.dll at 0167:684b77f5.

The operating system that I am installing these program on is Windows 95.

I'm not sure where this error is coming from but I'm assuming there might be a problem when I build with LabWindows 7.0 and install to Windows 95. But, the previous two programs updated before this one have had no problems at all. Any help is greatly appreciated.
0 Kudos
Message 1 of 4
(3,966 Views)
Hi,

Do you know at what point you get the crash? does it happens in debug mode too? the CVI run-time engine 7.0 is compatible with Windows 95, there should be no problem porting applications to Win 95.

The most important thing to find out is whether this problem has to do with the GPIB driver or the CVI applications. You may want to save to a file the functions that you are running to be able to spot where the program crashes.

Please post as much details as possible.

regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 4
(3,966 Views)
JuanCarlos,

Thanks for you help. Since I have been getting this error, we did some system monitoring and noticed that when the system crashes, the CPU is running at 100%. It also crashes during debug mode as well. I have been putting in break points to specifically find a location. What we have come down to is that its writes the test information to a file, but crashes when the file is recalled within the program to process some results. As far as GPIB drivers, everything is correctly installed and since we are using old ISA slots, I have made sure there are no IRQ conflicts.

The funny thing is...this exact program works perfectly fine on another station but crashes on this current station! We need both fully functional though.

Is there a
nything I should look for specifically to tell if its a GPIB problem? Anything specific for CVI problems?

Thanks for you help!

Paul
0 Kudos
Message 3 of 4
(3,966 Views)
Paul,

What function is the one causing the crash? Is it fopen? if you find that the specific function that is causing the problem is a file IO operation then we can forget about GPIB problems.

You may want to check if both machines are running the same service pack of Win95 there could have been some something that changed beteen releases.

Let me know how this goes.

Regards,

Juan Carlos
0 Kudos
Message 4 of 4
(3,966 Views)