Attempting to Launch Data Control windows using reentrant execution using LV7.1

Need to get several devices connected to one Data collection System. Each Window will poll its assigned device and get a data packet which needs to go into a histograph. All the devices then need to pass their data back into the main window to be calculate the overall state of the system.
Now I am trying to create a single VI that will be reentrant and can be repeatedly called, handed a device, and go on it's way. I can't seem to get this idea to work though. I have included my testbed VIs I am trying to just get the reentrant code to open several FPs but with no luck so far.
and clues what is wrong with it or is this not possible on 7.1?
Attachments:
main.vi ‏84 KB
Secondary.vi ‏46 KB

I just can not figure out how to make my template "run" when I open it. It just sits there and doesn't do anything.
Attachments:
main.vi ‏86 KB
Secondary.vit ‏53 KB
Globals.vi ‏6 KB

Similar Messages

  • Need to Set Current Row when Using Built-in Data Control Delete Operation?

    I have an af:table bound to a ViewObject (VO) collection (no Entity Object) - within each row, I include a column that contains a 'Remove' command button so the user can remove the row. I add the command button by dragging/dropping the built-in delete operation from the VO on the Data Control Palette. When I use this as is (no changes), the Remove button always deletes the first row in the collection, not the selected row. Do I need to add code to set the current row, and if so can someone please provide an example and specify where I need to add? thanks.
    ------ .jspx af:table with command button to remove each row ------
    <af:table value="#{bindings.ListView1.collectionModel}" var="row"
    rows="#{bindings.ListView1.rangeSize}"
    first="#{bindings.ListView1.rangeStart}"
    // note: I don't have any code added for selectedRow or makeCurrent - assuming this is built-in?
    selectionState="#{bindings.ListView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ListView1.collectionModel.makeCurrent}">
    <af:column>
    <af:commandButton actionListener="#{bindings.Delete.execute}"
    text="Remove"
    disabled="#{!bindings.Delete.enabled}"/>
    </af:column>
    ---------- corresponding pagedef file ------------
    <bindings>.....
    <action id="Delete" IterBinding="ListView1Iterator"
    InstanceName="SrchDataControl.ListView1"
    DataControl="SrchDataControl" RequiresUpdateModel="false"
    Action="30"/>
    </bindings>
    Note: I also tried solution posted on following thread, but again, only first row is deleted, not the selected row?: Delete and Commit
    Message was edited by:
    javaX

    I just want to delete (or remove) it from the VO. Data for this VO is not on the database.
    The function is doing what I want it to do (delete from the VO), its just always deleting the first row, versus the selected row. I select the command button next on a column next to an item further down in the list and it deletes the first row. The problem is setting the selected row to be removed - I thought setting the current row would be taken care of by the SelectListener?
    selectionState="#{bindings.MyIspListView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.MyIspListView1.collectionModel.makeCurrent}"

  • Using WebCenter Spaces Web Service API through JDeveloper's Data Control

    Hi,
    I'm trying to access WebCenter Spaces Web Service API (located at http://host:port/webcenter/SpacesWebService)
    using JDeveloper's Web Center Data Control.
    I created a data control in my portal project using JDeveloper's Web Service Data Control wizard.
    I also created and configured key stores (jps-config.xml) at both sides (spaces server and my portal client).
    How I created a data control:
    * First I entered the name and the URL (http://host:port/webcenter/SpacesWebService?WSDL)
    * Then I entered HTTP basic authentication details (user name and password)
    * After that I drag-and-drop the getGroupSpaces() method from the data control to a .jspx page as a ADF read-only table.
    * Then ran my portal project and navigated to this .jspx page and it worked. List of group spaces appeared well on that page.
    The problem is that I got only public group spaces and group spaces created by the user I entered on HTTP basic authentication details.
    I makes no sense to enter some static user details in a web service client (or a data control).
    So the question is; can I use identity propagation to get only group spaces created by the same user which I logged in my portal?
    Edited by: 832886 on Feb 18, 2011 3:09 AM

    Hi,
    You generally get NameError when you are executing the createCred/updateCred from a incorrect location. Are you using the wlst from oracle_common\common\bin?
    Also, In your steps I don't see what you did to populate the walllet at JDeveloper end after your updateCred failed. This is a required step. Use the wlst from the location emntioned above and you should be able to proceed.
    Thanks,
    Vishal

  • Using UCM data controls in ADF application

    Using *.6 Jdeveloper/UCM/Protal Application/UCM
    Calling all the experts in Webcenter/Spaces/UCM/ADF.
    We have a requirement to design search inteface for Documents stored in UCM for Webcenter Portal and Spaces application.
    Our approach is
    Design simple ADF application (no security/templates)
    Bounded task flows using fragments.
    Framents to use UCM data controls (provided by oracle)
    UCM data control definition is extended to use custom metadata.
    package the application.
    Added as ADF library jar to portal application
    Added as Shared Library to Spaces application.
    Question.
    Is this approach sound?
    Does UCM data controls provide all the functionality, for example if we want to read a option list for custom metadata or need custom metadata in return table?
    Can we add other methods to UCM data control provided by Oracle or should we create different one?
    Is there good documentation for such requirements. We have acces Webcenter developers guide which throws some light on UCM data controls.
    Let me know if more clarity is needed...
    Regards

    Hi.
    One of my last components was a custom "Document Explorer" and I used for first time JCR Data Control (Custom UCM Data Control provided by Oracle).
    Sharing my experience I did something similar to you:
    1) Create a ADF Bounded Task Flow and test it individually.
    2) Add generated ADF JAR Library to WebCenter Spaces shared-lib.
    3) Add your Task Flow to Resource Catalog.
    Challenges that I found using custom Data Control:
    1) When items retrieved are content/files all custom metadata can be retrieved OOTB.
    2) When retrieving folders don't provide custom metadata like files. I used RIDC with JCR Data Control to provide all the information relative to folders. If you don't need more information about folders than the name, URI and icons then is OK :).
    3) Using JCR Data Control registers in DataControls.dcx UCM Connection name used when generate JCR Data Control. After deploy your ADF JAR Library in WebCenter Spaces you'll have problems if you don't have a WebCenter Content Connection created with the same name. (Not talking about export UCM Connection with ADF JAR Library, Data Control uses a Connection name by itself :)).
    I added extra functionallity with RIDC (not extending JCR Data Control).
    I hope this help you.
    Regards.

  • Can't retrieve username using expression builder on a run time data control

    Here's the scenario:
    1. I added a Data Control resource in WebCenter Spaces, which has one paramater to get: username.
    2. I added the Data Control in Oracle Composer, and selected the return method to show as a read only form.
    3. In adding the Return method, under DC Parameters I have to get the username and place it on my parameter, ie: arg0 = username. arg0 is my data control parameter.
    I tried using every possible code there is in the Expression Editor to retrieve the username, but I keep getting null when I test it. I've tried *#{securityContext.userName}*, *#{webCenterProfile[securityContext.userName].userName}*. I also tried creating a page parameter, and use it like this: *#{bindings.myUsername}*, but still won't work. Its always null.
    How do I retrieve the username and bind it to the parameter of my data control using expression editor? Please help. Thanks.
    Edited by: aeriaL18 on Aug 13, 2012 12:15 PM

    Hi ,
    I believe this should be posted to Webcenter Portal forum : WebCenter Portal
    Thanks
    Srinath

  • Calling webservice in code using data control ADF Mobile

    Hi,
    I am calling webservice in code using data control. Below image is show my binding.
    https://www.dropbox.com/s/ufjnnd67mfaeucq/Snap%202013-05-13%20at%2011.49.17.png
    My code is :
    ValueExpression ve1 = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescriptionIterator}", AmxIteratorBinding.class); // Using IteratorBinding
    AmxIteratorBinding iter = (AmxIteratorBinding) ve1.getValue(AdfmfJavaUtilities.getAdfELContext());
    GenericType row = null;
    iter.getIterator().first();
    iter.release();
    for(int i = 0; i < iter.getIterator().getTotalRowCount(); i++)
    row = (GenericType)iter.getCurrentRow();
    Integer s = new Integer(i+100);
    row.setAttribute("deptId", s);
    This code is work fine in POJO data control. But When I used this code for calling webservice data control then i get following error.
    can not find property bindings.
    And I also use below code but same error occur.
    ValueExpression ve1l = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescription.collectionModel}", AmxCollectionModel.class); // Using CollectionModel
    AmxCollectionModel model = (AmxCollectionModel)ve1l.getValue(AdfmfJavaUtilities.getAdfELContext());
    Object[] myArr = model.getKeys();
    for (int x = 0; x < myArr.length; x++)
    Object myObj = myArr[x];
    Map provider = (Map)model.getProviders().get(myObj);
    String deptName = provider.get("deptName").toString();
    }

    !!!! IMPORTANT !!!!
    The use of +*#{data.view_FlexFieldDisplayPageDef.publicflexfieldflow1.regionModel}"*+ in your code is an *absolute no-go and serious coding issue* as there is no guarantee that this PageDef file exists in the application you use the declarative component in. Even if you don't plan to use the declarative component anywhere else, you should pass the model reference as an input attribute to the declarative component so it can be configured by each use of the component
    Frank

  • Human Task Flow conflict on Data Controls generation

    Hi, I have two distinct human tasks in one process. When I use new-> JSF-> ADF task flow from Human task to create the task flow for the second task to the same public-html/web-INF folder as the first one, after the generation, the data control for the first human task flow will disappear from the data control window.
    I am trying to rebuid my old app into a new app. Although I can create two distinct human task flows in my old app, no luck in the new app. Both apps use JDev 11.1.1.5 and on the same machine. Anybody can give me some hints on the issue?
    Thank you

    Juan C,
    I use JDeveloper 11g Release 1.
    May be I didn't explained my question correctly.
    taskdetails1 is creating, and in Data Controls I have objects of my BPM Human Task Payload.
    But in that file "PackageCreation.task" in source I can't find any link to instantly created TaskFlow.xml in my UI project.
    So, I have
    NEW project "PackageCreationUI" with PackageCreation_TaskFlow.xml in it (and TaskDetails1 file too).
    AND Did't Changed PackageCreation.task in BPM Project.
    If I use *"BPM form creation wizard"*, after creating project and TaskFlow in it I see Changes in PackageCreation.task in BPM Project, something like that:
    <taskFlowFileLocation>file:/C:/JDeveloper/mywork/testApp/PackageCreationUI/public_html/WEB-INF/PackageCreation_TaskFlow.xml</taskFlowFileLocation>

  • Should we really go for bean data controls for a new project?

    Hi,
    I am still new data controls and trying to figure out the advantages of using bean data controls for our new project. Our UI is going to have customized UI components and our back end is going to be a tcp/ip server.
    Is it a good idea to develop java beans and then create data controls to bind to UI layer? I think it makes sense to use data controls if we want to use existing java beans. Maybe we would be separating the model layer by using data controls, but only thing it would be doing for us would be the simple object calls to my java beans. Would it be better to use data controls or use I choose to make object calls?
    Thanks,
    Manoj

    Hi,
    the POJO data control will always give you a benefit and develope productivity, unless what you have to build fits on a single page - in which case you may not mind the burdon of manual UI component binding
    Frank

  • JDev 11.1.2 dropping a data control creates new DataControl Usage

    After installing JDev 11.1.2 in a new Oracle Home I've been dealing with some weird behaviors
    Now, each time I drag a Data Control into a page, a new Data Control Usage is created. However, View objects do not appear inside Data Control in the bindings view of the page.
    After draggin AppModuleDataControl--> AccessView1 to a .jsff page, in the binding it creates:
    Bindings: AccessView1
    Excutables: AccessView1Iterator
    Data Control: AppModuleDataControl46
    I've reinstalled JDev in a new folder with no luck.
    Have anyone faced this issue or has any ideas of why this happens
    Maybe this is expected behavior but then I must have another problem as View Objects do not show in the Data Control Window in the Bindings
    Thanks in advance,
    J.-

    Hi Frank
    "what other information is needed to reproduce this?": Tricky question...Got me thinking.
    Finally, after some experimentation, this and other weird behaviors went away after restoring the ViewController.jpr from a backup, Cleaning the project, deleting all the /classes folders and rebuilding all.
    I'm not sure what failed during the migration process as these problems appeared right after first opening the application with JDev 11.1.2. However, as I've opened other applications which migrated fine, and haven't seen anyone else complaining about a an issue like this, I must conclude this happened because an isolated, uncommon, combination of facts not worth to further investigate.
    Thanks for your help!!
    J.-
    Edited by: jpolanco on Feb 28, 2012 5:27 PM

  • Shared Data Control

    Dear All,
    I often find myself reading documents regarding
    shared data control and transaction in taskflow but I often
    scratch my head what does it mean?
    I googled about it but cant find a good resource othat explains the relevance of the topic
    in ADF programming.
    Can somebody please share a link or a resource where I could read about it?
    Thanks.

    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_parameters.htm#ADFFD1693
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bclookups.htm#ADFFD1596
    "Use Existing Transaction if Possible and Shared data control scope options should be used, as, this option will reuse an existing transaction if available from the calling task flow, or, establish a new transaction if one isn't available."

  • JDev 10.1.3 and data control

    I didn't find the data control palette in JDev 10.1.3. Does it mean data control are not yet implemented in this preview or do i something wrong ?
    Is it possible to obtain a version with data control implemented. We only use this portion of adf with ejb.

    thanks
    i'm a little bit confused by the fact that jsf in 10.1.3 preview use managed bean (instead of data control) to get/put data from the model layer.
    we are using entity bean and session facade. In 9.0.5.2 we are using dto and data control to generate our jsp.
    we are currently testing/discovering jsf and search the best way to efficiently generate our ui's
    what is right way for jsf
    a) managed bean (if it is possible with session bean)
    b) data control when/if available
    and why ?

  • Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to

    Hi, I have just loaded Lightroom 5 from the disc onto my Mac.  every time i try and launch the application, it goes to the registration/licence window.  i have input the data five times already.  When Lr5 launches the update window appears, when i try to do anything the following message comes up: - An error occrred when attempting to change modules.  What do i need to do to fix this?

    Masher please use the uninstaller located in the Applications/Utilities/Adobe Installers folder.  Once Photoshop Lightroom is removed then please download Lightroom 5.5 from Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5 and reinstall.

  • Is it possible to create data control from wsdl when complextype is used

    Getting DCA-40015 error when trying to create a data control from WSDL file.
    The error clearly says complextype is not supported . just trying to see if there are any workarounds . because creating data control will save time in developing user interface by dragging and dropping the the data control in jsf page. jdeveloper webservice tester is able to create user interface for me based on wsdl when i run it , trying to develop the user interface using jsf pages
    oracle.adf.model.adapter.AdapterException: DCA-40015: Failed to create the structure for schema element "result". The complex type definition of the element is not supported.

    Hi,
    I could reproduce what I did:
    - created WebService from custom Pojo Model
    - Made sure all entities implemented serializable
    - In the WebServices Wizard, I created XML representations for my entities
    - tested with OC4J WebServices tester
    - Built ADF data control from WSDL file of deployed WebService
    - Created dependency t project containing the POJO entities
    - Selected result.xml of each method exposed in the WebService project
    - In the structure window, selected "item" (result-->item)
    - changed Bean class to my entity class name (absolute name)
    This showed my entity in the DC palette
    Frank

  • Any Examples of using ActiveCollectionModelDecorator with POJO data control

    Are there any Examples of using ActiveCollectionModelDecorator with POJO data control in any of the sample packs?

    OK, here's an quick example. Create a new Windows Forms application and add a ScatterGraph and a Label to the form. Add a cursor to the ScatterGraph, then add the code below to the form. This generates 50 random data points when the form is loaded and plots them, then uses the cursor's AfterMove event to display the current X and Y positions in the label. Here's the code:
    Private Sub OnFormLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Const dataLength As Integer = 50
    Dim xData(dataLength - 1) As Double
    Dim yData(dataLength - 1) As Double
    Dim rnd As Random = New Random
    For i As Integer = 0 To dataLength - 1
    xData(i) = i
    yData(i) = rnd.NextDouble() * 10
    Next
    ScatterGraph1.PlotXY(xData, yData)
    End Sub
    Private Sub OnAfterMoveXYCursor(ByVal sender As Object, ByVal e As NationalInstruments.UI.AfterMoveXYCursorEventArgs) Handles XyCursor1.AfterMove
    Label1.Text = String.Format("({0}, {1})", e.XPosition, e.YPosition)
    End Sub
    Hope this helps.
    - Elton

  • Firefox hangs on any attempt to launch with only about 20K showing in Windows Vista Task Manager.

    I am using Firefox version 6. Under Windows Vista Home Edition Premium, the application attempts to launch, but it hangs with only about 20K showing loaded in Task Manager. It will stay with only that small amount of RAM used for extended (several hours) period of time with no change, and no launch. It normally will show a launch if it has loaded 110K or more as a general rule. It will load in Safe Mode with all add-ins cut off, and I will continue to use it in this mode until I can find a fix that will work with all of the things loaded that I want to run. Thank you for your time.

    I know that I can load Firefox 6.0.2 in Safe Mode with all add-ons disabled, and it will run fine. Maybe I should just settle for this for now.

