Pass value to FPGA I/O node in FPGA.vi from Host.vi

How do you pass a different value to the FPGA.vi I/O node from the Host.vi??  In the FPGA I made the I/O node a "control" but when I try to use Read Write control in my host none of the I/O show up in the drop down selection.  All my booleansare there.   See screen capture.
Thanks..
Solved!
Go to Solution.
Attachments:
fpga I_O.jpg ‏124 KB
fpga I_O.jpg ‏124 KB

nathand wrote:
Ben wrote:
You have to recompile the FPGA code and then relink to the new version for the control to show up. The "wire" has the infor on the control and if you are using an wire that did not know about the new control...
By the way, if you're using a reference to an FPGA VI (and not a bitfile), there's no need to recompile to pick up changes to the controls on the front panel of the FPGA VI.  However, IO node references do not propagate to the host VI.  The reason for FPGA IO node controls is for subVIs within an FPGA design, not for host-to-FPGA communication.
Unfortunately, this really is a bit misleading. When I was first learning FPGA, I got caught up in this when I tried to use a config file to set the IO nodes up like you would for DAQmx. I understand why it isn't really possible, I just wish there was some way it would notify the programmer of this. I even took the FPGA class from NI and I don't think they ever mentioned this was not possible.
I do like the idea of routing the signals using a case structure though, that's a good idea. The only issue is if you want to have all channels available without a recomile, you have to acquire from them all even when unused, just in case the user decides to use them down the road.
CLA, LabVIEW Versions 2010-2013

