LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lvapp.rsc problem

Hello all and happy new year,

I am stuck in a strange problem, if any body would suggest reason or solution i would be grateful.

I have developed a application in which i take data from DB and do communication with a device on serial.

The application is running on numerous different PC without any problem. But recently there have been a issue.

The memory usage of the Application increases and after some time it is not responsive. On other PCs it is working perfectly OK.

It does not let me end process from task manager also, i have to restart the PC.

When i uninstalled the drivers (LV runtime and visa drivers) lvapp.rsc would not let me uninstall the applciation and when i restarted the PC i uninstalled the app.

Can any body suggest anything?

Regards,

0 Kudos
Message 1 of 7
(4,053 Views)
So, are you asking about the uninstall problem or the increasing memory? The topic implies that you just care about the uninstall. After the uninstall, can we assume you reinstalled the app? Did the problem go away? If you still see memory issues, are you connecting to the db and serial port only once? Are you using the build array in a loop? Anything unique about the problem pc such as the os? Can you attach your code?
0 Kudos
Message 2 of 7
(4,035 Views)

My issue is for increasing memory usage and increase in execution duration of a loop. I tried to reinstall just for the sake if the runtime and visa runtime are installed properly.

 

The same exe is running on different PCs and they are working fine. This particular PC is Windows 7, 64 Bit and 8GB RAM. I have created the application in LV 2009.

 

For DB and Serial connections, i am opening it and closing it every time.

 

Regards,

 

 

 

0 Kudos
Message 3 of 7
(4,001 Views)
Opening and closing references to the database and serial port is not at all recommended. Change it to open /close each one once and see if your problem goes away.
0 Kudos
Message 4 of 7
(3,992 Views)

I tried with no help in one time opening and closing the port.

 

Please suggest one of the better way in the attached image.

0 Kudos
Message 5 of 7
(3,948 Views)
For the resource name and a while loop, either the shift register or direct tunnel method will work just fine. It does make a difference with the error wire and how you handle the errors. I tend to use shift registers for both wires and with both while and for loops.
0 Kudos
Message 6 of 7
(3,927 Views)

sorry for late reply, i kindof(testing is going on) got the problem.

 

Where ever i am using PCI to multiple serial card, i am facing problem. The cards are giving problem if i am using the serial ports at the same time.

 

Regards,

0 Kudos
Message 7 of 7
(3,835 Views)