Setting the properties of elements of façade in XControl to a VI that uses the XControl

Hi all

I'm new to XControls and I try to use them to make a generic digital indicator that fit into a matrix of waveforms of a similar measure and allow the user to display the first value of a waveform, it chooses by selecting the name of the desired channel in the waveform table. I have the XControl work, with a ring filled automatically with the NI_ChannelName of the input waveform array fields and the value of the ring being used to index the waveform table to select the appropriate data.

What I want to do next is automatically set the value of control of ring in the XControl to the value that the user has selected the last time he ran the VI that uses the indicator. However, the properties of the control ring do not seem to be accessible from the VI that uses the XControl, and none of the XControl General properties seem to be accessible from the front VI in the XControl. The value of the ring is not part of the entrance of DataIn cable waveform table, so I don't have a good method to pass data to the control of the ring outside of what is in this table of waveform. I might add the value in the waveform table, if this helps, but indicators XControl do not transmit their return DataOut appellant VI to allow me to record the user selected value.

Is there a good way to read and write the properties of façade elements in an XControl of VI that uses the XControl?

I apologize for not posting my code; the computer with LabVIEW license is having network problems at the present time. I'll post the code when I can.

Thank you!

Erik

In your State cluster typedef container, include a reference to a control of the ring.

In your vi of façade, in the case of change of Direction, create a reference to your ring and connect to a plan by which he sends out the view state.  Also be sure to write true to the status changed in the result of the Action.

In your xctl, select New-> property.  Name it after the property in the ring that you want to access.  Use the view clustered State (in your new property VI) to access the reference to the ring; son of a property node.  Change the control value in the appropriate type & connect to the property you want.

Be sure to connect the path error through everything that might cause an error.

When you drop an instance of the xctl and create a property from this node, your new property will be available.

Tags: NI Software

