Check out our VI Scripting Code Repository Files and visit the LabVIEW Wiki VI Scripting article
Tags |
(This content has not been tagged yet)
|
![]() |
Nov 9 2007, 11:58 PM
Post
#1
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1184 Joined: 29-January 06 From: Helsinki Member No.: 4014 Using LabVIEW Since:2004 LV:8.5.1 ,8.2.1 ,7.1.1
My Blog
|
Hi All,
I was investigating the LabVIEW 8.5 variant type library. What caught my interest are five last items in the library namely
Just some questions that popped into my mind... Could someone help me to reverse engineer this issue. I'd really love to have my own reference types for my language extension... p.s. The VariantType.lvlib can be found under LabVIEW 8.5\vi.lib\Utility\VariantDataType Cheers, Tomi --------------------
|
||
|
|
|||
| Ad |
Nov 9 2007, 11:58 PM
Post
#
|
||
|
|
|
||
|
|
|||
Jul 7 2008, 09:07 PM
Post
#2
|
|||
|
<customize this text> Premium Member ![]() Posts: 1059 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
Hi All, I was investigating the LabVIEW 8.5 variant type library. What caught my interest are five last items in the library namely
Just some questions that popped into my mind... Could someone help me to reverse engineer this issue. I'd really love to have my own reference types for my language extension... p.s. The VariantType.lvlib can be found under LabVIEW 8.5\vi.lib\Utility\VariantDataType Cheers, Tomi User defined tags and user defined refnums are in fact quite like normal LabVIEW refnums. The Tag variant looks like a VISA resource and can have a text label that identifies the instance of the object. The refnum type looks similar to a file refnum. Those refnum types allow creating an object/method/event hierarchy using *.rc files in <LabVIEW>/resources/objmgr. The ultimate implementation of that object hierarchy has to reside in a DLL that exports certain functions that are defined in the according rc file. I believe they exist since LabVIEW 7.0 and some of the necessary methods for that DLL to interface to LabVIEW exported C functions seem to have been accidentially? documented in the LabVIEW 7.1 and 8.0 extcode.h file. Still trying to get something working here is a very tiresome exercise with lots of crashing and obviously involves external C programming. Rolf Kalbermatter
|
||
|
|
|||
![]() ![]() |
| Time is now: 8th January 2009 - 01:26 AM |