This root forum called Rusty Nails is for anything and everything related to hacking LabVIEW. Please use the subforums (Xnodes or VI Scripting) for specific issues.
Tags |
(This content has not been tagged yet)
|
![]() |
Dec 5 2007, 12:49 PM
Post
#1
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1168 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 know I have these weird questions all the time... This time I need to know what coding scheme for strictly typed VI reference connector pane flags. So I need to query using VariantDataType library the connector pane settings of strictly typed VI. The connector pane information is returned as an array of flags. Now I don't know the coding scheme of these flags. So does anybody know the meaning of these flags or do I need to reverse engineer them by myself? See the attached VI for details on how to retrieve these flags. ![]() Tomi
Attached File(s)
--------------------
|
||
|
|
|||
| Ad |
Dec 5 2007, 12:49 PM
Post
#
|
||
|
|
|
||
|
|
|||
Dec 5 2007, 03:08 PM
Post
#2
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1168 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
|
I've now done some research. Let's index the flag bits starting with zero from the most significant bit of the I16 flag.
EDITED Dec 5 2007, 15.17 GMT. Tomi --------------------
|
||
|
|
|||
Dec 5 2007, 07:37 PM
Post
#3
|
|||
|
Extremely Active Premium Member ![]() Posts: 688 Joined: 3-November 04 From: Boston, MA Member No.: 949 Using LabVIEW Since:1999 LV:7.0 ,8.20 ,8.0
My Gallery
|
I believe you are correct for bits 0-7.
I created a simple VI typedef with 10 terminals, an error in and an error out connected on the BD. As I moved the Error In input from terminal to terminal, the least significant bits changed in my Error Out flags to the index of the Error In flags in the array. As I changed the number of terminals, the number of bits increased as I placed the Error In at the top-left terminal of the pane. When I used more than 12 terminals, the least significant bits went to zero. The only thing I changed was the number of terminals and I let LabVIEW automatically reassign the positions. I did not see any other flag bits change when using > 12 terminals. --------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 10:18 AM |