XNET Signal list control deployed to target RT OR-cDAQ-9133

I develop a VI to read and record the signals from the engine CAN. One of the requirements is that it will be a stand-alone application which runs on the target device, a device of real-time OR-cDAQ-9133 with a module NI9861. It also has a module analog thermocouple which is read and recorded alongside the CAN signals.

in any case, I did the front panel so that the user can choose the CAN signals of a drop-down list of all signals in the XNET database and then run the VI to display and record the signals. On the development of PC, it works as expected, I can change the signals before you run the VI.

When I build and deploy the project I am no longer able to do. The drop-down boxes are grayed out and do not respond to clicks. How to allow the user to choose signals to read and log?

I've attached a picture to better explain the control of front panel, I have for the user to choose the signals. Nothing complicated just to select the node and right click to create the control. The image is what it looks like on the development of PC, I have not a screen capture of the target device.

I was able to find a work around. I used an array of enum on the front panel controls that are then wired in a case surrounded by a loop structure for. This generates the signals XNET list based on the table of the enum. Probably not a more elegant solution, but it works and allows the CAN signals to choose in the front panel on the target of RT.

Tags: NI Products

Similar Questions

  • record data in the list control

    Hi all

    I changed a program a list item in a list control of "51" "77" by using the function NOR "ReplaceListItem (...)"

    When I left the program and looked at the list control, I have observed the list item has still "51" (instead of the expected '77').

    The question is: ' how can I permanently replace a list item in a list control.

    Thank you.

    Bob

    If I understand correctly, you have defined some items in the list control in IUR Editor, then you want to change one of them by program and have this change in the file of the IUR.

    Well, if that's what you are trying to accomplish, there is no easy way to get it: operated by program changes cancel their scope when you exit the program and not reflected in the physical files. Use the ICB ActiveX interface, save the IUR in TUI form with function (CVI_AppConvertUIRToTUI), modify programmatically the TUI file, save it and then convert it to the IUR by CVI_AppConvertTUIToUIR () format. Not a trivial task, I'm afraid, and, possibly, this task is not worth.

    An easier way is to have an external options file or a configuration file where to store items to load in the list control when you need it: this file can be edited by yourself, either programmatically or manually when you need to change some items.

  • How to create a multi column list control?

    Currently is a single-column listbox using StdListBoxWidgetN.

    How to create a multi columns as an image list control?

    What I see a sample? or add any source?

    Thanks for help.

    You must use the TreeView Widget.

    See the example persistentlistui or wlistboxcomposite in the sdk.

  • How to disable the search in drop-down list control

    Hi all

    I'm designing a dashboard with a command prompt. In this message, I use a drop-down list control which I hope to turn off the option "search...". ».
    Does anyone know a way to disable the option 'search' in a drop-down list control, so that users can not find values on the database.

    Any kind of help appreciated.

    Thank you!

    Laurent

    Published by: 988334 on 26 Feb. 2013 10:27

    Hi Laurent,.

    You can try the below workaround to hide the option "search...". "on the drop-down list.

    -Click on the dashboard to change where the dashboard prompt is present.
    -Add a text object to the page and paste the code below into it.

    -Check that you check the option 'Contains HTML markup'.
    -Save the page and run the dashboard. This should hide the option "search...". ».

    I tried this on IE and obiee version 11.1.1.6.6.

    Thank you
    Hyder

  • ORA-00245: backup of control file failed; target is likely on a local file sys

    Hello

    our CARS (Linux 11.2.0.3.0) is relatively new and we are still on the acquisition of experiences with this system...

    At the start of the backup with RMAN, we get the following error:

    From control file and SPFILE Autobackup 4 July 12
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of command of file control and SPFILE Autobackup on channel ORA_DISK_1 at 04/07/2012 16:41:48
    ORA-00245: backup of control file failed; target is likely on a local file system

    The reason for the error is clear ORA-00245 - in a CCR environment, the snapshot Controlfile location must be on a shared location.

    When running the RMAN command "show all" on each node, we get
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD021.f'; # by default
    for the #1 node
    and
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / u01/app/oracle/product/11.2.0.3/db/dbs/snapcf_PROD022.f'; # by default
    for the #2 node

    When using a shared location for the snapshot Controlfile make us still need 2 different names for this configuration file?

    CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD021.f'; # by default
    for the #1 node and
    CONFIGURE SNAPSHOT CONTROLFILE NAME to ' / < shared location > / snapcf_PROD022.f'; # by default
    for the #2 node

    Or should set us up as a single snapshot Controlfile?

    RMAN installation for "CONFIGURE SNAPSHOT CONTROLFILE NAME TO... "must be changed on both nodes - correct?

    I hope my question is clear enough--any help will be appreciated.

    Rgds
    JH

    Published by: VivaLaVida on 05.07.2012 11:41

    The controlfile is shared on the RAC database and having the backup of any node to shared mount point would meet the requirement.

    Configure snapshot controlfile name to ' /snapcf_PROD0.f';

    Anand

  • Problem with the mobile Flex list control

    Hello world.

    I have a problem with the list control in Flex mobile.  I need create list in "Flex mobile" and I need that list items must have following structure. a single image, text and then another picture. How do I do this?

    Concerning

    Include a component with a custom converter.

    See the documentation for Flex: http://help.adobe.com/en_US/flex/using/WS03d33b8076db57b9-23c04461124bbeca597-8000.html for more details.

  • Custom spark list control

    I have a spark list control that displays a dynamically imported Images tilelayout.  Basically, a bunch of thumbnail Images that appear in a tile layout.  I slipped active so that I can reorganize these thumbnails and everything works great except for one thing, the who.  In my itemrenderer I included Image in the State "dragging", but the image does not appear in the who.  I'm basically just has a square semi transparent like my, but I want to be able to actually drag my sticker.  Any ideas how to do this?

    Here is my list:

    < s:List id = "ImageList1" x = "77" y = "95" width = "858" height = "412" dataProvider = "{imageAC}".

    itemRenderer = "converters. ImageACSmallItemRenderer"contentBackgroundColor ="0x000000 ".

    borderVisible = 'false' dragEnabled = "true" dropEnabled = "true" dragMoveEnabled = "true".

    allowMultipleSelection = "true" skinClass = 'skins. General.ListSkin' focusAlpha = '0' mouseMove = "getImageProxy (event)" >

    < s:layout >

    < s:TileLayout columnWidth = rowHeight = "76" "76" horizontalAlign = "center" verticalAlign = "middle".

    horizontalGap = "8" verticalGap = "8" / >

    < / s:layout >

    < / s:List >

    Here's my Itemrenderer:

    < fx:Script >

         <! [CDATA]

    import mx.utils.ObjectProxy;

    [Bindable]

    public var dataProxy:ObjectProxy;

    private function init (): void {}

    dataProxy = new ObjectProxy (data);

              }

         ]]>

    < / fx:Script >

    < s: states >

    < s: State name = "normal" / >

    < s: State name = "flat" / >

    < s: State name = "selected" / >

    < s: State name = 'slide' / >

    < / s: states >

    < mx:Image source = "{dataProxy.pathSmall}" horizontalCenter = red "0" = "0" includeIn = "normal, hovered, selected, dragging" / > "

    < / s:ItemRenderer >

    Thanks for any idea!

    Hi Bill,

    Looks like you create a new object for each ItemRenderer ContentCache, to create a single instance shared, add "static" like this:

    static public var contentCache:ContentCache = new ContentCache();
    

    This will ensure that the contentCache variable is shared between all of the ItemRenderers.

    In addition, in my view, there is no need to explicitly call the contentCache like this:

    contentCache.load(dataProxy.pathSmall);
    

    Fixing the contentCache just the contentLoader on the Image property, the way you have done should be sufficient.

    I just do a quick experiment and here is an example with an ItemRenderer that exposes the problem:

    
    
        
    
    
    

    And here's workaround with contentCache (works well for me in the AIR):

    
    
                    
    
        
    

    See you soon,.

    Evtim

  • How to dynamically add data in a Spark list control

    Hi, I have a spark list in one of my custom components() control(id="Cclist") and a text input control. When a value is entered in the entry of the texts, I want to dynamically add the same in the list control. I tried to do the following:

    protected function Cc_selectHandler(event:CustomEvent):void

    {

     var cctext:DisplayObject = event.data as DisplayObject
    CcList.enabled = true;
    CcListButton.enabled = true;

    CcList.addChild(cctext);

    }

    But I get an error saying "addChild() is not available in this category.  "Instead, use addElement(), or change the skin. So I tried to use addElement, but apparently it is not available at all. No idea what im doing wrong?

    Add the text entered in the textinput to the dataProvider of the list in the appropriate format.

    A simple example:

    
    
        
            
        
    
        
            
        
    
        
            
        
        
        
        
    
    
  • This allows identical entries in a List control

    Hi all

    I'm putting data in a list control, but I can't make my list accept duplicate entries.

    He actually accepts the duplicates, but then I can't select them more.

    Here is an example:

    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "applicationComplete ="init ()">

    < mx:Script >

    <! [CDATA]

    Import mx.collections.ArrayCollection;


    private var ac:ArrayCollection = new collection ArrayCollection (["a", "b", "a"]);

    private function init (): void {}

    l1.dataProvider = ac;

    }

    []] >


    < / mx:Script >

    < mx:List id = "l1" width = "100" / >

    < / mx:Application >

    This creates a nice list with the entries: 'a', 'b' and 'a'-> the problem is that I can't choose the first 'a' in the list - the selection goes to the last 'a '!

    But I need the also selectable premiera!

    Does anyone have an idea how to make it work?

    Thank you very much in advance!

    Daniel

    Which is because the flex compoenents use == to recognize the elements. Since him 'a' == '' a' the problem will remain the same.

    What you can do, thought, is to encapsulate your strings into objects.

    For example:

    myAC = new ArraCollection( [ {label:"a"} , {label:"a"} ] );
    

    This way, you have two separate object with the property of good label ('a').

    The above code is quite ugly, but you can do the same thing with a custom class to wrap the strings.

    It would give something like:

    myAC = new ArrayCollection( [ new MyCustomWrapper( "a" ) , new MyCustomWrapper( "a" ) ] );
    

    And I think that you need to implement a function to label as long as you have a custom label on the wrapper class property.

  • List control with selection/converter custom element highlight problem

    Hello

    I created a sample project to illustrate my problem, my data provider actually use the same valuables as there might be same objects with the same data in a table collection.

    When I bring the mouse over the list control, I get no blue sky selection / highlight, and I cannot even click on them and I don't get any change either event.


    Here is the code, you can also download the attached project and experience it locally.

    List problem

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application creationComplete="compApp();" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   
                   [Bindable] private var dp:ArrayCollection = new ArrayCollection();
                   
                   private function compApp():void{
                        for(var i:Number =0; i < 10; i++){                         
                             var person:Person = new Person("Raza", "raza.jpg");
                             dp.addItem(person);                         
                        }
                   }     
                   
              ]]>
         </mx:Script>
         
         <mx:List variableRowHeight="true" width="200" height="300" id="listControl" dataProvider="{dp}" itemRenderer="ListRenderer"/>     
    </mx:Application>
    

    Element converter

    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="middle">
         <mx:Script>
              <![CDATA[
                   
                   override public function set data(value:Object):void{
                        if(!value){
                             return;
                        }
                        fullName.text = Person(value).name;
                        photo.source = Person(value).photo;
                   }
                   
                   
              ]]>
         </mx:Script>
         <mx:Image id="photo"/>
         <mx:Label id="fullName"/>
    </mx:HBox>
    
    

    Thank you

    It's actually quite simple, but quite obscure.

    Add a property in your object of the person and make sure that it is unique (or

    Wrap your Person objects in a custom for the grid object and ensure that

    which has the property uid on it).

    Take a look at the UIDUtil class (on line 325 in the 3.2 SDK) to learn more

    Details.

  • How to use the 'Get Shared Variable list' VI on a target RT?

    Hello

    I would like to browse all variables shared in a library hosted on my CompactRIO programmatically. I dropped the 'Get Shared Variable list' VI in my VI in real time, but when I tried deploying, LabVIEW says

    Deployment PRC_GetVarList.viPRC_GetVarList.vi loaded with errors on the target and was closed.
    LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListEnd:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.
    LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListBegin:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.

    I watched the wizard of the MAX software, but cannot find the DSC-based modules. Where should I look?

    Thank you!

    Hello

    The palette of DSC is not supported on the screws in real-time and will lead to errors when they are deployed.  Unfortunately, to have a successful build you will need to modify your application and remove the screws from the palette of DSC on your target of RT.

  • External files are not deployed to target

    I'm trying to follow the example in this post where the user specifies a file in the build specification which includes no - LV files.  It contains HTML files that must be deployed with the project.  It seems to be a good idea to keep HTML and JS files with the code LV that they interact with.  When I deploy the project, however, I see that the HTML and JS files are unpacked to /tmp/webservices/userservices/deployed/control-2C7CC494-343D-11DF-811F-00802F112BC5/data on my cRIO.  When I navigate to the cRIO, however, I'm not used files because they are not located in the directory/nor-rt/system/www.  Is this a bug in LV or my misunderstanding of the function?

    Found the solution.  The target doesn't have to be in the directory/nor-rt/system/www.  Carefully following the instructions at http://zone.ni.com/devzone/cda/tut/p/id/7747#toc15 provided the solution.

  • In summary a list of the controls in a list control?

    I have a spreadsheet with 5 columns, the values of each column, 1, 2, 3, 4 and 5. I also have seven rows. In each cell, I placed a list of control box.

    How can I get a column to add controls? By example, if I ticked both boxes in the column a value of 3, how I summarize to read 6?

    Thank you very much

    Michael Kelly

    Hi mckelly,.

    You can use COUNTIF()

    I used the column headers a multiplicand, but you can use just 2-5 in the formula.

    Quinn

  • Variable is shared deployed on target RT retains its value after restart?

    Shared, deployed on a real-time target variables are stored in the nonvolatile memory or RAM? It will hold its value after reset or power/power on? I tested and it seems retains its value, but I have found no documentation on this subject of NEITHER.

    Kind regards

    Tom

    Hello

    There are several components involved in the way the variables are stored on a target, but a part of which is in a non-volatile memory. Shared variables local to the target RT will not retain their value. Any reading of the data of the target host will receive the last value of the target before restarting given that the host is not at the same time re-started. The reason why it is that there are 2 shared engine variables at work; one for the host and one for the target. Since only the target has been restarted, the variable engine shared on the host retains its last value while the engine on the target will be set to 0, false them or an empty string. Here is an example of a community that "Monitor" [s] to the State of emptiness in RT FIFO active shared Variable'.

    Best,

  • List of deployed applications. Different results for different hierarchies of MBean

    Hello

    When I list deployed applications, I get different results depending on what hierarchy MBean I question:

    • serverConfig():
    wls:/MY_WEBLOGIC_DOMAIN/serverConfig> listApplications() APPLICATION_1APPLICATION_2
    

    • domainRuntime():
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls()
    -r--   ApplicationIds                               java.lang.String[APPLICATION_1, APPLICATION_2, APPLICATION_3]
    

    No idea why is APPLICATION_3 in the list?


    Thanks in advance,

    Luis


    PS: if I apply directly to the managed server:

    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/ServerRuntimes/prodGAD_1> ls('ApplicationRuntimes')
    dr--   bea_wls9_async_response
    dr--   bea_wls_cluster_internal
    dr--   bea_wls_deployment_internal
    dr--   bea_wls_diagnostics
    dr--   bea_wls_internal
    dr--   APPLICATION_1
    dr--   APPLICATION_2
    

    Hi Vijaya,

    Thanks for your reply, yes you are right, my config.xml file I see this request:

      
        APPLICATION_3
        ...
        ear
        ...ear
        DDOnly
      
    

    But now that I read your response, I already rebooted the AdminServer. This new beginning has resolved the problem.

    Thank you

    Luis

Maybe you are looking for