From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data base error

Solved!
Go to solution

Hi wtsos,

 

Did you check the VI attached in the answer? if you are getting a different error that was not solved with the VI methodology you can post a new message with more information about your error (your current VI, screenshots or a good description of your error message, details of your system, etc) so we can help you in a better way.

 

Eric NI

0 Kudos
Message 11 of 15
(1,415 Views)

HI Eric

my error is: error 1 occurred at "NI_database_API.lvlib:Connget data.vi"
possible reason(s):  Object 0x000000 is not valid.

0 Kudos
Message 12 of 15
(1,406 Views)

Hi wtsos,

 

Did you check the connection settings? Is the database available from your computer? What database examples did you check and failed? What kind of database are you tring to access? Have you checked the username and password are correct and have priviliges to access the DB?

 

Regards,

 

Eric NI

0 Kudos
Message 13 of 15
(1,386 Views)

Watch the connection references.  Certain situations the NI Database VI's will corrupt that reference (comes out as 0x11111111 or something, been a while since i've worked with 'em). 

0 Kudos
Message 14 of 15
(1,383 Views)

Hi the solution was not use a for loop!

Really the point is that if using a loop to pass a connection refernce it is necessary to use a shift register or a GV but not just pass the connection through a tunnel.

Message 15 of 15
(1,298 Views)