create the reference with the legend Info

Hello

I have on my side of a large number of controls, 152.

I have an array of items with a value of 152.

I want to load the values in the controls on the right. All controls have a legend with the same value as the index of the element.

Is it possible to load the values in a loop?

The element, get the reference and load the data via a property node?

So is my question possible to create a reference to a control by giving the caption of the control as input?

Suggestions are welcome, I would like to avoid to connect values 152 152 controls.

Thank you Kim

Kim,

The loop is the right idea.

You cannot create a reference to the legend.  You can get an array of references to all the controls in the Panel.  Then you can search the legend that corresponds to the one you want.  When you find a match, use this reference to write to a property value node.

Legends are easily changed.  It is probably best to use the label, which cannot be changed programmatically when the VI is on, for research and the match.  You can display the caption to the user and hide tags if it's better for the user interface.

Lynn

Tags: NI Software

Similar Questions

  • How to create the legend and graphic label using VBS

    Hello

    I scoured internet before that I resorted to my question here. I hope someone can answer my question.

    Using VBS, how can I create a legend of the channels used in the chart and the label of the axis in the chart? Thanks in advance!

    I managed to find a way to create labels...

    Call GraphObjOpen(D2AxisXObj(1))
            D2AxisXTxt = "@@ChnName(CurrChnNo)@@ [@@ChnDim(CurrChnNo)@@]" ' Defines the x-label
    Call GraphObjClose(D2AxisXObj(1))
    

    Now, to figure out how create the legend. If anyone can help me, it would be great.

    ... And now I feel like a fool outright.

    After scouring more, I managed to find what I need

    Call GraphObjOpen("2D-Axis1")
      '------------------- Swith legend on -------------------------------
      D2LEGDRAW        =1
    
      D2LEGTXTTYPE     ="Free text" ' "ChannelName" or other keywords
      D2LEGTXTFREE     ="My free legend"
    
    Call GraphObjClose("2D-Axis1")
    'redraw
    Call Picupdate()
    
  • Create the reference coordinate system

    ? Need help to dynamically create a reference guide.  Use the Vision Assistant these constant reference of basic places are created automatically. I can't find any real documentation of the code examples on how to do it dynamically.  See picture attached and the ZIP file for more details.  Thanks in advance!

    Label08.PNG must be perfect

    Label10.PNG will show flaws

    Locations of base generated by the Vision Assistant

    Run the sample code Label_GoldenTemplate_L8.vi

    This code illustrates the configuration and the use of the Golden dynamic reference coordinate system model inspection.  Template_L8.PNG was created from Label08.png.

    Update of the coordinate system: Location of Template_L8.png suitable for any image of the label. It's dynamic to each new image.

    Get the coordinate system: Location of the model when the patterns matched with Label08, png (reference). It is static for each image of the future label.

    Code is a bit "messy" because it was generated using NI Vision.

  • problem of traffic flow with tunnel created the network with a tunnel to a VPN concentrator

    Hi, I worked with Cisco and the seller for 2 weeks on this.II am hoping that what we are witnessing will ring a Bell with someone.

    Some basic information:

    I work at a seller who needs from one site to the other tunnel.  There are currently 1 site to another with the seller using a Juniper SSG, which works without incident in my system.  I'm transitioning to routers Cisco 2811 and put in place a new tunnel with the seller for the 2800 uses a different public ip address in my address range.  So my network has 2 tunnels with the provider that uses a Cisco VPN concentrator.  The hosts behind the tunnel use 20x.x.x.x public IP addresses.

    My Cisco router will create a tunnel, but I can't not to hosts on the network of the provider through the Cisco 2811, but I can't get through the tunnel of Juniper.  The seller sees my packages and provider host meets them and sends them to the tunnel.  They never reach the external interface on my Cisco router.

    I'm from the external interface so that my endpoint and the peers are the same IP address.  (note, I tried to do a static NAT and have an address of tunnel and my different host to the same result.)  Cisco has confirmed that I do have 2 addresses different and this configuration was a success with the creation of another successful tunnels toa different network.)

    I tested this configuration on a network of transit area before moving the router to the production network and my Cisco 2811 has managed to create the tunnel and ping the inside host.  Once we moved the router at camp, we can no longer ping on the host behind the seller tunnel.   The seller assured me that the tunnel setting is exactly the same, and he sees his host to send traffic to the tunnel.  The seller seems well versed with the VPN concentrator and manages connections for many customers successfully.

    The seller has a second VPN concentrator on a separate network and I can connect to this VPN concentrator with success of the Cisco 2811 who is having problems with the hub, which has also a tunnel with Gin.

    Here is what we have done so far:

    (1) confirm the config with the help of Cisco 2811.  The tunnel is up.  SH cyrpto ipa wristwatch tunnel upward.
    (2) turn on Nat - T side of the tunnel VPN landscapers
    (3) confirm that the traffic flows properly a tunnel on another network (which would indicate that the Cisco config is ok)
    (4) successfully, tunnel and reach a different configuration hosting
    (5) to confirm all the settings of tunnel with the seller
    (6) the seller confirmed that his side host has no way and that it points to the default gateway
    (7) to rebuild the tunnel from scratch
    8) confirm with our ISP that no way divert traffic elsewhere.  My gateway lSP sees my directly connected external address.
    (9) confirm that the ACL matches with the seller
    (10) I can't get the Juniper because he is in production and in constant use

    Is there a known issue with the help of a VPN concentrator to connect to 2 tunnels on the same 28 network range?

    Options or ideas are welcome.  I had countless sessions with Cisco webex, but do not have access to the hub of the seller.  I can forward suggestions.

    Here's a code

    crypto ISAKMP policy 1
    BA 3des
    md5 hash
    preshared authentication
    Group 2
    !
    crypto ISAKMP policy 2
    BA 3des
    preshared authentication
    Group 2

    Crypto ipsec transform-set mytrans aes - esp esp-sha-hmac

    Crypto-map dynamic dynmap 30
    Set transform-set RIGHT

    ISAKMP crypto key address No.-xauth

    interface FastEthernet0/0
    Description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE $ 0/0
    IP 255.255.255.240
    IP access-group 107 to
    IP access-group out 106
    NAT outside IP
    IP virtual-reassembly
    route IP cache flow
    automatic duplex
    automatic speed
    crypto mymap map

    logging of access lists (applied outside to get an idea of what will happen.  No esp traffic happens, he has never hits)

    allowed access list 106 esp host host newspaper
    106 ip access list allow a whole
    allowed access list 107 esp host host Journal
    access-list 107 permit ip host host Journal

    access-list 107 permit ip host host Journal
    107 ip access list allow a whole

    Crypto isa HS her
    IPv4 Crypto ISAKMP Security Association
    status of DST CBC State conn-id slot
      QM_IDLE ASSETS 0 1010

    "Mymap" ipsec-isakmp crypto map 1
    Peer =.
    Extend the 116 IP access list
    access - list 116 permit ip host host (which is a public IP address))
    Current counterpart:
    Life safety association: 4608000 kilobytes / 2800 seconds
    PFS (Y/N): N
    Transform sets = {}
    myTrans,
    }

    OK - so I have messed around the lab for 20 minutes and came up with the below (ip are IP test:-)

    (4) ip nat pool crypto-nat 10.1.1.1 10.1.1.1 prefix length 30 <> it comes to the new address of NAT

    !
    (1) ip nat inside source list 102 interface FastEthernet0/0 overload <> it comes to the interface by default NAT

    !
    IP nat inside source map route overload of crypto-nat of crypto-nat pool <> it is the policy of the NAT function

    !

    (6) access-list 101 permit ip 172.16.1.0 0.0.0.255 172.16.2.0 0.0.0.255 <> defines the IP source and destination traffic

    !

    (2) access-list 102 deny ip 172.16.1.0 0.0.0.255 172.16.2.0 0.0.0.255 <> does not NAT the normal communication

    (3) access-list 102 deny ip 10.1.1.1 host 172.16.2.0 0.0.0.255 <> does not re - NAT NAT

    (1) access-list 102 permit ip 172.16.1.0 0.0.0.255 any <> allows everyone else to use the IP Address of the interface for NAT

    !

    (5) crypto-nat route-map permit 5 <> condition for the specific required NAT
    corresponds to the IP 101 <> game of traffic source and destination IP must be NAT'td

    (7) access list 103 permit ip 10.1.1.1 host 172.16.2.0 0.0.0.255 <> crypto acl

    Then, how the works above, when a package with the what IP 172.16.1.0/24 source wants to leave the router to connect to google, say the source will change to IP interface (1).  When 172.16.1.0/24 wants to talk to172.16.2.0/24, it does not get translated (2).  When the remote end traffic equaled the following clause of NAT - the already NAT'td IP will not be affected again (3) when a host 172.16.1.0/24 wants to communicate with 172.16.2.20/24 we need a NAT NAT specific pool is required (4).  We must define a method of specific traffic to apply the NAT with a roadmap (5) which applies only when the specific traffic (6), then simply define the interesting traffic to the VPN to initiate and enable comms (7) corresponding

  • I created an object style to set the distance of the legend of my photos, but the distance is not consistent from one image to the image.

    I create a complex book with many images and chapters.

    I created the object styles to compensate for the distance the images for legends, but the distance changes according to how the image is adjusted within the framework and I don't know what dictates change. Anyone have any ideas?

    Thank you.

    I have not marked as correct answer because it is not related to what you have actually done, which has been reset to the scale. Your problem seems to come from having defined preference generally by climbing, adjust the percentage.

    Frankly, I think it is a bug.

  • Need help to create a document with shapes that will prevent the end user from editing.

    I am a small business owner and I want to create estimates for my clients who are attractive and easy to understand. My dilemma is this: I need to have forms in the document - my employees need to enter the name/address/price info etc for each customer. This is not a problem as long as I print the document - but I wish I could so by e-mail. Is there a way I can create a PDF with forms that my employees can complete and that same PDF sent to the client without the client view/edit fields? I was hoping I could save it in a different format that won't allow editing? I tried to use the read-only option, but keeps my employees to fill out the required fields before he gets to the customer.

    After completing the forms, you can flatten the file that allows you to convert the

    fields of form to static content.

    You can use a tool like this for this purpose:

    http://www.UVSAR.com/projects/Acrobat/flattener/

    Friday, January 23, 2015 23:51, christ63596384, [email protected]>

  • Create the installation of XP virtual computer which is the dual boot with Win7

    Hiya

    What is the best way to achieve this please - I can't find a definitive answer anywhere.

    I give myself a choice at startup if using Win7 or XP (default) - I'm afraid I don't remember who was loaded first.

    Any OS is chosen ends up as the C drive.

    I am running XP now and the boot.ini on the C drive only made reference to a BONE, so consider Win7 installation deals with startup ()? :

    timeout = 30

    default = multi (0) disk (0) rdisk (0) partition (2) \WINDOWS

    "multi (0) disk (0) rdisk (0) partition (2) \WINDOWS="Microsoft Windows XP Professional "/ noexecute = OPTIN/fastdetect

    I tried just to run XP Converter to create a virtual computer from the installation of XP - it creates the virtual machine, but fails on the Reconfiguration with "cannot find the volume of the system.

    What I have to change something something on the partition in the virtual machine?

    See you soon

    Craig

    Already go you as far as "Please activate now?"

    Congratulations - then fine.

    Expect this reactivation, except if you use volume licenses

    _________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • Failed to create the reference to the FXMLLoader controller: "no constructor appropriate."

    Greetings,

    I'm in my first two days, experimenting with JavaFX.

    I am trying to create a reference to my controller class to in my routine of starting application. All the posts I've seen on this call to the code as follows:
     FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("MyFXML.fxml")); 
    But in my NetBeans IDE editor this code reports the error "no suitable constructor found for FXMLLoader (java.net.URL)."

    The documentation for the FXMLLoader class undeniably a constructor FXMLLoader (java.net.URL). However, when I access the NetBeans source code, this constructor does not show: the only options are FXMLLoader() and FXMLLoader (Charset arg0).

    I use NetBeans 7.1.2 ee version. I was using JavaFX 2.0, then downloaded the SDK 2.2 JavaFX (beta) to see if it would make a difference - she didn't.

    Any ideas would be very appreciated.

    Hello

    My guess would be that NetBeans resumes still jars of JavaFX 2.0 instead of JavaFX 2.2

    I would say that play with the properties of your project: examine the library dependencies and the platform.
    If you use a Default_JavaFX_Platform then check where it picks up JavaFX (click on 'manage the platform' and look in the JavaFX tab).
    Sometimes, NetBeans is confused and will resume the 2.2 SDK with the 2.0 runtime - check if really all paths!

    Hopes this helps,

    -daniel

    Published by: daniel June 13, 2012 06:18

  • Access to the number of property may not set through a reference with static type...

    Hi all!

    I encounter this problem today... Take a look at the code:

    import com.trick7.effects.TeraFire;

    for (var j: uint = 0; j < 10; j ++) {}

    var fire: TeraFire = new TeraFire();

    Fire.x = j * 40 + 20;

    Fire.y = 100;

    Fire.Number = j; This line is causeing the problem

    addChild (fire);

    fire.buttonMode = true;

    }

    Class TeraFire creates fire particles. Compiler error is:

    Scene 1, Layer 'layer 1', frame 1, line 7.1119: access of the number of property may not set through a reference with static type com.trick7.effects:TeraFire.

    Can someone help me find a solution to this problem.

    I can do this 'number' with a clip, but not in this case. What can I do?

    Sorry oops misspelling... I meant fire ['number'] = j;

    The class must also be dynamic for this work, i.e.:

    public dynamic class TeraFire extends MovieClip
    

    (a dynamic class extension is not the class dynamic sub...)

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • Error in creating the body of HTML for Email with attachment

    I have an application where I send emails with an attachment. It seems to work very well. I'm now add content to the body of the Email and I'm running on about how set up the body. To test, I created a small amount of html code which is placed in part p_body_html of the script send mail, but because it's going to be a little (more than 1000 characters) to create the real html table, I'm trying to create in a declared variable and then have the p_body_html call the variable l_body_html and that's where I'm running into the following error message :

    1 error has occurred
    * ORA-06550: line 9, column 9: PLS-00307: too many statements of 'SEND' fits this call
    ORA-06550: line 9, column 1: PL/SQL: statement ignored

    Code that works is:
     
    DECLARE
        l_id NUMBER;
        l_body_html CLOB;
    BEGIN
    l_id := APEX_MAIL.SEND(
            p_to        => :P4_TO,
            p_from      => '[email protected]',
            p_body      => 'Please review the attachment.',
            p_body_html => '<html><head></head><body><table width="615" border="0" align="center" cellpadding="0" cellspacing="0" RULES=NONE FRAME=BOX style="cellpadding:0 cellspacing:0"><tr><td height="32" colspan="2" bgcolor="#FF0000">Information</td></tr><tr><td colspan="2">Testing</td></tr><tr><td>One</td><td>Two</td></tr></table></body></html>',
            p_subj      => :P4_TITLE);
    FOR c1 IN (SELECT filename, attachment, mimetype 
            FROM ATTACH_EMAIL
            WHERE recordid = :P4_recordid) LOOP
    
            APEX_MAIL.ADD_ATTACHMENT(
                p_mail_id    => l_id,
                p_attachment => c1.attachment,
                p_filename   => c1.filename,
                p_mime_type  => c1.mimetype);
            END LOOP;
        COMMIT;
    END;
    The code that does not work is:
    DECLARE
        l_id NUMBER;
        l_body_html CLOB;
    
    BEGIN
    l_body_html :='<html><head></head><body><table width="615" border="0" align="center" cellpadding="0" cellspacing="0" RULES=NONE FRAME=BOX style="cellpadding:0 cellspacing:0"><tr><td height="32" colspan="2" bgcolor="#FF0000">Information</td></tr><tr><td colspan="2">Testing</td></tr><tr><td>One</td><td>Two</td></tr></table></body></html>';
    
    l_id := APEX_MAIL.SEND(
            p_to        => :P4_TO,
            p_from      => '[email protected]',
            p_body      => 'Please review the attachment.',
            p_body_html => l_body_html,
            p_subj      => :P4_TITLE);
    FOR c1 IN (SELECT filename, attachment, mimetype 
            FROM ATTACH_EMAIL
            WHERE recordid = :P4_recordid) LOOP
    
            APEX_MAIL.ADD_ATTACHMENT(
                p_mail_id    => l_id,
                p_attachment => c1.attachment,
                p_filename   => c1.filename,
                p_mime_type  => c1.mimetype);
            END LOOP;
        COMMIT;
    END;
    I said the l_body_html as CLOB then I fill it with code and then I reference it the p_body_html. I have this work under other forms of e-mail with no attachments and it works fine. Don't know how I have too many statements as the error States and would appreciate any help

    Thank you
    Wally

    Hi Wally,

    The SEND() function may take varchar2s or CLOB to p_body and p_html_body. In your code, you declare l_body_html as a CLOB, but assigning a string. It is possible that the database is confused?

    Try to use TO_CLOB ('...') to set the value of l_body_html

    Andy

  • Bug trying to create the link with the Cyrillic characters in URL

    I'm transforming words in my text on the links, but with Cyrillic characters in their URL (such as https://en.wiktionary.org/wiki/ хорошо). The problem is that, depending on how create the link, the page refuses to accept the URL.

    It's my preferred method (which accepts not the Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Paste the URL (https://en.wiktionary.org/wiki/ хорошо) in the field;
    4. Hit enter or click out;
    5. When I check the link, it is www.apple.com.

    The strange is that other methods work very well.

    1 against nature (accepts Pages):

    1. Delete my word;
    2. In its place, paste the URL (https://en.wiktionary.org/wiki/ хорошо);
    3. Hit the space bar (a link is created automatically with the correct URL);
    4. Edit the link that is created and change its text;
    5. When I check the link, he kept correct.

    2 against nature (accepts Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Find a way to build a version with my URL (https://en.wiktionary.org/wiki/%D1%85%D0%BE%D1%80%D0%BE%D1%88%D0%BE) escape sequence;
    4. Paste the URL with escape sequence in link field;
    5. Hit enter or click out;
    6. When I check the link, ironically, is хорошо https://en.wiktionary.org/wiki/.

    To stretch more:

    1. Editing a link created successfully (with any success methods above);
    2. Changed its URL (from хорошо https://en.wiktionary.org/wiki/ to https://en.wiktionary.org/wiki/ плохо)
    3. Hit enter or click out;
    4. When I check the link, it's still хорошо https://en.wiktionary.org/wiki/;
    5. Finally edited and changed its URL still once, now remove the Cyrillic (https://en.wiktionary.org/wiki);
    6. Press enter, click out and he finally accepted the URL.

    Pages seems to be denying the creation of links with the URL that contains Cyrillic characters (only?), but exclusively through his little creation of link popup. I think it's a simple problem, but I'm sure it's very annoying.

    Everyone knows the same?

    Cyrillic characters in the range of table encoding UTF-8 code points u + 0400 - u + 04 FF are represented by two bytes. These people must be encoded as a percentage (read the two paragraphs of the current standard of article), as the Pages v5.6.2 will convert automatically URI to this encoding for you in the link Inspector. It will simply ignore what it considers incorrect URI links, they are Cyrillic, or even English.

    Use what is easier for you, and that Pages v5.6.2 accepts.

  • I created an account with Hightail (and received and responded to the verification email) but when I click on the down arrow next to Lacrosse "join".

    I created an account with Hightail (and received responded to the verification email), but when I click on the arrow next to the button "join" the 'link' button does not appear.

    Have you added hightail in the menu (alt + T) tools > options > Annexes > out.

  • I lost the icon charge and all the legends with icons. Help.

    I installed an update of Mozy, rebooted and found that firefox had lost the legends with the icons, the icon charge completely. Customize the box covers almost the entire page and doesn't include as much as he used to. My Autofill is over. And he has no Navigation bar listed int the toolbars area.

    Have you just moved to Firefox Beta 28.0 to Firefox Beta 29,0? What you are experiencing is the new UI "Australis".

    On the first run, Firefox 29 is expected to present a tour guide you to the menu bar and toolbar changes. If that does not work, maybe there's a way to trigger again? (I have not tried myself.)

    If you prefer the familiar user interface of 28.0 Firefox, you can install the version of 'liberation' instead of the beta. A backup can be a good idea, but you don't need to remove the beta version.

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

Maybe you are looking for

  • Does not connect to the update server?

    When you start firefox, im getting one "needs update" However, when I click ok and then next, the download bar rises, but reading still "searching for update server.

  • P7 - 1108p with monitor s2031 Ont. Best obtained resolution is 1270 X 720.

    Windows 7 Home premium. P7 - 1108p with monitor s2031 Ont. Best obtained resolution is 1270 X 720. Had to install the drivers for the monitor of Finally, get that. Also downloaded new graphics drivers. Still getting only 1270 X 720. Any suggestions o

  • Cannot download error - file extraction failed is corrupt

    I recently received a dell inspiron E1705 to a friend who did not use it anymore, and a week after I used it nothing will download and after searching for a few hours, I have reset the laptop by default... except that when I started it up to go and d

  • How to increase the graphics memory of the Simulator in VMWARE?

    Hello I can't open the application in simulator (VMWARE), show the exclamation point. When I click on that exclamation is show graphics memory is insufficient to run this application. Help me!!! Thank you.

  • Try to connect to SPA122 for VOIP

    Hello, I'm new to VOIP and if I am not well enough to find an answer, I apologize. I know that Google is my friend, but in this case, I have not found the answers I'm looking for. Here is my configuration: Cisco SPA122 Apple Airport Extreme router wi