Your comments on my cRIOs with user interface architecture

I'm designing a system to measure different signals. I use at least 3 cRIOs 9074 to acquire data and optionally a temperature control. I am required to create a user interface for all 3 cRIOs, even when they control the various processes. In addition, I need to use a Yokogawa data acquisition system as an extension of the cRIO channels. That's what I expect:

-Have 3 cRIOs, acquisition of data at a high sampling rate.

-Have the cRIOs sends the data over the network using the network shared FIFO variables.

-Ask the user to interface on a PC grabing than the 3 cRIOS data over the network and present it to the user, allowing it to send commands to the cRIOs via shared network network variables.

-Have the PC running the user interface handle all data logging and reporting.

-Program a cRIO to interface with the DAQ Yokogawa directly and have the cRIO data on the network, just as he did for other data.

I would appreciate any thoughts on this topic.

Thank you

It depends on your sampling rate. Usually with samples of thermocouple you would sample relatively slowly, so you can use the analysis engine to take samples from FPGA would be an exaggeration. If you do not need much greater sampling rate, then you can use the FPGA. Here are a few points of reference for the Scan Interface Mode.

Tags: NI Hardware

Similar Questions

  • Examples with user interfaces do not work

    I am able to compile and use the samples included in the SDK that have no user HTML, such as EmptyPanel and TwirlFilter interface.  Things with an interface user do not work for me.  I am able to compile the project, move the. Agreement in principle in the Pulgins folder, see the plugin in the menus, but then I click on the plugin and nothing happens.

    What should I do?

    My configuration:

    OS: Windows 7 SP1

    Product: A.I. CC 2014, 32-bit
    SDK: AI_CC_2014_SDK_Win_430_3

    IDE: Visula Studio 2013

    Sorry, I have an older version of the SDK CC.

    Looks that they converted all the flex UI stuff to html5 in the CC 2014 (20141) SDK and do not understand the built versions. Never, I built a plugin with a ui for html5. This can help you get started:

    Introducing HTML5 extensions | Adobe Developer Connection

  • Problem with the receiver of messages in Backgroundlisterner Application user interface Thread

    Hi all

    I have a UI application with earpiece in the background with MessageListener interface and I'm regestering it to receive Notification of incoming text Messages on a particular port.

    But the notifyIncomingMessage() is never called and sms always comes in the Inbox.

    If using port 8855, and

    _mc = (MessageConnection)Connector.open("sms://:8855");
    _mc.setMessageListener (this);

    Detail of my code.

    I have one user interface application with the other point of entry, in the background I register mylistener, so he notifys me message inbound, and then I can launch my application with user interface.

    Code:

    My Application user interface.

    public static void main(String[] args)
        {
    
            if(args != null && args.length > 0 && args[0].endsWith("gui"))
            {
    
                MyUiApplication mb = new MyUiApplication();
                mb.enterEventDispatcher();
            }
            else
            {
                //Entered through the alternate application entry point
                    BackgroundListener.waitForSingleton();
            }
    
        }
    

    And my bottom Lisnter looks to...

    public class BackgroundListener implements PIMListListener, javax.wireless.messaging.MessageListener
    
    public BackgroundListener()
        {
            try
            {
                System.out.println("Adding the Message Listner");
                //Implementing the Message Listner:
                _mc = (MessageConnection)Connector.open("sms://:8855");
                _mc.setMessageListener(this);
    
            }
            catch(Exception e)
            {
            }
        }
    
    public void notifyIncomingMessage(MessageConnection conn)
        {
            System.out.println("BBBBBBB Received the SMS,Read Message Thread Start BBBBBBBBBB");
            Logger.log(DEBUG, "BBBBBBB Received the SMS,Read Message Thread Start BBBBBBBBBB");
            //startMessageReadThread();
    
            new Thread()
            {
                MessageConnection connection;
                Thread set (MessageConnection con)
                {
                    this.connection = con;
                    return (this);
                }
                public void run()
                {
                    try
                    {
                        Message m = connection.receive();
                        String msg = null;
    
                        if (m instanceof TextMessage)
                        {
                            TextMessage tm = (TextMessage)m ;
                            msg =tm.getPayloadText();
                        }
                        if (msg.equals(CBConstants.SMS_CMD_SYNC))
                        {
    
                        }
                        //if ()
                    }catch(Exception error)
                    {
                        System.out.println(error.getMessage());
                    }
                }
            }.set(conn).start();
    
        }
    
    public static BackgroundListener waitForSingleton()
        {
            //Ensure this is a singleton instance.
            //Open RuntimeStore and obtain the reference of BackgroundListener
            Logger.log(DEBUG, "In the Listener class");
            RuntimeStore store = RuntimeStore.getRuntimeStore();
            Object obj = store.get(RTSID_LISTENER_ID);
    
            //If obj is null, there is no current reference to BackgroundListener
            //Start a new instance of BackgroundLIstener if one is not running
            if(obj == null)
            {
                Logger.log(DEBUG, "In the Listener class obj is null so newBackgroundlistener");
                store.put(RTSID_LISTENER_ID, new BackgroundListener());
                return (BackgroundListener)store.get(RTSID_LISTENER_ID);
            }
            else
            {
                Logger.log(DEBUG, "In the Listener class, already a instance so will return the obj");
                return(BackgroundListener)obj;
            }
        }
    

    Can someone please suggest me where I am doing wrong.

    I also saw all the methods for sms listening, with the datagram and messagelistener.

    As this will be contineously run in the background, I thought about MessageListener.

    Any help appreciated.

    Thank you

    Anne Laure

    I received the demand for labour,

    I changed the port to '0', although it is in the Inbox. But now its okay for me, because the unit does not receive it IDE oucederomsurlesecondport 8855.

    Thank you

    Anne Laure

  • Impressive transformation slow due to the updating of the user interface

    Hello

    I feel a huge slow down in my test as engine

    I update the display after each test. It consists of a rather

    "simple table" with a subtle change of color and bold

    to indicate the failure or success of the test:

    I have also tried several things to determine what routine was

    make the program almost crawling like a snail, here's my

    results:

    No UI refresh: 0m48s (same as Teststand with no updates of the user interface)

    The discount but no page table switch: 1m06s

    Bay of refreshment and switch page: 1m26s

    There are 314 tests, up to 314 redraw and possibly

    switch page 314 to reposition the view. Which gives the

    following user interface refresh costs:

    Update of the table: 18 years/314 = 57ms (replacing just a single line, Center to top)

    Switch to page: 20 s/314 = 64ms (bottom right corner)

    Is this really the case? Is there a way to make the refresh of the user interface

    faster? Create two separate loops/threads, one to make

    the test, one for updating the UI asynchronously?

    I understood for an overall picture about different

    widgets, but here I'm 'just' display of channels...

    David Koch

    Well, multi-listbox control is a problem if your change causes access to the muliple property node. For each property node LabVIEW normally does a refresh of the user interface which is very quickly. Fortunately, there is a fairly easy way to fix this.

    Use a node of property for the current VI (just drop a property node and change its class type VI Server-> VI reference) to get the reference of the Panel. Then use another property node connected to your reference of the Panel and select update from the Panel to postpone. Set this value to true before your Listbox (and any other updated user interface) and set the value to false then.

  • cRIO with interface user interface structure

    Hi guys,.

    I am new to Labview and way to start my first cRIO VI. My question is a bit broad, so I'll try to make it as clear as possible.

    My project will include a display of the user interface where the user initially sets some parameters that are passed to RIO by a central core of UI. This group includes both controls and indicators (all sensors/controllers, via RIO) which should be amended or updated in real time.

    Looking at the cRIO examples found in the developer's guide, it seems that all the screws are loaded from the present cRIO folder in a project. This is the common practice? Also, should I run my vi of cRIO screen UI. Wouldn't it be better if I run it locally (i.e. within the host project folder) and call all the RIO under breast screws? In addition, what the controllers of type definition? This should not also be placed in the folder of the local host? My problem is that running the vi main UI directly from RIO has some limitations (by example cannot use invoke nodes to open/close some live and cannot use subgroups).

    Thanks for your time,

    Harry

    Adnan,

    Thanks for the very fast response and the very clear answer... I am very confident for my project now...

    See you soon,.

    Harry

  • What is with the user interface?

    Hi all

    Just downloaded PSE8 to see if I want to spend the PSE6. Not really sure yet. For openers you can't empty the 'welcome' screen and the choices are, you are going to get what you want or not. Now for the 'UI adjustment' in preferences > general tab. Well you can do 'light '. I do like it, it's not as light as my old PSE5. I could never understand why Adobe went to a black user interface? However, when you do the 'light' UI, all the necessary buttons ie. file, edit, improve, layer, etc. are so dark you can't find them, let alone read them. It is sort of like hit or miss. I think the buttons should display a white lettering when you change the UI to light. You know, just so that you can find, either that or make the buttons in braille. Well that's my rant and PSE8 question. Why programmers can't think of anything like that?

    John

    It is not that they are not - they reminded a lot of people with previous versions. But they seem not to care, unfortunately. If you want to be sure adobe reads your thoughts, use the comments tab on the Contact link at the top of this Web page to tell them. Since this is a user to user forum, there is no knowing for sure that someone from adobe will see to what you post here.

  • Why your user interface let someone destroy any list of "next" one click - no confirmation?

    It is a really boring design. I thought someone would have this fixed for the latest Apple TV. I could have queued up to 30 songs to the following list, but if my finger slides while keeping the button down all pending the pop-up menu or the remote control is not exactly aligned with the device such as the click but not the hold record 31 song, it will play the current song has highlighted and wipeout music already queued. Someone can't give a brother a Yes / No dialog box no box for it? And no I'm not going to create a playlist for a transitional lists.

    As this is a forum for users, there is no much we can do.

    Give your comments directly

    http://www.Apple.com/feedback/

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • Slow response from the user interface with acquisition of data of type long time

    Hi all

    I have a question to ask more out of curiosity than necessity right now. I've built a program that acquires data from the accelerometer and the Treaty in a number of ways: filtering, FFT, FRFS, things like that, but the answer of the UI is still slow, because I need a resolution of frequency of 0.2 Hz for my data domain, which means that the sample acquisition time is 5s and all this awaits before execution.

    My question is this: is there a way to completely isolate the user interface of data acquisition so that it responds immediately?

    I tried a design model of producer consumer with queues, but found everything to be always waiting for samples to be taken. Maybe it was exactly as I did.

    Thank you

    Phil

    If you need to sample for 5 seconds in order to have enough data to analyze, so unless you can "predict the future" and "knowing" the five seconds of data, simply wait for the data that arrives.  Using parallel loops of producer-consumer will allow data acquisition to proceed (for the next 5 seconds of data) while you do the analysis, but you still have to wait for the data to be analyzed.

    Note that the previous paragraph assumes you are collecting data in 5 seconds 'chunks' and analyze each "chunk" (independent) on arrival.  You could also do something like having a "second 5 sliding window" which moves, say, a second at a time, giving your FFT a finer resolution of 'time' (at the expense of their independence).  This would be a (slight) change in your loop of producer (you want to taste in 1 second pieces, accumulate 5 these pieces) and the consumption loop (start analyzing, spewing a FFT every second, while replacing the older "chunk" with the most recent - a queue with loss can do for you).

    Bob Schor

  • Possible bug found in hyperlinkctrl.c when you use the "VAL_POINTING_FINGER_CURSOR" mouse cursor in your own user interface.

    Hi people, I think I found a bug in the hyperlinkctrl.c custom control, after the update/upgrade an old project CVI.

    I found when I started using the "VAL_POINTING_FINGER_CURSOR" mouse in my UI, when adding a new hyperlink control.

    The error is recoverable error: ' from the mouse cursor is not valid.

    This error breaks in RunUserInterface (never seen anything like this before and I use CVI since version 3.1).

    This happens whenever I mouse - hovering anywhere on the Panel that contains the new hyperlink control.

    I also had a hack temporary to solve the problem, for now, I'll pass it along to this announcement...

    The hyperlink control's source code is located in \toolslib\custctrl\hyperlinkctrl.c

    The bug/problem lies in the service of reminder (of HyperLinkPanelCallback), specifically in lines 460 to 465.

    This hyperlink control wants to use the VAL_POINTING_FINGER_CURSOR as its default cursor when you hover over the custom hyperlink.

    However, if you already use 'VAL_POINTING_FINGER_CURSOR' in your user interface, the branch which verifies that you use what he thinks is 'his own' thread-safe mouse cursor ID, so that can reset it by using his "token concatenation" - created macro "GetTsvCursor", is not an 'else' branch to protect the picture when you actually use the cursor pointing finger... where the error that the mouse cursor is not valid. Here is the snippet of these lines.

    The mouse is not over a hyperlink
    If (cursor is VAL_POINTING_FINGER_CURSOR)
    {
    Reset the cursor to the previous cached cursor
    cursor = GetTsvCursor();
    errChk (SetMouseCursor (cursor));

    ... etc...

    }

    So my hack was to change the type of cursor to "VAL_CHECK_CURSOR" in place and place the cursor of "VAL_POINTING_FINGER_CURSOR" in three locations in this function, then rebuilt files x 86 and x 64.

    Hey Luis, finally win a free T-shirt of LabWindows/CVI with not only have reported this bug, but also to give the precise location of the source, as well as a work around?

    :^)

    JB

    In the meantime, I have submitted a bug with ID #545203 report to track down this problem.

    -Johannes

  • user interface customized with VI does not

    Hello

    I tried to use a user interface customized for VBAI using VI. I got to the point where I can run the VI all by himself and to see the work of logic. However when I add to as part of the user interface and switch to the inspection mode and run it, it does nothing. Let me know if I'm doing something wrong. Attached you will find the program, I work with.

    Thank you.

    I just tried your VI... you must have a VI that does not forever in a loop. You can use some time recording the loop that runs once and uses the SHIFT to follow the previous results of previous runs of the step. Use of the is the first call? Primitive in LV to initialize the first shift register. Here is a modified Test.vi that will work better.

  • Need help with this code to update the user interface example

    I'm triying to understand the differences between the three methods to manage UI interactions.
    I'm really confused with these three terms when triying them figure out in a real case.
    Basically, I know that I should use invokeLater, invokeAndWat, or getEventLock() to avoid
    This exception: java.lang.illegalStateException: engine access UI without holding the lock on the event

    The code below illustrates the function of the invokeAndWait method, but if I replace it with
    invokeLater or getEventLock() the program will work exactly the same way.
    Could you please change the code to show the differences between the three
    methods of updating the user interface?

    / public final class HelloWorldMainScreen extends form {}

    private LabelField labelField;
    public HelloWorldMainScreen() {}
    labelField = new LabelField ("Hello World");
    Add (labelField);
    Thread MainScreenUpdaterThread = new MainScreenUpdaterThread (this);
    thread. Start();
    }

    {} public void appendLabelText (String text)
    labelField.setText(labelField.getText()+"\n"+text);
    }

    }

    SerializableAttribute public class MainScreenUpdaterThread extends Thread {}
    HelloWorldMainScreen screen;

    public MainScreenUpdaterThread (screen HelloWorldMainScreen) {}
    this.mainScreen = screen;
    }

    public void run() {}
    for (int i = 0; i)< 10;="" i++)="">
    try {}
    Thread.Sleep (5000);
    } catch (InterruptedException ex) {};
    UiApplication.getUiApplication () .invokeAndWait (new Runnable() {}
    public void run() {}
    mainScreen.appendLabelText ("Update");
    }
    });

    }
    }
    }

    These three concepts are very confusing for a lot from people so all explanatory source code
    describing their functions will be highly useful for everyone, I think.

    Thanks in advance!

    With respect to the effect, there is no difference between methods.  The difference is the way in which the result is achieved.  So we can't change the code to show you the difference.

    As we are unable to demonstrate the difference, you have to do with an explanation.  To understand the explanation, you'll need to understand the thread of events, so if you have not already, please consider this:

    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

    If the three options are differentiated by the processing order:

    (a) invokeLater executes the update on the thread of events.  The transformation takes place at a later stage and the code which is in order after the invokeLater will actually run before the code within the invokeLater.

    (b) invokeAndWait also manages the update on the thread of events, which means that all other events that await on the thread of events will be run before this code.  But any code after the invokeAndWait will not be executed.

    (c) the synchronized option, like invokeAndWait, runs the update of the UI before moving on to the following code.  The difference is that the code to run on the event Thread is not executed before code in the synchronized block.

    If this is meaningless, so that probably does not matter too much.  in general, you should use invokeLater, except if you need to update the user interface occur in the order with your background processing.  If so, use invokeAndWait. It has synced are very few occasions where you must use the block, and it should be very small updates to the user interface and you should understand the implications this could have on the wire events.

  • Shell of the user interface: generate a new TAB within the area with the help of a binding element.

    Hello Oracle Community:

    I work with an application based on the model of Shell user interface design.

    My use case is

    #1: start a tab Dynamics from the Navigation pane.

    #2: tab loads in the local area. (this works as expected, pictured below)

    #3: launch of the additional tabs in the page loading in the step #2.  They are triggered by simple links on the .jsff page.  (this does not work - please help.  This should work?  If so, what missing am me?)

    Question : Can I launch a new tab from a link component in the local area (page .jsff)?

    As you can see I have links on my dashboard and I want that they engage in new tabs when you click.  Please test before responding "in theory".

    junker.png

    Here's how this link is setup.

    junk2.png

    junk3.PNG

    junkIT.PNG

    Here is my error logs.

    [15: 05:23] Application deployed successfully.

    [15: 05:23] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:

    [15: 05:23] http://192.168.1.154:7001 / MyAST

    [15: 05:23] for deployment time: 18 seconds

    [15: 05:23]-deployment is complete.  ----

    Run start time: 18394 ms.

    [MyAst12cUpgrade of the application currently running on IntegratedWebLogicServer]

    URL - target Http://127.0.0.1:7001 / MyAST/faces/Login

    15:05:23.891 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.utils.MySessionListener DEBUG - # present Session created: xP0oqsMzARHojfj6kJ-MJGW53jzYWYI2swzTPA_zyG6yHi30HJZb! 1821648284! 1439496323891 on Thu Aug 13 15:05:23 CDT 2015

    < org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl > < ViewHandlerImpl > < _checkTimestamp > < TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION >

    < org.apache.myfaces.trinidadinternal.skin.SkinStyleSheetParserUtils > < SkinStyleSheetParserUtils > < _createStyleNode > < ALIAS_DEFINITION_NOT_STARTING_WITH_DOT >

    < 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,456 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,460 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,459 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,457 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,458 during the inactive configured timeout of 5 seconds. >

    < oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 317 to key problem "DFW-99998 [java.lang.ClassNotFoundException] [oracle.jbo.pool.ResourcePoolMonitor.setLoader] [myAst12cUpgrade]" >

    e-mail matched expression

    15:06:17.305 [ExecuteThread [ASSET]: '5' for queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.LoginBean DEBUG [email protected]

    CustomAuthenticatorProviderV2.getConfiguration

    CustomAuthenticatorProviderV2.getConfiguration options {}

    Username CustomAuthenticatorHelper.login [email protected] password *

    AstCustomSecurityProviderPlugin within the connection method VER #2, user name:[email protected] | newPwdEncryptFlg #N

    loginSucceeded #true

    CustomAuthenticatorHelper.lookupUserGroups for the [email protected] user

    AstCustomSecurityProviderPlugin getUserRoles for user [email protected]

    < 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,535 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,533 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,531 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,532 during the inactive configured timeout of 5 seconds. >

    < 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,534 during the inactive configured timeout of 5 seconds. >

    15:06:26.343 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.ResetPassword DEBUG - result = ##Y

    < oracle.adf.view > < TreeRendererUtils > < renderDefaultContextMenu > < context menu child isn't a RichMenu >

    < oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >

    < oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >

    < oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_1 >

    < oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_2 >

    < oracle.adf.view > < RichRenderer > < decodeUnknownKey > < ATTEMPT_SYNC_UNKNOWN_KEY >

    15:06:37.902 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.HomePageBean DEBUG -.

    Here is the call of the navigation pane to create tab of the surroundings.  It is successful.

    # HomePageBean.invokeTaskFlow on the inside.  About to fire with Params ActivityLauncher = Title: EDGE TaskFlowID table: /flows/homeTab.xml#homeTab NewTab: true

    # Launcher._launchActivity () activity inside.

    # Declaration of activity Launcher._launchActivity () - try inside

    # Launcher._launchActivity () - newTab = true activity inside.  Call for TabContext...

    < oracle.adf.view > < TreeRendererUtils > < renderDefaultContextMenu > < context menu child isn't a RichMenu >

    < oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >

    < oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >

    < oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_1 >

    < oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_2 >

    < oracle.adf.view > < RichRenderer > < decodeUnknownKey > < ATTEMPT_SYNC_UNKNOWN_KEY >

    15:06:40.949 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.HomePageBean DEBUG -.


    Here's the same call from the local area.  It fails without a throwing an exception.

    # HomePageBean.invokeTaskFlow on the inside.  About to fire with Params ActivityLauncher = Title: EOTM TaskFlowID: /flows/EOTM.xml#EOTM NewTab: true

    # Launcher._launchActivity () activity inside.

    # Declaration of activity Launcher._launchActivity () - try inside

    # Launcher._launchActivity () - newTab = true activity inside.  Call for TabContext...


    < oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 318 to issue key "ADFC-00032 [ADFc]" >

    < oracle.adf.view > < RichExceptionHandler > < _logUnhandledException > < ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase INVOKE_APPLICATION 5 >

    javax.faces.FacesException: #{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:189)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:121)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:170)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:125)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.faces.el.EvaluationException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    ... more than 73

    Caused by: java.lang.NullPointerException

    at com.astcorporation.view.beans.ActivityLauncher._launchActivity(ActivityLauncher.java:54)

    at com.astcorporation.view.beans.HomePageBean.invokeTaskFlow(HomePageBean.java:417)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:780)

    at javax.el.BeanELResolver.invoke(BeanELResolver.java:529)

    at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:257)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:248)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    ... more than 74

    < oracle.adf.view > < PartialResponseUtils > < handleError > < ADF_FACES - 60096:Server Exception during the PPR, #1 >

    javax.servlet.ServletException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Caused by: javax.faces.el.EvaluationException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:189)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:121)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:170)

    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)

    at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)

    at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:125)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)

    at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)

    at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)

    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)

    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)

    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)

    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)

    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    ... more than 42

    Caused by: java.lang.NullPointerException

    at com.astcorporation.view.beans.ActivityLauncher._launchActivity(ActivityLauncher.java:54)

    at com.astcorporation.view.beans.HomePageBean.invokeTaskFlow(HomePageBean.java:417)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:780)

    at javax.el.BeanELResolver.invoke(BeanELResolver.java:529)

    at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:257)

    at com.sun.el.parser.AstValue.invoke(AstValue.java:248)

    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)

    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)

    ... more than 74

    3 mods are needed

    1.) change managed bean to "session."

    2.) implement the following class of activity Launcher

    3.) implement the following methods of the managed bean

    -----------

    ManagedBean

    -----------

    public String invokeTaskFlow (String Title, String taskFlowPropertyName) {}

    String taskflowId = PropertiesLoader.getProp (taskFlowPropertyName);

    AL ActivityLauncher = new ActivityLauncher();

    If (TabContext.getCurrentInstance ()! = null) {}

    setTabContext (TabContext.getCurrentInstance ());

    Al._launchActivity (title, taskflowId, getTabContext(), null, true);

    }

    else {}

    setNewTabContext (getTabContext ());

    Al._launchActivity (title, taskflowId, getNewTabContext(), null, true);

    }

    Returns a null value.

    }

    -----------

    ActivityLauncher._launchActivity

    -----------

    5 arguments: title taskFlow newTab, paramsMap, tabContext

    public void _launchActivity (String title, String taskflowId, boolean newTab, card parametersMap, TabContext tab_context) {}

    If (tab_context! = null) {}

    setTabContext (tab_context);

    }

    try {}

    TabContext currentTabContext = TabContext.getCurrentInstance ();

    If (currentTabContext == null & tab_context! = null) {}

    currentTabContext = getTabContext(); tabContext Set to validate

    If {(newTab)

    currentTabContext.addTab (title, taskflowId, parametersMap);

    } else {}

    currentTabContext.addOrSelectTab (title, taskflowId, parametersMap);

    }

    } else {}

    setTabContext (currentTabContext);

    If {(newTab)

    currentTabContext.addTab (title, taskflowId, parametersMap);

    } else {}

    currentTabContext.addOrSelectTab (title, taskflowId, parametersMap);

    }

    }

    } catch (TabContext.TabOverflowException feet) {}

    System.out.println ("###Exception occurred in launchActivity");

    toe.handleDefault ();

    }

    }

  • What script to create a model with a user interface panel

    Hello guys,.

    So I am new to scripting and javascript and I'm trying to keep it simple. I'm a VJ and want to create a script where I get a 'BPM' and a 'beat' lengh and it generate me a comp with the right length and * a layer with a marker ofr each beat.

    I was able to create this script, but I try to make it look a little better with integration of the user interface for AE I wasn't able to make it work right. If anyone can help me or give me some advice. I think that I'm not good with the expression "addComp" in the buildUI function.

    I copy everythin because it is long but you'll be understaind the main idea. My question is how to that the entry in my Advanced UI instead of "the guest".

    Here is my first code that does the job:

    Elements Var Set

    var name = prompt ("membership name");

    var BPM = prompt ("your BPM");

    If (isNaN (BPM)) {}

    Alert ("you must give the model a value");

    }

    Var prompt = beats ("how many times");

    If (isNaN (Beats)) {}

    Alert ("you must give the model a value");

    }

    frameRate var = prompt ("your fps");

    If (isNaN (frameRate)) {}

    Alert ("you must give the model a value");

    }

    term var = (60 / BPM * bat); Automatically generated

    var beat = (60 / BPM);

    Part of creation

    app.project.items.addComp (name, 1920, 1080, 1, duration, frameRate); Create the model with custom Lengh

    App.Project.Item (01).layers.addSolid ([0,0,0], "BG", 1920, 1080, 1, length); Create solid BG

    var firstLayer = app.project.item (1) .layer (1);

    firstLayer.label = 16;

    App.Project.Item (01).layers.addSolid ([0,0,0], "FX", 1920, 1080, 1, length); Create sound FX

    App.Project.Item (01).layers.addNull (Duration); Create the Null object

    var firstLayer = app.project.item (1) .layer (1); Rename the Null object

    firstLayer.enabled = false;

    firstLayer.name = "Beats";

    firstLayer.label = 0;

    Place a marker on the 64 first beat

    var myMarker = new MarkerValue("0");

    firstLayer.property("Marker").setValueAtTime (beat * 0, myMarker);

    Every beat on opacity-keys

    myProperty = firstLayer.opacity;

    myProperty.setValueAtTime (beat * 0, 0);


    For reference, I'm going to place code Dan here and use line numbers, as I explained.

    Fig. A

    var name = prompt("Composition name");
    var BPM =prompt("Your BPM");
    if (isNaN(BPM)) {
        alert("You must give the comp a value");
      }
    
    var Beats = prompt("How Many Beat");
    if (isNaN(Beats)) {
        alert("You must give the comp a value");
        }
    
    var frameRate = prompt("Your fps");
    if (isNaN(frameRate)) {
        alert("You must give the comp a value");
        }
    
    var duration = ( 60  / BPM * Beats ); //Auto Generated
    var beat = (60  / BPM);
    //Creation Part
    var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate); // Create Comp with Custom Lengh
    var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration); // Create BG Solid
    firstLayer.label = 16;
    myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration); // Create FX Solid
    firstLayer = myComp.layers.addNull(duration); // Create Null Object
    firstLayer.enabled = false;
    firstLayer.name = "Beats";
    firstLayer.label = 0;
    // Place a marker on the 64 first beat
    var myMarker = new MarkerValue("0");
    firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
    // Key every Beat on opacity
    var myProperty = firstLayer.opacity;
    myProperty.setValueAtTime(beat*0, 0);
    

    OK, so for your configuration, looks like you're striking four data sets. You have the model name (fig.) At line 1), BPM (lines 2-5 of Fig. (A), (lines 7-10 of Fig. rhythms (A) and the FPS (lines 12 to 15 of Fig. (A). then it comes to the UI, you can change what I had posted to...

    res = "group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
      myCompName: EditText{text:'Enter comp name'},\
      myBPM: EditText{text:'Enter BPM'},\
      myBeats: EditText{text:'Enter beats'},\
      myFPS: DropDownList{properties:{items:['23.976', '24', '29.97', '30', '59.97', '60']}},\
      createComp: Button{text:'Create comp'},\
    }"
    

    This will give you all entries in four data for the user interface. It is preferable to assign each control to a new variable for use in your script.

    // Control Variables
      var compName = myPanel.grp.myCompName;
      var myBPM = myPanel.grp.myBPM;
      var myBeats = myPanel.grp.myBeats;
      var fps = myPanel.grp.myFPS;
      var createComp = myPanel.grp.createComp;
    

    Once you have these variables you can then start the default implementation as appropriate. in this case, the drop-down list should be a starting point for it's selection, so that you can say to use the first default entry as follows.

    //Defaults
      fps.selection = 0;
    

    Now, you can configure your onClick for button createComp feature. This will contain to working part of the Dan code that treats everything (lines 17-33 of Fig. (A). I've added a few lines of options above this (lines B Fig. 1-7) in the below code just to match the variable names so you wouldn't need to change the code.

    Fig. B

    //onClick setups
      createComp.onClick = function(){
      //Gather user entered values
      var name = compName.text;
      var BPM = Number(myBPM.text);
      var Beats = Number(myBeats.text);
      var frameRate = fps.selection.text;
    
      var duration = ( 60  / BPM * Beats );
      var beat = (60  / BPM);
      //Creation Part
      var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate);
      var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration);
      firstLayer.label = 16;
      myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration);
      firstLayer = myComp.layers.addNull(duration);
      firstLayer.enabled = false;
      firstLayer.name = "Beats";
      firstLayer.label = 0;
      // Place a marker on the 64 first beat
      var myMarker = new MarkerValue("0");
      firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
      // Key every Beat on opacity
      var myProperty = firstLayer.opacity;
      myProperty.setValueAtTime(beat*0, 0);
      }
    

    Then line 2 Fig. b starts the call onClick for button and assigns a function. Within the function, we run the process. Fig. B Line 4 seizes the compName edit text attribute of the text control, using the Number() function convert us this text to a number for use online B Fig. 9 and 10 and B Fig. 5 line gets the text attribute of the text control edit BPM. Goes same for line 6 of the Fig. B and the beats variable. For line B Fig. 7, a drop-down list requires calling his selection of the attribute, then it is text attribute to get the actual string. The drop was more logical for FPS due to the standard rates that exist. This list can be changed of course to your liking. Now, there is no safety net as I like to call for the modification of the text controls to make sure text is not entered when you need a number and vice versa. It would be something of can check after line 7, Fig. B before trying to run the code in process (Fig. B lines 9-25). I hope that it will be easy enough for you to understand.

    If the script is as follows.

    {
    function myScript(thisObj) {
      function myScript_buildUI(thisObj) {
      var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", [0, 0, 300, 300]);
    
      res="group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
      myCompName: EditText{text:'Enter comp name'},\
      myBPM: EditText{text:'Enter BPM'},\
      myBeats: EditText{text:'Enter beats'},\
      myFPS: DropDownList{properties:{items:['23.976', '24', '29.97', '30', '59.97', '60']}},\
      createComp: Button{text:'Create comp'},\
      }"
    
      //Add resource string to panel
      myPanel.grp = myPanel.add(res);
    
      // Control Variables
      var compName = myPanel.grp.myCompName;
      var myBPM = myPanel.grp.myBPM;
      var myBeats = myPanel.grp.myBeats;
      var fps = myPanel.grp.myFPS;
      var createComp = myPanel.grp.createComp;
    
      //Defaults
      fps.selection = 0;
    
      //onClick setups
      createComp.onClick = function(){
      //Gather user entered values
      var name = compName.text;
      var BPM = Number(myBPM.text);
      var Beats = Number(myBeats.text);
      var frameRate = fps.selection.text;
    
      var duration = ( 60  / BPM * Beats );
      var beat = (60  / BPM);
    
      //Creation Part
      var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate);
      var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration);
      firstLayer.label = 16;
      myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration);
      firstLayer = myComp.layers.addNull(duration);
      firstLayer.enabled = false;
      firstLayer.name = "Beats";
      firstLayer.label = 0;
    
      // Place a marker on the 64 first beat
      var myMarker = new MarkerValue("0");
      firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
      // Key every Beat on opacity
      var myProperty = firstLayer.opacity;
      myProperty.setValueAtTime(beat*0, 0);
      }
    
      //Setup panel sizing and make panel resizable
      myPanel.layout.layout(true);
      myPanel.grp.minimumSize = myPanel.grp.size;
      myPanel.layout.resize();
      myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}
    
      return myPanel;
      }
    
      var myScriptPal = myScript_buildUI(thisObj);
    
      if ((myScriptPal != null) && (myScriptPal instanceof Window)) {
      myScriptPal.center();
      myScriptPal.show();
      }
      }
    
      myScript(this);
    }
    
  • Create a report of user showing your comments

    Hello

    I want to be able to give end users a way to see the comments (to avoid duplication of work and check progress) against a request and mused with an interactive report that queries the wwv_flow_feedback table.  It is a suitable method, or is there another method (more practice/declarative) I could / should use. Any comment is received, gratefull

    Kind regards

    Kevin.

    p.s. I use v4.2.2 APEX with the EPG

    Hello

    You can create end users who can connect to application builder, but only to join the development team.

    Never tested this user friendly privileges and then for example have delete your comments.

    But I don't think it is bad idea create app where is high interactive report of view APEX_TEAM_FEEDBACK

    Kind regards

    Jari

Maybe you are looking for

  • Why have I not hyperlink adware joining the secure Web pages

    in the last two days, I noticed that there are hyperlinks on certain keywords and a whole bunch of Web sites where they were before and should not be never. they are all ads for something whether it's clothes or decrease your invoice of electricity o

  • Satellite C650D - is slow on dial-up connection

    The only thing that I downloaded on the computer is Microsoft Word and I set up an email for my daughter (it is his birthday present!) we're on dial-up, so I know it will be slow but crikey, it's ridiculous. My own desktop computer Windows XP (2and a

  • Frequency of the oscillator NI5112

    Hello I have a NI5112 and I want to measure the frequency of an oscillator through it. Can someone tell me how I can use NI5112 to measure the frequency of an oscillator? Concerning

  • How can I add music downloads in my music library

    Music downloads Im not very computer so be patient.  Ive downloaded music to MP3 how can I add it to my music library

  • By using the Service Push SQL Server data push?

    Hello We will implement a Blackberry, a Blackberry application that retrieves data from a SQL Server data source. In fact, there will be a web application where users will enter into data (SQL Server) and the BlackBerry user should see the data at th