LabVIEW

cancel
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?

 

Tay

0 Kudos
Message 1 of 4
(2,402 Views)

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.

 

Tay

 

 

0 Kudos
Message 2 of 4
(2,390 Views)

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.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 3 of 4
(2,388 Views)

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

 

Tay

0 Kudos
Message 4 of 4
(2,380 Views)