取消
显示结果 
搜索替代 
您的意思是: 

Data base error

已解决!
转到解答

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 项奖励
11 条消息(共 15 条)
1,837 次查看

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 项奖励
12 条消息(共 15 条)
1,828 次查看

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 项奖励
13 条消息(共 15 条)
1,808 次查看

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 项奖励
14 条消息(共 15 条)
1,805 次查看

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.

15 条消息(共 15 条)
1,720 次查看