LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i have made one application where i am using visa

.the application program is running fine but the problem is this when i am running exe file it is showing a error lvrt.dll memory accsess violation.same exe is working fine if i make my visa resource name to constant in the application.what is the problem?i have made one application where i am using visa.the application program is running fine but the problem is this when i am running exe file it is showing a error lvrt.dll memory accsess violation.same exe is working fine if i make my visa resource name to constant in the application.what is the problem?
0 Kudos
Message 1 of 3
(2,529 Views)
.the application program is running fine but the problem is this when i am running exe file it is showing a error lvrt.dll memory accsess violation.same exe is working fine if i make my visa resource name to constant in the application.what is the problem?If you are **absolutely sure** that the non-constant version of your program is sending the same VISA resource name as the constant version, this sounds like a bug. Have you talked to NI about it?

In the version that isn't using a constant to hold the VISA resource name, where are you getting the value from? Setup file? Are you sure you are getting the right name?

One thing you can do in situations like this is do a special build where you set LV to not remove the front panel for the VI that is making the VISA call ("VI Settings" tab in the app builder). Alternately, you could set the subvi to open it's frontpanel when it's called. Either technique allows you to see the value being passed to it in the executable.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,528 Views)
.the application program is running fine but the problem is this when i am running exe file it is showing a error lvrt.dll memory accsess violation.same exe is working fine if i make my visa resource name to constant in the application.what is the problem?okay i will try it.but the problem i was facing is solved.i have just upgraded labview6i to labview6.0.2 from ni site.now the exe is running fine.
0 Kudos
Message 3 of 3
(2,529 Views)