LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvrt.dll error?

Hi,
 
It's been more than 2 weeks now that I have the same problem. I send an e-mail to the support engineer a week ago and they still didn't answer me, I'm stock and I don't know what to do. I'm not going to attachment my whole project here but the error I get is "nids.dll" error. I've try to know exactly where and when the error happens. I think I found a part of my code where is the error, because if I take off this part, my project seems to work well. This time the error is "lvrt.dll" (see attachment for the bitmap). The code is really simple and I don't know why it's doing this error. What I did to have the error is changing the value of the alarm1, then read the database and stop it. The error happens when I click on the X to close it. In this small program, the error is not really serious because it's at the end, but in my whole project, if there's a new alarm and I click on a boolean button to change the page, I get this "nids.dll" error and my project stops.....
 
On my computer, I have only LabVIEW runtime 8.0 and LabVIEW DSC module RTS 8.0.
 
Also, I would like to know when we have to check the Enable Enhanced DSC Runtime Support in the Advanced tab when we build an executable?
 
I hope someone will find a solution because I don't have any other idea how to solve this
Thank you very much
Stephanie
 
 
P.S. I've already try to upgrade the version to 8.0.1 and it's changing nothing
 
Download All
0 Kudos
Message 1 of 13
(13,865 Views)

Do you think it's because of the "filter input"?!

If I take it off, it looks like I don't have the error when I close the window. But I need this filter because I want to show only a period of time (last 24 hours).

 

I'll do other tests tomorrow..

Stephanie

0 Kudos
Message 2 of 13
(13,853 Views)

Hi again lol

I did some tests today and I can see that the error is intermittent. So I don't know exactly when the error happens.

I guess if nobody answers me yet it's because you can't reproduce the error... I'm desperate! Smiley Sad

I don't know if this error (lvrt.dll) is the reason why I have an error in my project (nids.dll).  Maybe I forget to download something? Maybe I forget to enable something?....

 

Sorry if I'm annoying,

Thank you

Stephanie

0 Kudos
Message 3 of 13
(13,843 Views)

Hi Stephanie,

We've been trying to get it to fail over on our end, so far without success.  (This is also NIWeek, our annual user conference, so most of us are out teaching classes and running demonstrations this week)  One wrinkle that we may be hitting is that our test machine has both LabVIEW and the LabVIEW run-time engine installed on it, so it may be a problem with the installation of the DSC run-time system.  First thing I'd check is that you have the 8.0.1 version of both the run-time system for DSC (RTS) as well as the LabVIEW Run-Time Engine (RTE).  We've seen intermittent run-time issues like this when the RTE is 8.0.1 and the RTS is still 8.0, and the easiest way to verify and fix this is to install the 8.0.1 maintenance release for DSC on your target machine as well as the development machine. 

The latest version of DataSocket, which is controlled by the nids.dll file that is showing the problems with your full application, is installed with the LabVIEW Run-Time Engine.  Incidentally, the run-time engine is controlled by a DLL called lvrt.dll.  This leads me to believe the installation of the RTE, RTS, or both, has been corrupted and needs to be reinstalled on the machine. 

The "Enable Enhanced DSC Run-Time Support" option when building an executable should be chosen when you access any of the DSC features in your application, such as logging to the Citadel database, using alarming and scaling on shared variables, etc.  They will not function properly in your application if this support has not been enabled.

To recap, I haven't been able to reproduce the issue on my machine or my test machine, but given the type of error that you're experiencing, a reinstallation of the 8.0.1 versions of the RTE and RTS may solve the problem.  First, rebuild your application with Enhanced Run-Time Support enabled, then if this fails, perform the reinstalls.  This will likely clean out the problem for you.

Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 4 of 13
(13,823 Views)


@Peachy wrote:
 
-- snip --
 
Also, I would like to know when we have to check the Enable Enhanced DSC Runtime Support in the Advanced tab when we build an executable?
 
-- snip --
 

Hello Stephanie,

While it won't hurt to enable the enhanced DSC runtime support whenever you are using DSC features in your project, the only time you MUST enable it is when you are programmatically modifying library files using a refnum (the green one) or programmatically deploying/undeploying libraries.  The rest of the DSC features will work without the enhanced support.

Regards,
Robert
0 Kudos
Message 5 of 13
(13,813 Views)
Thank you Matt and Robert,
 
I was wondering why I was able to create a database, and view the process list, and get the shared variable list without using the DSC support.
 
I tried to enable this feature using only the Alarm and Event query.vi in my code but I had this "LABVIEW.LIB was not called from a LV process" error...
 
I'll try to upgrade LabVIEW runtime and LabVIEW DSC RTS to 8.0.1 again... It probably won't work, but I'll try again.
 
Good luck for the NIWeek! Where I work, we are the biggest sponser for this event, so I know that everybody works hard on it.
 
 
Also I was wondering why I get an answer from the application engineer to the lastest message I send to them? I send them 2 others e-mail before this one... do you think my e-mail get lost?
 
 
Thank you
Stephanie
0 Kudos
Message 6 of 13
(13,810 Views)


-- snip --
 
I tried to enable this feature using only the Alarm and Event query.vi in my code but I had this "LABVIEW.LIB was not called from a LV process" error...
 
-- snip --



Are you saying that you built an exectuable using this VI, but not using the enhanced support, and got that error message?

And I suspect that the support engineer who replied to your email just replied to the latest one.

Regards,
Robert
0 Kudos
Message 7 of 13
(13,800 Views)
I built an executable (see my first message, it's the same project) and I tried to enable the enhanced support and I got this LABVIEW.LIB error.
If I disable the support, I have only the lvrt.dll error when I close the executable.
 
And yes, I got an e-mail from Matt and he copy it here. Smiley Wink
 
 
Where can I download the last version (8.0.1) of the DSC RTS? On this page: [link removed] there's only the version 8.0 and version 8.0.1 is not there (and we can't download them). If I download LabVIEW runtime 8.0.1, is it going to change the version of DSC RTS too?
 
 
Thank you Robert,
Stephanie
0 Kudos
Message 8 of 13
(13,800 Views)

I'll try and take a look into this.  Is this the message where you initially talk about the error (http://forums.ni.com/ni/board/message?board.id=170&message.id=197777#M197777)?

It may be a day or so before I can get set up to test this.  Hopefully then I will be able to reproduce it.

Regards,
Robert
0 Kudos
Message 9 of 13
(13,789 Views)
Hi,
 
For my other post, with the DSC enhanced support I was able to deploy my library. I don't have this error anymore.
 
Now my problem (I guess) is because of the "Alarm & Event query.vi". If I take the VI off of my code, my whole project works well. But if I put it back, I get a "nids.dll" error. I tried to figure out why I had this error and when it happens and I think it's when it access to the database. I don't want to post my whole project here, that's why I send an e-mail to the support engineer.
 
Like I said to the support engineer, I take off a little part of my code (the attachment of my first message) to see if it was really because of the "Alarm & event query.vi" that I had this error. With this little code, now I have the "lvrt.dll" error. I don't know if these 2 errors are related, but maybe if I solve this "lvrt.dll" error, it's gonna take off my "nids.dll" error too...
 
If I have the LabVIEW DSC Module Run-Time System CD (version 8.0) how can I change to version 8.0.1?
 
Thank you very much again Robert for helping me.
Stephanie
0 Kudos
Message 10 of 13
(13,784 Views)