Showing results for 
Search instead for 
Did you mean: 

command reference changing in db tools

I have this odd thing happening where I have a 505 error generated when I close out a database connection. I probed around and found that the command reference changes when the wire passes into the case structure shown in the picture. Is this expected behavior?



0 Kudos
Message 1 of 4

Just a note on the 505 error - I was able to squash it by using the 'free object" vi on both command references as shown.





0 Kudos
Message 2 of 4

Can't tell from the pic, but it's possible that those probes were sampled at different times.

Since one is inside the case and one outside, it's possible the inside one was displayed, the next time through the loop the ref was different, and then you shot the pic.


Can you be sure that's not the case? 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 3 of 4

OK. I moved one of the database VIs outside the loop and it quit making new references.



0 Kudos
Message 4 of 4