Similar Messages

  • Passing values to ABAP/JAVA  webdynpro appl. when workitem invoked from UWL

    Hai,
    We are using universal worklist for invoking a workitem. The workitme may trigger a ABAP/Java based webdynpro application. I have registered the tasks associated with the workitem in universal worklist.
    I have few doubts in the integration part,
    1. When a workitem is clicked in UWL, I want to get some values from the workflow container and show it on the webdynpro application. In the webdynpro application I can call a function module to get the values from workflow container by passing in workitem id.How can I pass a workitem id to webdynpro application when a workitme is clicked.
    2. After the user open the workitem a webdynpro application is shown on the screen. Lets assume this screen is having "Approve", "Reject" and "Exit" button. When this button is clicked how to pass that information to workflow so that the workflow flow its paths.
    Please let me know how to do this.
    Thanks & Regards,
    H..K.Hayath Basha.

    Hai Chintan,
    I checked the blog, and found the below code,
    workflowrawdata =
        wd_context->get_child_node(
              'WORKFLOWRAWDATA' ).
      CALL METHOD
                  WORKFLOWRAWDATA->GET_ATTRIBUTE
             EXPORTING
                     NAME   = 'WI_ID'
             IMPORTING
                      VALUE  = wi_id.     
    I have the following doubts in the code,
    1. Where I have to put this code,
    2. Using which data element or type I have to declare, "workflowrawdata".
    3. Should I have to declare "WI_ID" in parameter tab of Webdynpro application.
    4. In webdynpro application what I did is,
    a. In the context of component controller, i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    b. I created a view and in view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    c. I created some UI elements in the view and binded that UI elements with view context.
    d. I binded view context with the context of component controller.
    e. I created a window and in the view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    f. I did context mapping between window context and component controller context.
    g. I added the view to the window.
    h. I created a inbound plug with name "START". This creates a method called "HANDLESTART" to this method I added a importing parameter named "WI_ID" and added the below code,
    data : lo_node               type ref to IF_WD_CONTEXT_NODE,
           l_cont                 type standard table of swr_cont,
           l_cont_line            type swr_cont,
           rc                     type sy-subrc,
           l_wi_id                type sww_wiid,
           l_object               type SWOTOBJID,
           lv_workitem_attributes type swr_wihdr.
    call method wd_context->get_child_node
         exporting
           name = 'WORKFLOWRAWDATA'
         RECEIVING
           child_node = lo_node.
    lo_node->set_attribute( value = wi_id name = 'WI_ID' ).
    l_wi_id = wi_id.
    Please let me know what else i have to do to get the workflow id in ABAP-Webdynpro application.
    Regards,
    H.K.Hayath Basha.
    i.

  • Programatically passing values to a content selector

    HI,
    Currently Iam manually providing values to a property while creating a content selector from BEA Workshop.
    Please let me know whether it is possible to programmatically pass values to a property while creating a content selector from BEA Workshop.
    Thanks and Regards
    Karthik Dhanaraj
    email : [email protected]

    Hi
    have you looked at pz:contentSelector tag , the query and appendQuery attribute?
    query
    Optional (String) - A content query string used to search for content. This query overrides any query that was defined for the Content Selector in the Content Selector designer.
    Example:
    query="cm_contentType contains 'text' && author='Salinger'".
    appendQuery
    Optional (String) - A content query string to append to the resulting content query from the rule. If the content selector rule conditions do not match, this value will be ignored. If this value starts || (two vertical bars), it will be logically OR'ed with the content query. If it starts with && (two ampersands), it will be logically AND'ed with the content query. If it doesn't start with || or &&, it will be logically AND'ed with the content query
    You can also programmatically achieve what this tag does
    regards
    deepak

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

  • Issue passing values to text symbols in Dynamic text PDF forms

    Hello Everyone,
    I am facing a problem related to Dynamic texts in Adobe PDF forms (Text node of type include text). I am able to pass the dynamic values to the Text node properties but i am not able to pass the values to Text symbols inside the Text node. When tested it says the field not found. I have the same structure and field in the CONTEXT as that of the text symbol. The problem i see is because in PDF the field names have $record.(fieldname) ?
    Please share your thoughts if anyone has faced similar problem or know how to handle it.
    Thanks a million in advance,
    Chandu

    Open the report up in the Designer and Click on Edit, Subreport Links. Likely what you can do is use Shared Variables to pass values from the main report to the subreport.
    You need to do this in the report first. If you are using RAS then you can at runtime. If RAS is not available to you then no way in code.
    See these samples:
    Root Page
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessIntelligence%28BusinessObjects%29+Home
    Enterprise Samples (including managed and unmanaged ras)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
    Non-Enterprise Samples
    http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
    Exporting Samples (RAS)
    http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
    Also refer to the DSK help files for the Engine or RAS and search on the subreportcontroller.
    If you are using RAS I'll move your post to the SDK forum.
    Thank you
    Don

  • PASS VALUES TO FORMULAS

    hi all
    Anyone knows how to pass values to a formula in a report.
    I mean i do not neet to pass value to a record selection formula .
    I need to pass to a formula!
    With java and CR4E exists any interface that does this?
    please help it's really urgent!

    See my comment on your post in another forum:
    http://diamond.businessobjects.com/node/4228
    -MJ

  • Passing values to a VI that is open dynamically?

    Hi!
    I need to pass values to a VI that I am openning dynamically.  I tried to open the VI and then pass the values as if it were a subVI.  This works, but has some problems.  The calling VI is "stuck" in the event case until the VI that is called is properly closed.  What I want to do is open the VI, pass the values to the VI, and then allow the user to close/stop that VI if they want or just minimize it and go back to the main VI.
    I tried to do this using Shared Variables, and that worked, but it seems like there should be a better way to do this.  This project does not really need shared variables.
    Attached is an image of where I am currently at by openning the VI and then passing the values as if it were a subVI.  Just thought of something:  it would also be nice if I didn't have to do any file/path name coding.  I don't like how that file name is now hard-coded into the block diagram for that VI.  I like how subVIs update their name automatically from within the same project.
    Thanks for your help!
    -Nic

    This topic is not a simple one, but there are several ways to do this and the correct solution basically depends on what it is you actually want to do. Here are some relevant points. It's definitely not coming close to properly covering the topic:
    What you're doing now is irrelevant - you could just call the subVI and set its FP to open when called.
    You can get the path by doing this:
    You can run the VI dynamically by using the call by reference node, but that will also make your event loop wait for the call to be over.
    You can use a message handler or a queued state machine running in another loop to open the VI. You can see some examples in LabVIEW's File>>New dialog or on the web. Here's one example.
    You can communicate between VIs using notifiers, queues or LabVIEW 2 style globals (example).
    I suspect that in your case, what you want can be accomplished by running the VI as a parallel process (simply place it outside your main loop) and then use invoke nodes to open its FP when needed. You can get a reference to it by using the static VI reference object found in the Application Control palette. You can communicate with it using any of the methods mentioned in the previous bullet.
    I suggest you do some searching for methods for communicating between VIs. There is a lot of material online.
    Try to take over the world!

  • Trouble passing values to subpanels

    I seem to be having issue pass values to my sub VIs in a subpanel.  I'm using the invoke node and control value set command.
    I am able to pass a database reference that I'm using, but when I try Boolean values, I get no response.  I'm also trying to use one of the Boolean values to fire an event.  The front panel of my sub VI looks as though the FP button is being pressed, but my value doesn't change and my event doesn't fire.
    I've reviewed as may forum threads as I could and have looked through the bug reports without any luck.  Any ideas?

    attached is the code snippet.   You can use this as a subVI in place of where you are setting the control value or just hammer the code in directly.  Add error handling as you see fit, although you should note that if you use the error handling within the for loop, you will probably get an error, probably better to move the 'to specific' outside the loop.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?
    Attachments:
    setCtrlValSignal.vi ‏11 KB

  • Dropdown - issue with passing values to context

    Hi,
    After facing issue in:
    Webdynpro + alv + dynamic dropdown
    Now I've encountered another problem. Dropdown is created in alv, however once user select value from the list it shows selected value in the cell, however value in context remains unchanged.
    Here is the way I implemented dropdown:
    1) I added new field to the structure which is shown in the alv FIELD1 of WDR_CONTEXT_ATTR_VALUE_LIST type.
    2) I initialize the column, where dropdown is supposed to be:
    - first column
    l_col_name = 'COL1'.
    lr_column = lr_model->if_salv_wd_column_settings~get_column( l_col_name ).
    DATA: lr_drdn_by_idx_col1 TYPE REF TO cl_salv_wd_uie_dropdown_by_idx.
    CREATE OBJECT lr_drdn_by_idx_col1 EXPORTING selected_key_fieldname = l_col_name.
    lr_drdn_by_idx_col1->set_valueset_fieldname( value = 'FIELD1' ).
    lr_drdn_by_idx_col1->set_read_only( value = abap_false ).
    lr_drdn_by_idx_col1->set_type( if_salv_wd_c_uie_drdn_by_index=>type_key_value ).
    lr_column->set_cell_editor( lr_drdn_by_idx_col1 ).
    3) I load the data,
    Piece of code loading data into structure with dropdown:
    DATA:  ls_valueset     TYPE wdr_context_attr_value,
                lt_itab         LIKE TABLE OF ls_line.
          ls_valueset-value = 'KG'.
          ls_valueset-text = 'KG'.
          APPEND ls_valueset TO lt_itab[].
          ls_valueset-value = 'ST'.
          ls_valueset-text = 'ST'.
          APPEND ls_valueset TO lt_itab[].
    zstructure is type of the row show in the alv
    Data:
         ls_po_result TYPE zstructure.
         lt_po_result TYPE table of zstructure.
         ls_po_result-FIELD1[] = lt_itab[].
         APPEND ls_po_result TO lt_po_result[].
    Everything works so far good. The thing is that once I changed value from e.g. ST to KG, value in Attribute COL1 is still ST.
    I would appreciate your help,
    kind regards,
    Adam

    Hi Nithya,
    it could another issue with the SP, I will inform you if it's the case.
    Passing values comes up with function when I load data into alv.
    structure_name - alv columns structure
    DATA: l_name1        TYPE t001w-name1,
              ls_po_result   TYPE structure_name
              lt_po_result   TYPE table of structure_name,
    load data from DB into l_itab
      LOOP l_itab  AT ASSIGNING item.
    this method return value_set to field1
        CALL METHOD fill_single_dd
          EXPORTING
            i_id     = item-id
          IMPORTING
            rt_dd_table = ls_po_result-field1[].
        APPEND ls_po_result TO lt_po_result[].
      ENDLOOP.
    binding to node ....

  • How to pass values between views in FPM - GAF

    Hi Experts ,
    i have a doubt in FPM how to pass values between views .
    For Example:  i am having 2 views -  1 ) overview , 2 ) edit  using  the GAF
    in 1st view (overview ) i have a table displaying the employee details , i will select a single employee from that table for editing .
    how to pass the selected employee details to the 2 nd view (edit ) .
    Thanks & regards
    chinnaiya P

    Hi chinnaiya pandiyan,
    Please follow below steps:
    1. To achieve this u need to create two context nodes in the component controller.
    2. Say one is EMPLOYEE_DATA and other is SELECTED_DATA.
    3. Set the Cardinality of EMPLOYEE_DATA to 0..n and SELECTED_DATA to 1..1.
    4. Add same attributes to both nodes. (probably all those fields that are required in table and/or in edit view.
    5. Map both these nodes to OVERVIEW view.
    6. Map only SELECTED_DATA node to EDIT view.
    7. Create table in OVERVIEW view based on EMPLOYEE_DATA node.
    8. Create edit form in EDIT view based on SELECTED_DATA node.
    9. While navigating from OVERVIEW view to EDIT view, read the selected element of EMPLOYEE_DATA node and copy it to an element of SELECTED_DATA node. This should be written in PROCESS_EVENT method of component controller inherited from FPM component.
    10. Now u got the selected data in SELECTED_DATA node which will be displayed in EDIT view.
    Regards,
    Vikrant

  • How to Pass values between one webdynpro application to another

    Hi ,
        I know How to Pass Values Between the Application by URL But For My Requirement NO need The Pass in URL Rather Than That Please any one TEll me How to GEt VAlues BEtween the application......
    Thanks
    ANANTH.

    If you dont want to pass values through URL, then you must have to use component Usage with interface node.
    Or you can try like this,
    by appending field value to url,
    Data w_url type string,
    w_value type string.
    get the url of calling aplication
    call method cl_Wd_utilities->construct_wd_url
    exporting application name = name of second application( to which u want to pass parameter )
    importing out_absolute_url = w_url.
    ***Make the value type compatible that has to passed with url.
    w_string = lv_pernr
    ***Now attach the parameter and its value with url that have to passed to 2nd application
    call method cl_http_Server=>append_field_url
    exporting name = 'pernr'
    value = ' w_value'
    changing url = w_url.
    then popup window for 2nd application with above url
    lo_window = lo_window_manager->create_external_application ( url = w_url ).
    lo_window -> open( ).
    ***now in wddoinit of 2nd application
    data lv_param type string
    lv_param = wdr_task=>client_window->get_parameter( ' pernr ').
    Now you can use lv_param in 2nd application.
    Regards
    srinivas

  • Pass values between views of different window

    Hello Experts,
    I am a newbie in ABAP Webdynpro. I have 2 views in 2 different windows. I want to pass values calculated from one view to the other view. But i cannot connect the views.
    If the views were within the same window, I could connect them using inbound and oubound plugs with parameters. However in this case i am unable to establish the navigation link between these 2 views.
    Has anyone of you experts come across such kind of requirement? If so, can you please guide how to connect the 2 views?
    Thanks and regards,
    Nitish.

    Everyone,
    I was finally able to connect the 2 views by using the component controller.
    I created an attribute on the context of the component controller and read/set of the attribute of component controller on the button click event.
    To access the attribute of the component controller, please find below a code snippet which was useful to me:
    Data declaration for accessing the component controller
    DATA:
           lo_component     type REF TO if_wd_component,
           lo_context       type REF TO if_wd_context,
           lo_controller    type REF TO if_wd_controller,
           lo_node          type ref to if_wd_context_node,
           lo_child         type REF TO  if_wd_context_node.
    DATA lo_el_test_depts  TYPE REF TO if_wd_context_element.
    get component controller API
      lo_component = wd_comp_controller->wd_get_api( ).
      lo_controller ?= lo_component.
    accessing the context of the component controller
      CALL METHOD lo_controller->get_context
       RECEIVING
       context =  lo_context.
    lo_context is the required context, from here we can manipulate its components
    get to the root node in context of component controller
      lo_node = lo_context->root_node.
    using lo_node i was able to  read and write to the attribute i created in component controller.
    Thank you all for your help.
    Nitish.
    Edited by: Nitu_0105 on Apr 8, 2011 3:29 PM

  • Background Job pass value

    Hi, I am calling a Background job in my program. I am using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE FM to start a job. My need is to pass a value to the job program(job program doesnt have any selection screen values). Is their any way without creating variants each time to pass value to it.
    Please advice.....

    Hello,
    You can first use  JOB_OPEN which returns job number. Then build ranges or parameters to use SUBMIT to call the program.
    Eg: SUBMIT RM06BB20 AND RETURN
          WITH S_EKGRP IN R_EKGRP
          WITH S_EKORG IN R_EKORG
          WITH S_FLIEF IN R_FLIEF
          WITH S_KONNR IN R_KONNR
          USER sy-uname VIA JOB w_jobname
          NUMBER w_job_number.
    Now use JOB_CLOSE.
    Thanks,
    Venu

Maybe you are looking for

  • Why receiver is stopped

    i am creating rtp mixer . for that i have made a program which receive rtp stream and then transmit it . The problem with this code is that it first create receiver(it is a player) from the received rtp stream but receiver is stopped when treansmitte

  • Load xml to Datagrid, add row or edit and save it to the xml file??

    Good afternoon, I know how to load the xml, add a row or edit the data in a datagrid . Only thing I dont't  know how to save the changes to the xml file. I'm ussing Flash Professional CC and it wil be an Adobe Air desktop application.

  • HT201335 mirror foxtel go with air play on the Apple TV no picture.

    TRying to mirror foxtel go with air play on my Apple TV. I can get audio but no picture. Just the foxtel go logo. Is there a work around?

  • Information in  export dump

    Hi, What information/data is stored in export/expdp dumps? Are these the ddl and dml statements to be applied while importing/impdp stored in binary form? Regards, Saikat Banerjee Edited by: Saikat Banerjee on Aug 11, 2012 7:25 AM

  • Desactive the option "create serial number automatically"

    Hello I´am using serial numbers for certain materials with Stock check, and in my serial number profile the procedure MMSL (maintain goods receipt and issue doc.) is set the serusage 03 (obligatory). I need this configuration, so I can control stock