LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does LABVIEW7 convert RefNum to Variant? Is it different from LABVIEW6.1?

I have LV6.1 program that calls an ActiveX method with a variant input variable. The input is wired with a Reference Number to an object. Without conversion, this program worked unti I upgraded to LV7.0. After the upgrade, the wire was broken. There was no problem with re-wiring but now the program is not working. I used the To-Variant conversion tool but the program is still not working. I wonder if LV7.0 is backward compatible in reation to the conversion from RefNum to Variant. Is there similar cases regarding this matter?
0 Kudos
Message 1 of 2
(2,720 Views)
Hi,
I understand that you need information relating to variant input variables in LV 7.0 with a focus on reference numbers. There are several resources (knowledge bases and tutorials) on ni.com that may help you:

Typecasting ActiveX refnums in LV:
http://digital.ni.com/public.nsf/websearch/EFA054B18887779386256998004E456C?OpenDocument

Converting ActiveX variant data types:
http://digital.ni.com/public.nsf/websearch/CC1BE7AC3B5710F7862565BC006DE644?OpenDocument

General ActiveX/LV tutorial:
http://zone.ni.com/devzone/conceptd.nsf/webmain/5401BE584FBAEECE862567C2006D36C7?opendocument

The refnum to variant functionality should be backwards compatible for LV7.0. If the above resourses don't help, or I haven't addressed your issue as you expected, please l
et me know.
Thanks for contacting NI!

Marcus G.
National Instruments
0 Kudos
Message 2 of 2
(2,720 Views)