08-05-2019 09:45 PM
Good afternoon friends, please help with a problem. I am acquiring information from a database with password and several tables, created in Access 2016. The UDL is configured from the same VI through a constant string. When executing the VI, the program correctly acquires the information from the database and complies with what is programmed. The problem occurs when you stop the program and start it a second time. The VI closes immediately and the following error message is indicated:
Exception: Access violation (0xC0000005) at EIP=0x503A704A
Version: 19.0 (32-bit)
Possible Cause: C:\Program Files (x86)\National Instruments\LabVIEW 2019\vi.lib\addons\database\Connection.llb\DB Tools Open Connec (String).vi
Because of this error, the program closes and when restarting LabView the same program can be executed correctly once, falling into the same problem when trying to test it for a second time. This is generating a headache to continue my development.
Initially I thought that there is some error in some part of the programming, but to verify it I reduced the tests to a basic DB of acquisition of DB, sampling of tables and closing the DB. Now I see that the error remains the same. Please, help me by indicating what the problem may be, I reinstalled LabView 2019 in 32-bit version but the problem persists. I attach an image of the basic DB acquisition and the error.
08-08-2019 08:29 AM - edited 08-08-2019 08:29 AM
I have LabVIEW 2012 so i can't open your vi. And i do not really have any good suggestions.
But could you try to do a mass compile on the LabVIEW DB-tools.
(Directory C:\Program Files (x86)\National Instruments\LabVIEW\2019\vi.lib\addons\database)