Similar Questions

  • Set the individual properties of elements with layout tabular insated of all possible?

    Forms [32 bit] Version 10.1.2.3.0 (Production)
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    Hello

    I have a form with an configuration master block as a tabular layout. In this block, I have a button that calls a form of sub with the detail for this master block records. What I'm trying to do is change the color of the button for this specific record if it has detail records. I did it for another form, but in this case, if I set the color property for the button to change the color for ALL buttons in the page layout table (since it is the same element) is possible to change only the color of the button on the document that has a record detal and not the rest?

    You use the built-in function of Set-point-Instance-property and set attribute plastics (PV) to change the appearance of the button.

    Craig...

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • Can not set the print properties

    Just loaded FireFox 4.0.1
    When I click on
    file
    print
    and the print window opens if I click
    Properties to define the quality or black etc. only I get
    an error box that says:
    Error
    Prop Res DLL not loaded

    I tried exactly the same thing using Windows internet explore and the Word for windows, and these all are working
    perfectly. I can click Properties in the print window and
    the value of what I want on my printer.

    I rebooted and no help.

    I'm about to go back to the previous version of Firefox
    Since I print a lot of websites and I often
    you want to set the print mode project to save time and ink.

    Can you offer any suggestions other than coming back
    the earlier version?
    Thank you!
    KyDan
    Louisville KY

    This seems to be a problem for a long time with the Lexmark printers who has just started to happen in Firefox 4.

    An example

    http://forums.techarena.in/MS-Office-support/596409.htm

    This Google search.

    Check out this thread for support for a solution that has worked in 2006 for a similar problem with another Lexmark printer. I hope that something like this will work for you.

  • How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it. In the Labview web UI designer

    How to make the button to set the properties of auto-scale one of the Axes on the graphical indicator so I can turn on or off when I press on it.

    I need to change the adjustment vaguely Autoscale property for my graphic indicator. Can someone help me please.

    Thank you!

    Hello

    I have confirmed that there is currently no way programmatically enable/disable autoscaling for axes on the LabVIEW graphical indicator generator of the user Web interface. We noted this to possibly be implemented in the future; Sorry for the inconvenience.

  • Select several Kings and set the properties for each of them

    Hi all

    I am currently working on a project on the thermal camera images. What I have to do is to define multiple regions of interest and assign specific properties such as temperature and emissivity of these Kings.

    So I was wondering:

    1 that is, possible to select several kings with a table keeping up-to-date of the Kings, the user has chosen on the front? (Or each KING might have a cluster on the front panel that contains its properties, which can be changed later.)

    2. is that possible to set specific properties such as temperature in the specfic KING, these properties and will be updated for the return on investment?

    Thank you so much and looking forward to some good ideas or tips.

    See you soon,.

    Version

    Hi all

    The attachment is what I've done now. However, instead create a .txt file to display information, it would be perfect to display the name of the KING and its properties in Control Panel before, as in the first column is 1 KING, KING 2, 3 return on investment, etc, and the other columns will be responsible for some information on the return on specific investment and its properties... Because I couldn't find something similar here, I really need your help.

    Thank you

    Version

  • programmatically set the colour of the façade

    Hello

    Is there a way by which I can set the colour of the façade. I want to do it programmatically in a large number of subvi.

    Kind regards

    Pavitra

    Just in case where you struggle to find.

    This code gives me a dirty blue color on the front panel...

  • How to set the properties of the individual parcels programmatically?

    Hi all

    I develop a XY chart that can have between one and six serial data.  How can I programttically set the properties of the series individually?  I can create a property node for things such as 'Name', but when I do it's only the name of the last data series is changed.  How can I set the value of 'Name' for different series?

    Thank you!

    You must set the field property Active before you set the Name property of draw.  The plot Active area must be on the index of the series you want to change.

  • How to set the properties of the EOS in the IVI driver

    I am coding a compatible driver IVI (in LabWindows/CVI) for an old GPIB instrument that does not support the EOI. To read the response device, I need to define the character of the EOS and terminate read on EOS. MAX I can correctly set the properties of communication and communicate with the device, but I do not know how to set these values in my driver. I tried if various attributes (for example with viSetAttribute (io, VI_ATTR_TERMCHAR_EN, VI_TRUE)), but still get errors (I guess I should use the incorrect session handles). How to set these properties inside the device IVI driver properly? These parameters must be active for this specific device only - all other devices on the bus use EDI. So I think that I can not just in the world, set this property on the map.

    Any help is appreciated. Thanks in advance,

    Martin

    To change VISA attributes as parameters EOS via the pilot of the IVI, your application must first acquire the handle valid VISA (VISA session) or the IVisaSession interface. The first is applied when the uses of pilot IVI VISA - C API and the latest is applied to when the IVI driver uses VISA COM API. Session handle of the IVI - C (that was returned by the function _init() ) is * NO * a VISA manage so you cannot call the API C VISA with the session handle.

    I don't know if the IVI driver you are using has such a property or attribute allowing to access the handle VISA or IVisaSession interface, but for example, driver Agilent IVI COM "IO" property, which returns the reference to IVisaSession or any good VISA com interface.

    Makoto

  • How can I set the time on the toolbar of the low wing? When I click on the taskbar do a right-click and then click Properties, it does not give me the option to display the time?

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    Right-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.

  • How to set the properties of objects attached in bb 10 available?

    I have a custom in [attachedObjects] dialog box. How can I set its properties available at the centre? I tried to use docklayout, but it did not work.

    Hello

    you will need to set the height and width anyway, if it is fixed you can try something like the example below (based on the book of recipes, just change the height and width values).

            preferredWidth: 1280 //768 Portrait Width
            preferredHeight: 768 //1280 Portrait Height
    

    If you need support orientation, you may need to check this https://developer.blackberry.com/cascades/reference/bb__cascades__orientationsupport.html

  • Set the value of the page elements using apex.submit

    Hey,.

    Does anyone have an idea how to set the value of several page elements using apex.submit?

    Here is my request, she works for this element of the page, but I want to first the value of the other elements of the page (i.e. P30_SHOW_REF) as well.

    select s.nr as NRR, 
    '<input type="button" value="clickme2" onclick="document.getElementById(''BUTTONS'').style.display = ''block'';apex.submit({request:''SET'',set:{''P30_KLT_NR'':'||s.nr||'});"/>' Button 
    from klant s
    

    Thanks in advance!

    Hi Julijan,

    Here is the example:

    apex.submit({
      request:"DELETE",
      set:{"P1_DEPTNO":10, "P1_EMPNO":5433});
    

    Concerning

    J

  • dynamic action sets the value of the element, but not save to DB on submit

    I'm working on a page where the value of several to show only the page elements are defined using a dynamic Action.  They are set when the user selects a value in a list of selection (and is based on the value of the selection list).  Dynamic action is triggered on a list selection change event and then runs the real action "set the value.  The selection list displays the names of sales representative.  The three fields dynamically filled are the org structure (that is, their chain management).

    For the action to set the value, I use a defined Type of SQL statement:

    Select VP, DIR, MGR

    of SALES_ORG where SSR =: P20_SSR

    In the affected elements, I have fixed Type of selection to the 'item (s)"and the value of the Item (s) for 'P20_GVP, P20_DIR, P20_MGR.

    Dynamic action works fine for the display of the page (that is, when I select a sales representative in the selection list dynamic action properly updated only display value fields three).  This page is a form in which the user submits information relating to the rep.  When the page is sent, all fields are filled in a new record of DB with the exception of three that were populated dynamically above.  These fields get the values NULL.

    When the dynamic action updates the values in the three fields is - it does not set the value of session?  Why these fields don't are not taken into account in the submit other ideas > process Page?

    I use 5 APEX with Chrome on Mac (Yosemite).

    Thanks for the note.  I didn't only display the items could not be used in this way.  I think I'll take a different approach with the design; given that the org structure is in another table that I can simply refer to that by rep when necessary rather than saving the information uploaded to the page of the form.  The reason why I have not fill the screen only the points of loading the page is because I don't know what the values should be until the user selects a sales representative in the selection list.

    I'll change the design to one of the following:

    1) change the display only items of standard text field.  NOTE: if I make the text read-only field that causes other problems when loading (I get the message "violation of protection Session state").

    OR

    2) do not include org structure in the download folder and just refer to table org Rep when necessary.

    Thank you!

    Steve

  • How to set the two attributes of the element in the same domain

    Hello

    I need to call a js function and need to set the width of the element.

    Now I have to do the following things.

    OnChange = "set_hscode (this)" "

    style = "width: 80px".

    Can someone tell me how to proceed?

    Thank you

    Suman

    sumanbangladesh wrote:

    It is to do it in the attributes of an element of the page HTML form elements

    Y at - there some problem with defining the attributes of HTML form elements on:

    onchange="set_hscode(this);" style="width:80px"

  • How to set the properties of the JDBC driver

    Hello

    I run a JEE Application based in JDeveloper embedded 11.1.2.1.0 WLS spring.
    The database connection is by jndi refered as Data Source name. As there are not many properties in the menu contextual-properties of the connection db other than the user name and password, I am wondering how to set other properties as autoCommit or oracle.jdbc.convertNcharLiterals = false for example for the connection used by the application.
    I don't understand.

    Any help appreciated.

    Thanks and greetings

    Chris

    You should be able to put this on the data source that is defined in your WebLogic integrated - call the Weblogic http://localhost:7101 console / console and locate the data source you created.

