LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA name created again

Hi ,

 

Please find the attached snap shot , in this VISA name/resource name is creted again every time when I execute. why this is happenning , how to avoide this.Visa address.png

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

I can't see all of your code in the snapshot given, but if you do not close the reference, this will result in what you are getting.

 

niDMM Close.png

Message 2 of 4
(2,564 Views)

Agreed.  Not closing the reference is the only time I have seen this.  Each of those resource names are clones to the same hardware, just different references to it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(2,535 Views)

......unless, of course, the vi aborts abnormally before it gets to the 'close reference', then the reference will be left hanging.

 

But again, without seeing the full code it is difficult to be sure what is happening.

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