Maybe you are looking for

  • How can I disable Expose?

    Pardon my ignorance but I'm new to the Mac world. I want to use the keyboard shortcut <Shift+F3> in my text editing software to toggle the ChangeCase command but this combination seems to have a life of its own - it activates Expose even though I hav

  • How to find index of row in dynamic table?

    Our form has a table to which the user can add rows.  We want to be able to edit the custom help text of each field in the row to add the row number for accessibility.  But need the index number of the row to reference the row of the fields. And we c

  • Slow 2015 mac mini

    Hi all, Got a mac mini that I've had about 3 months. I was brought to replace the 2007 imac I had. I installed the mini by restoring the old time machine back up. I don't use it for much power hungry stuff (web, email, excel etc) but not all at the s

  • I need to move an iTunes purchase from an iMac 2.7ghz to a G5 PPC 1.8 using Home Sharing ?

    I need to move an iTunes purchase from an iMac 2.7ghz to a G5 PPC 1.8ghz using Home Sharing  ¿?¿

  • Error: linguistic initialization failed CTXSYS.CTX_DDL

    Hi, When I run my application in client side ocurrs this error: DBExecSQLCommand SQLExecute S1000 [Oracle][ODBC][Ora]ORA-20000: interMedia Text error: DRG-11422: linguistic initialization failed DRG-00100: internal error, arguments : [52100],[drxs.c]