LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PlotY function causing "general protection fault" in cvirte.dll

As far as I can remember, we were able to plot the data set provided with the example when we unchecked the graph control "auto division" checkbox in the uir editor.
But I think fred found another dataset that crashed even without auto division.

Will you wive me the dll so that I can test it before the final release ?
When will this release be released ?
I need to provide a stand alone executable for soon.

Pierre
0 Kudos
Message 11 of 21
(1,567 Views)
Luis - Did you find something that might explain why it crashes on some platforms but not on others?
0 Kudos
Message 12 of 21
(1,568 Views)
Pierre,

Since you mentioned earlier that you were already signed up as a beta user, you can go ahead and replace the cvirte.dll you have in your windows/system folder with the one I'm attaching here -- but back up the existing one first.

Your existing programs should run okay with this, and you should be able to make sure that you don't get the crash any more.

Luis
0 Kudos
Message 13 of 21
(1,568 Views)
I can't know for sure why the problem doesn't happen for you. But it's not completely unexpected. Since this was a memory corruption problem, and the amount of memory that was corrupted was a single byte, this could have gone undetected for years (as it actually did) without causing a crash. It all depends on how "sensitive" the location of the overwritten byte was. And this could easily be affected by factors that are machine dependent.

- Luis
0 Kudos
Message 14 of 21
(1,568 Views)
I changed the precision to digits and it runs fine now.
Thanks for the trick.

Pierre
0 Kudos
Message 15 of 21
(1,510 Views)
I used the dll in my project directory, and all the messages on the buttons are messed up.

So I tried to install the .msi provided in the beta release, but even if it says that the install is complete, there is nothing installed ??

Can you help on this point too ?

Pierre
0 Kudos
Message 16 of 21
(1,568 Views)
I'm not sure I understand your situation fully, but here goes.

The standard location for cvirte.dll is in the windows/system32 folder. The only reason you would want to put the dll in the project directory is if you don't want other projects to use this build of the runtime. You might already realize that, so that's fine. However, in that case, you also need to copy to the project directory the entire contents of the cvirte folder that is in the windows/system32 folder. And the contents of this folder need to be compatible with the version of cvirte.dll -- in this case, that means that you need to get it from a CVI 7.1beta installation.

So, speaking of the beta installation, are you
saying that you haven't yet been able to install it at all? Or are you trying to modify an existing installation?

Luis
0 Kudos
Message 17 of 21
(1,568 Views)
ok, so the cvirte folder is missing.

Eventhough, I'm trying to install only beta 7.1 cvirte (so not the full cvi package) on a machine that has never seen any NI related software.
And after the install, there is nothing : no cvirte.dll, no cvirte folder in windows\system32.
When I launch once more time the RTE installer it allows to choose between reinstall repair and uninstall. The soft thinks that everything is installed.

However, as you said, the bug is not fixed in beta 7.1.
So I'll stay still until the 7.1 final release comes out (any idea ?)

Well I won't stay still : tomorrow I'll start a thread on the RS 232 com port callback and buffer size 🙂

Thank you for y
our efficient support.

Pierre
0 Kudos
Message 18 of 21
(1,568 Views)
You refer to a 7.1 beta RTE installer. There really isn't a 7.1 beta RTE installer. Only an installer for the full package. (This is the installer you get when you go to ni.com\beta and follow the links to "Download Beta Software"). This installer is supposed to install the entire CVI 7.1 beta package. If it works (which it should) it will create the cvirte folder in windows\system32, plus all the other stuff.

In order to use the file that I attached here earlier, you need to use it in a machine where you have already installed this full 7.1 beta package. It's a patch for the beta, basically, which should then fix this bug.

Are you saying that you cannot run the fu
ll 7.1 beta installer successfully. Or did you really mean that you were trying to install something else? If so, what exactly is it, and where did you get it?

Luis
0 Kudos
Message 19 of 21
(1,568 Views)
I'm trying to install no_SDK_CVI71Beta\Components\RTE\CVIRTE.msi only

so as not to mess up the rest of my release 7 install.

Pierre
0 Kudos
Message 20 of 21
(1,568 Views)