Get references from articles inside an XControl

I would like to build a property for an XControl in order to get the references to the controls in the front panel, something like ownership of the cluster "control []".

I tried to get the references of the façade and pass them to the main VI through view state and a property to read the values, but when I pass the notes obtained in this way to a property node I get an error 1055 saying that the object reference is not valid.

Thank you

Hi daniele88,

Unfortunately I don't know the answer to your problem,

but I suggest you put a minimum version of your problem in the code

and the link here, that might help ppl troubleshooting

(in which case it is not something obvious why this will not work)

the only thing I can suggest on the top of my head,

is to make sure that you have the 'change data' or 'changed state' set 'correctly '.

If the information is properly stored, to be accessed by the xcontrol property

but maybe that's not it.

Good luck

Tags: NI Software

Similar Questions

  • VI server: Get references from the project which has a VI

    OK, here's a question for someone who knows the intricacies of the VI server:

    Is there a relatively easy way to get the reference of the project which has a VI?  (I don't know how that would play if there are multiple instances in different contexts, but maybe I'm overthinking it.)

    I see that there is a property "Own App" for the screws, which means that I could probably get to open projects from that and across these hierarchies of project.  That seems like a lot of effort, however.

    Thank you

    Jim

    @Ben: you are right, a VI, you get the reference of the call library, in the library, you can get the mention of 'a project', which is a "temporary project X" where X is an increment. But how to get the real owner of project?

    If the project is in memory, you can use the property to "Own the Application" of the VI then the 'Project.Active of the project"which is a private property.

    Christian

  • Get references from control and indicator of individual table

    Hi all

    Goal: How to get the references and control indicators in two different tables?

    What I have tried: using the reference pane I had controls, but includes indicator references.

    If sombody comes out on this, would be great.

    Thank you.

    What said tst (see attached VI)

  • How to get data from excel

    Hello world

    How can I get data from excel inside my program? I'm using labview 8.2. I have tried to find the solution for this but seems that the solutions are not suitable. Can someone help me? Thank you.

    Hi jieah,

    Inside of the attachment nijams don't you see this?

    read_excel_values. LLB

  • get information from inside a trigger of the other tables in the schema even

    Addendum:

    ... Sorry I forgot: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64 bit

    *******************

    Hello

    I'm trying for a few hours to get information from inside a trigger to another table in the same pattern.

    My trigger is PSE_BKB. NUM_PHANTOM_BP

    I first tried a simple solution...


    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN

    ...
    Select count (*)
    in anz_num
    of pse_bkb.num_objekt o
    where o.obj_key in
    (select distinct (ov.obj_key)
    of pse_bkb.num_objekt_verb ov
    where ov.phantom_key =: old.phantom_key
    )
    and o.typ = "NUM";

    ...

    Explanation: my trigger table is PSE_BKB. NUM_PHANTOM_BP.

    On the pse_bkb.num_objekt_verb of the table, I have a relationship 1: n to one or several object-key (field named obj_key!) on my referenced key: old.phantom_key. With this obj_key, I want to watch the weather, I have one or more lines in the table type num_objekt "NUM". So the internal selection gives me all the num_objekt_verb obj_key with my: old.phantom_key and with whom I count the number of lines I have on num_objekt with type "NUM".

    The problem is that the trigger does not see the table.

    I tried many variations.

    The latest version I tried was with a cursor inside the trigger definition as in the block of code below.

    For debugging purposes, I inserted a RAISE_APPLICATION_ERROR in the inner loop - see below. The v_obj_key variable is never defined, as in all the other variations, I tried-, I still see the predefined "gugus" in the declare section.

    It seems that oracle can not read other tables at this point. La: old.phantom_key is defined (in this simple example there would come a return obj_key).

    Thanks in advance for your help - and excuse my English.

    Trigger code:

    CREATE OR REPLACE TRIGGER PSE_BKB. NUM_TR_PHANTOM_BP
    BEFORE DELETING, INSERTION OR UPDATE
    ON PSE_BKB. NUM_PHANTOM_BP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    DECLARE

    v_recht NUMBER (1): = 0;
    v_recht2 NUMBER (1): = 0;
    v_change_mitarbeiter NUMBER (1): = 0;
    v_recht_mitarbeiter NUMBER (1): = 0;
    v_typ varchar2 (20);
    v_obj_key varchar2 (11): = "gugus";
    v_ph_key varchar2 (11);
    -ph_key varchar2 (11);
    v_obj_keys varchar2 (4000): = ', ';

    anz_num NUMBER: = 0;
    anz_num_tmp NUMBER: = 0;
    anz_st_si NUMBER: = 0;


    BEGIN


    Start
    declare

    cursor nums is

    Select obj_key
    of PSE_BKB.num_objekt_verb
    where phantom_key =: old.phantom_key;

    Start

    for the RC looping nums
    v_obj_key: = cr.obj_key;

    RAISE_APPLICATION_ERROR (-20099,' AGAIN 9 v_obj_key: ' | v_obj_key |) ': old.phantom_key ' | (: old.phantom_key);

    When the exit nums % NOTFOUND;

    Select count (*) in the pse_bkb.num_objekt anz_num_tmp where obj_key = v_obj_key and type = "NUM";
    anz_num: = anz_num + anz_num_tmp;
    end loop;

    end;
    end;

    Published by: user832075 on 14.01.2013 06:18

    The reason why you get count_n = 0 in tr_c is that there is no line in B with key_c = 17, to the moment you arrive at tr_c. The removal of B has already occurred, and since you're in a single transaction, the application for tr_c:

    select count(*)
      into   counter_n
      from   a aa
      where  aa.key_a in (select distinct(bb.key_a)
                          from   b bb
                          where  bb.key_c = v_ph_key
                         )
      and    aa.typ = 'n';
    

    'knows' that the row has been deleted then gets a number of 0.

    I added a set of instructions dbms_output to show the order in which triggers run, and that's what I get:

    SQL> delete from b_vw where key_a = 1 and key_c = 17 ;
    in trigger b_tr_vw
    In tr_b
    in tr_c
    delete from b_vw where key_a = 1 and key_c = 17
                *
    ERROR at line 1:
    ORA-20077: Remark: counter_n: 0 counter_s: 0 v_ph_key: 17 old.key_c: 17
    new.key_c:
    ORA-06512: at "OPS$ORACLE.TR_C", line 38
    ORA-04088: error during execution of trigger 'OPS$ORACLE.TR_C'
    ORA-06512: at "OPS$ORACLE.B_TR_VW", line 17
    ORA-04088: error during execution of trigger 'OPS$ORACLE.B_TR_VW'
    

    Thus b_tr_vw trigger is triggered first and deletes a B. trigger fires tr_b as part of this statement to remove and check against A, happening apparently so no error is triggered and succeeds the removal of B. Now tr_b_vw takes back control and deletes C. Since the B line which has key_c = 17 already deleted a control for counter_n > 0 and counter_s = 0 fails and raise you the-20002 error. Note that I'm assuming that the error of-20077 you lift is just to see the values and is not intended to be part of your actual code.

    Because I have really no idea what you're trying to accomplish here I can't offer a lot of advice that you might want to try entering two tr_c of the tr_b_vw trigger validation queries before deliver you the removal of b and put the counter_n > 0 and counter_s = 0 control under tr_b_vw to decide whether or not you want to remove.

    John

  • Unable to get sound from my speakers on desktop Hewlett-Packard pc7-1010.

    Unable to get sound from my speakers on desktop Hewlett-Packard pc7-1010.

    Hi Judith,

    I suggest to refer to the article and follow the steps. Here is the link for your reference.

    No sound from speakers (Windows 7)

    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&DLC=en&docName=c01884922

    Check if the speakers are working correctly in Device Manager.

    To do this, follow these steps:

    a. on the desktop, press the Windows key + R and type devmgmt.msc and press enter to open the Device Manager.

    b. develop sound video and game controllers and right click on the driver.

    c. select Properties , and then check to see if the device works properly under Device Status.

    Is there a yellow triangle with an exclamation mark inside, then it indicates that there are some problems with it.

    Reference:

    Tips for solving common audio problems

    http://Windows.Microsoft.com/en-in/Windows7/tips-for-fixing-common-sound-problems

    Let us know if the problem persists. We would be happy to help you.

  • Scripting - reference control Replace inside the flat sequence

    Hello

    Just in the process of upgrading our software from 8.6 to 2011. A question that we have is references appear to be different to the old code. Example - if we create a new control reference, put it next to the old one, put a probe on the two, references do not match when we run the vi.

    This causes havoc with our very large amounts of code. We contacted OR that our support subscription and they required an example which we can really give.

    In any case...

    I thought that I would write a vi script to replace all old references of our code with new references.

    Problem is that I can't replace a control easily reference which is inside any kind of structure.

    I need a way to get a reference to a parent structure, I can then add to the structure.

    This will take place on large amounts of complex code, so there need to be versatile. Please see the attached Vi

    Thank you

    Joe

    I would like to make the following changes:

    • You'll want to use the 'Move' method, which allows you to specify an owner.  In this case, the owner is the schema that belongs to the original control reference.

    • You want to get the original order wire and get all its wells (i.e. not null index into the array of terminals), so that you know what to wire the new benchmark in control of.  That is why the Connect wire method is in a loop For... the original control reference may have wired to several objects.

    Let me know if you have any other questions.  As far as I know, all properties/methods that I am using the code above are available in LabVIEW 8.6.

  • vRA 6.2.0: started getting complaints from users of Firefox

    About a week or two ago, I started to get complaints from users that they saw errors and other oddities in the vRA.  For example, clicking on "Applications" tab that leads them to the 'Home' screen instead.  And errors like this:

    Internal error

    An internal error has occurred. If the problem persists, contact your system administrator.

    When you contact your system administrator, use this reference: 8dd728d5

    But if they use a different browser like Chrome, all right.  Does anyone know if a recent update of Firefox is now incompatible with vRA 6.2.0 cause?  Thank you.

    You can check your version of Firefox? 41 and superior update problems. Here is the link to the KB article

    VMware KB: Items in VMware vRealize Automation tab is inaccessible after updating FireFox to version 41.0

  • How to get assistance from mozilla to answer questions for windows when I use a macintosh computer

    How to get assistance from mozilla to answer questions for windows when I use a macintosh computer?

    Look on the right side of the knowlegde base articles, where it is said ' help to ". Here, you can change the operating system and the version of firefox. The content of the article will adjust.

    If you ask a question on the help forum, you can simply say this in your question.

  • How am I supposed to get help from microsoft when someone hacked my account? I've done everything asked, and nobody gets in touch. I'm losing business from day to day.

    How am I supposed to get help from microsoft when someone hacked my account?  I've done everything asked, and nobody gets in touch. I'm losing business from day to day.
    I've now set up a separate hotmail address so that I can write on this forum. It's a joke. I have tried for days to resolve this. Microsoft... one of the best companies in the world... poor quality more like...
    make money then I lose business... I am a small business as it is.

    I NEED HELP TO RETRIEVE MY PREVIOUS ADDRESS EMAIL PLEASE PLEASE PLEASE PLEASE PLEASE.

    Hi kate louisecox,.

    I understand your frustration.  In the search for your question, you got to see this article?  It examines a compromised account:

    http://www.windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Also, if this does not help your situation, I would say that post future questions about this issue in the Windows Live Solution Center Forums as they would be able to help you:

    http://www.windowslivehelp.com/forums.aspx?ForumID=b782602b-8e7c-40D8-a66b-b44824497a17

    Like a record, these are public forums, so not everyone who responds is an employee of Microsoft.

    Thank you for using Microsoft Answers!

  • I get messages from my contacts supposed such as undeliverable mail or notification of my bank - which are false.

    Spam - Hotmail Contacts

    I get messages from my contacts supposed such as undeliverable mail or notification of my bank - which are false.  How can I prevent them from happening?  I changed the passwords on all of my accounts.  They seem to just come to me--I haven't heard yet from others that they receive "outbound" messages

    Hi Molly,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • When starting, I wonder to choose between XP or Vista? I have XP NOT Vista! How can I remove the reference from Vista?

    My system has been initially implemented as a Dual Boot XP / Vista. Vista has been deleted and I would like to delete the reference from Vista in the trunk. In the case where someone boots into existence no reference of Vista, the systems does not crash but goes in a loop in question, try to Boot. By answering the questions, the system takes you to the initial question, with "an earlier version of Windows or Vista? How can I eliminate this? It is not a problem, once you know you have to select "older version", but if you do not, the timer runs out and trying to boot Vista. Many people use this system and good day, they get caught up in this cycle.

    Best regards

    Mike Lynch

    Best regards

    Mike Lynch

    Your master boot record think you still have Vista.

    You can fix this since the XP Recovery Console.

    You can start RC since a genuine XP bootable installation CD or make you a CD bootable XP Recovery Console using these instructions:

    http://www.bleepingcomputer.com/forums/topic276527.html

    After booting into the Recovery Console, you should be in this folder:

    C:\WINDOWS

    Enter the following command and answer Yes to the warning:

    FIXMBR

    Enter the following command and answered in the affirmative:

    Fixboot

    Remove the Console CD recovery and type 'Quit' to restart your system.

    Please vote my posts as helpful so I can get a lot of points. I'm saving for a pony.

  • Problem with getting messages from Inbox in Blackberry 8800

    I used Blackberry JDE 4.0 for the development of my application. I ran my code on Blackberry 7290 and it works very well.

    The code snippet, I used to get messages from the Inbox is

    Store is Session.getDefaultInstance () .getStore ();.

    Folder inboxFolder = store.getFolder ("Inbox");

    Message [] inboxmessages = inboxFolder.getMessages ();

    System.out.println ("Inbox GSM length:" + inboxmessages.length);

    When I ran the same code on Blackberry JDE 4.2.1; can't find message from the Inbox on the blackberry 8800 Simulator. The code runs successfully. If there are messages in the Inbox it gives inboxmessages.length = 0, but does not raise an error.

    The problem comes when inboxFolder.getMessages () is

    Someone can suggest what might be the problem, is the structure of folders 8800 different from 7290 or is there any other problem. Help, please.

    Please refer to the samples on this page:

    What's – the application is not notified when new messages arrive
    Article number: DB-00153

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800698/What_Is...

    Note that messages that are pre-populated in the BlackBerry Simulator are not real email messages, then you will not be able to access.

  • where W_EXCH_RATE_G get filled from?

    Hello

    Was just troubleshooting an exchange rate issue where the LKP W_EXCH_RATE table is used for exchange rate values. Could you get it someone please let me know where does get the values in this table in the warehouse?

    I read somewhere that it is a general reference to OBAW table. IS this true? If so, then this means that's not pulling all the values of the source data and it has been already pre-filled by Oracle?

    The reason why I doubt that when I check in the warehouse, it has w_exch_rate_g and w_exch_rate_gs. *. GS indicates an intermediate table. An intermediate table would in turn get populated from somewhere. How do I know that?

    Thank you
    Dan

    Hi Dan,.

    This depends on your source system. For example, with R12.1.3 EBS as a source system, the W_EXCH_RATE_GS table is filled with the EBS GL_DAILY_RATE table.
    You can find the source table using Informatica dependencies:
    -you select the folder for your source system
    -you select the target W_EXCH_RATE_GS and dependencies table by clicking right.

    It will be useful,

    BLO

  • getting data from two servers?

    Experts-

    We have two servers for the storage of the tables. 1 history 1. current server Prod

    We have same tables in the databases server.

    All the info before one month from the date of the day are stored in database tables history server
    and the rest in database tables current prod server.


    I create reports such as when the user enters a date, OBIEE must check if the date is in a month (30 days) the date today or earlier at 30 days, on this basis, it must get data from historical Server database tables / running production database server.

    How can I implement this?

    I need to create two clusters of connction (RPD records) and develop the same model twice? (One for the historical paintings and one for prod tables?)
    or can I use the technique of fragmentation? If so, can you give me an idea hwow to implement the Fragmentation of this requirement?

    Thank you for your help in advance

    You must use the fragmentation of this requirement. It is not difficult once you understand the basic principle. Nico article read here for details:

    http://gerardnico.com/wiki/dat/OBIEE/fragmentation_content

    The only non-standard bit for you will be to define the criteria of fragmentation on your sources of logical table. This is the part that says BI server to hit source.

    After return here if you get stuck.

    Paul

Maybe you are looking for