LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ctrl val get reference returns refnum of zero

Solved!
Go to solution

I am using 'ctrl val get' in a vi.  The value it is getting is a cluster of references, the references are being returned all with a value of zero.  Is there a prohibition against using 'ctrl val get' with references?

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 1 of 5
(2,853 Views)

I have done similar and it worked.

 

Wire through your error cluster and look to see if there is an error code to give you more info.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(2,847 Views)

Yes the error is an invalid object error 1055

 

I have posted the error screen shot.  It refers to the property node but if I probe the cluster it shows all refnums => 0 are zero

 

(screen shot has the same name, but it's updated from the last one)

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 3 of 5
(2,841 Views)

It's a different problem, the ctrl get val seems to be working fine, the VI that the reference cluster is being called from has zero's for all of the cluster values.  So, I guess the question I should have been asking is, why all the reference values are 0 in this other vi.

-Regards

eximo
_______________________________________________
UofL Bioengineering M.S.
Neuronetrix

"I had rather be right than be president" -Henry Clay
0 Kudos
Message 4 of 5
(2,836 Views)
Solution
Accepted by topic author eximo

Adde a probe earlier to see whcih ref was invalid.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,835 Views)