Maybe you are looking for

  • Open firefox takes me to the last page viewed before that I closed

    I just installed Firefox (have used it before without any problem)The most recent version.Couple of days but now its OKWhen I login it takes me to a particular page, I was a few days ago. Always the same page which includes a few tabs open. None is m

  • Is it possible to extract product recovery disk Norton?

    My installed copy of Norton has crapped out, otherwise the machine is OK. Symantec procs ask the original program uninstalled and reinstalled from 'download' or bought the CD. Otherwise, I have to pay for another download. I would like to be able to

  • Behavior of music Apple tenacious with a few songs from an album.

    I'll give you all the real names of the artist and album to help make it clear what behavior annoying that I see. I have a live DVD of John Elton called One Night Only and I ripped the audio myself, the intention is to download songs and listen to th

  • Problem creating discs of recovery for the Satellite L500-126

    Hello I have a problem of creation of recovery for the Satellite L500-126 disks. I'm using the Toshiba Recovery Disk Creator. The 1st disk is ok.When I try to do the 2nd drive, the systems stops exactly 50% of the 2nd drive. and no more reaction from

  • Activation of Windows Server 2008 by using the button R2

    I can't activate Windows Server 2008 using the originally shipped with the X 3650 M3 server activation key. The media are labbled than Windows Server 2008 R2. Is that the key to R2 cannot be used for windows Server 2008 32-bit. I appreciate your resp