LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Ref Num from LabVIEW to TestStand and back to Labview

I'm trying to pass a refnum from LabVIEW to TestStand that I need to keep and later use in other steps of the sequence, when I pass the refnum I first use a type cast, send it as string and I can store it in TestStand, I can get it back and then do the inverse process and I can use it in LV,
 
there are sometimes where the refnum is for instamce 0x76200000, and  that the cast does not affect the string coversion for when  I get that back it is the same number, however I've noticed that sometimes the refnum is for instance 0x76300001, when I send that number to TestStand and then I get it back to LabVIEW the number gets affected and it returns a 0x76300000 which is a refnum I never create creating an message REFNUM NOT LONGER VALID, I've also checked that the variable is teststand is eliminating the Carry Return which may be the reason I cannot get the same refnum back to TestStand. I have also used "flatten to string" with the same result,
 
does anyone have an idea on what I'm doing wrong?
thanks a lot
 
vicente
 
 
 
 
0 Kudos
Message 1 of 2
(2,489 Views)
Never mind, I finally got it. thanks anyway
 
vm
0 Kudos
Message 2 of 2
(2,483 Views)