Reading the current frame of an Event Structure

Is there a way to read the current frame (or state?) of an Event Structure?
Richard

johnsold wrote:
Normally a program would not stay in an event case for long enough for the phrase "current frame" to have much meaning.  What are you trying to do?
Lynn
Like tst assumed, it's for edit time use. Some events take a few seconds, and the progress would be nice to watch on the FP like you'd typically do with a state machine, and with dynamic events (as opposed to just user events), it would be nice to see where the structure is going.
I have tried something with scripting as shown, but it's not much help. There's no property "Current Frame" or similar. Visible Frame (as shown) doesn't do it.
Richard

Similar Messages

  • Uix frameset - how to get the current frame name?

    I have a frameset with 3 different frames in it. a top, center and bottom.
    There is a menu in the top frame that changes the contents of the center or bottom frame.
    How can I get the value of the frame name for the current frame into a bound value like a httpsession or page?
    for example if I change the center frame to "listadmin.uix" how can I load a bound value with the frames new source?
    Is there a way to pass javascript to a boundvalue? I could get the frames new properties from javascript

    In Jdev 9.0.3 you could do something like this:<frameBorderLayout>
    <start>
       <frame name="sideFrame">
        <boundAttribute name="source">
         <ctrl:pageURL name="sideFramePage">
          <ctrl:properties>
           <ctrl:property key="currentFrame"
                          value="sideFrame"/>
          </
         </
        </
       </
    </
    </then in startFramePage.uix you can access the current frame name by doing:<styledText data:text="currentFrame@ctrl:page"/>

  • Read the Current BP number before saving

    HI Experts,
    From the Identification tab iam creating the BP by entering all the mandatory fields and then i click on END button instead of "Save" so on this END button event i want to read the current BP which is not yet saved in the database.
    Iam writting the logic of END button in the IF_CRM_IC_PREPARE_FOR_CALLBACK~EXECUTE method of the Main View set(IUICMD/MainVS).
    data: zv_core    TYPE REF TO cl_crm_bol_core,
             zv_entity TYPE REF TO cl_crm_bol_entity_manager,
             zv_core = cl_crm_bol_core=>get_instance( ).
             CALL METHOD zv_core->get_entity_manager
               RECEIVING
                   rv_result = zv_entity.
    In Debug mode when i check the ZV_ENTITY in that there is one Private Attribute ENTITY_TAB of type Sorted Table where i can see 3 entries with OBJECT_NAME as "BuilHeader","BuilContactPerson", "BuilStandardAddress" when i check the Entity reference of ""BuilHeader" iam getting the current BP number. But how to read this entity iam not getting this.???
    I tried the below way..
    LOOP AT zv_entity->entity_tab ASSIGNING <itab>.
    ENDLOOP.
    But it says that "Access to private attribute "ENTITY_TAB" is not allowed."..
    Regards.

    Hi Hemant,
    As you are implementing your method in overview set , try to access the view controller where the BP ID is created by rereading the entity.
    DATA: lv_viewname TYPE string,
            lr_viewctrl TYPE REF TO cl_bsp_wd_view_controller.
      lv_viewname = me->get_viewarea_content( '<View Area of your view>' ).                            
      IF lv_viewname IS NOT INITIAL.
        lr_viewctrl = me->get_subcontroller_by_viewname( lv_viewname ).
        IF lr_viewctrl IS BOUND.
          TRY.
              CALL METHOD lr_viewctrl->('<method_name>')   .
               CATCH cx_sy_dyn_call_error.
              RETURN.
          ENDTRY.
        ENDIF.
      ENDIF.
    Regards,
    Nithish
    Edited by: nithish P on Feb 7, 2012 2:32 PM

  • Unable to allocate enough memory to render the current frame

    I am a bit of a novice at AE, just starting to learn. I have googled this, searched these forums and tried all I can think of. No luck. SO I will ask here. 
    I bought this AE file  http://videohive.net/item/-earth-zoom-customize/6451983 
    Here is the error message I get when trying to render
    After Effects error: Unable to allocate enough memory to render the current frame (18172 x 18172 @ 8 bpc). Either decrease the memory requirements for the rendering of this frame, or install more RAM. (12805). For more information, see adobe.com/learn_ae_mem (7 :: 66)
    I even tried to render the project without making any changes. No luck
    My info:
    Macbook pro 15” Mid 2012
    OSX 10.9.2
    Processor 2.6 ghz intel core i7
    Memory: 8 GB 1600 MHz DDR3
    Graphics  NVIDIA GeForce GT 650M 1024 MB
    Running AE CC 12.2.1.5
    First thought, Is my laptop inadequate for this type of work? 
    When it says - (18172 x 18172 @ 8 bpc) is that the resolution it's trying to output? The project is 6 seconds long and 1920x1080 resolution.
    I can render it at half resolution, but not at the 1080 res.
    Thanks for your help.

    Purged cache, set it to purge every 5 frames ... no luck. Purge every frame ... no luck.
    I tried disabling different parts of the clip to render. No luck until I disabled the inner shadow of the globe, and it seems to work.
    What should your purge setting be normally for this ap? I think it was set to "0". SHould I move it back to 0?
    Thanks for your help.

  • SapScript, How do I read the current line number?

    I have sections of text - each in it's own element with an 'include' of the standard text.
    These sections are variable in size.
    All elements are in the MAIN window.
    I do not want a paragraph to split over two pages.
    How do I read the current line number within the sapscript before the section prints so I can issue a new-page command at the beginning of the paragraph?
    Thanks!

    Yes, that does work for paragraphs.
    If I have multiple elements to print from within a loop where "at first, at each and at last" each call the Sapscript funtcion write_form - how can I keep the whole section together.  protect/endprotect will keep each element together but not the group of elements.
    There must be a way to find the current line number.

  • When i pause a video in FCPX the current frame becomes clear but when i press play they become blurry?

    When i pause a video in FCPX the current frame becomes clear but when i press play they become blurry?

    I had this SAME EXACT problem for WEEKS! >_<
    It was so frustrating. I tried everything I could. I was even using uncompressed video files (+60GB in size!) to try to fix the problem, but nope. Nothing. Except this...
    Go to:
         Preferences -> Playback -> Playback Quality and select "High Quality"
    By default, FCPX uses the lower quality setting to save resources.
    "...Playback Quality pop-up menu to choose whether to always use the highest-quality video for playback or downsized video for better playback performance"
    http://help.apple.com/finalcutpro/mac/10.0/#verb8e60ab7

  • Get the new value from an event structure block

    Hello!
    I'm using an event structure block. I've edited an event wich its event sources are an indicator an a variable (a real matrix). I want to get (to catch) the new value of the indicator and the variable from the frame placed at the left top, but the new value attribute is not a real not an integer.....is variant type. I have no idea what i have to do to catch this two values from here. Someone can post a simple example about it?
    Thanks in advance!
    Regards
    Larson 

    If the terminal is INSIDE the event structure, you'll always get the new value. It will NOT be read until the event case executes, at which point the terminal contains the new value. (If the terminal is outside the event structure, and the wire goes inside the event structure, you'll get a stale value when the event for that terminal triggers. This is expected from the dataflow.)
    Put the terminals inside the proper event case, you'll be fine!
    LabVIEW Champion . Do more with less code and in less time .

  • How to run the two events at the same time by using event structure

    In my project, I have to run two stepper motor which can run both forward and reverse direction by changing the control in front panel so I am using event structure. In front panel I gave two separate controls for both stepper motor such as forward,reverse and stop. I would like to do motor1 will rotate alone, motor2 will rotate alone and both motor will rotate at the same time when user click the control in front panel. My doubt is how to run a motor2 while motor1 is running at the same time please tell me the suggestion for this problem
    Attachments:
    motor.png ‏192 KB

    How do you control your motors?
    Most motion control systems do supply two modes:
    a) position based motion: The motion axis has a positioning system (most often some kind of encoder system) which enables the motion control to know where the axis is currently located. Passing the target location to the controller will result in the axis to move to that location. This is, for most applications, the recommended approach. It does require some sort of motion controller device.
    b) direction based motion: This essentially tells the periphery device for the motor to move at a certain speed into a certain direction. As it does not stop at a dedicated location, it induces great risks for many applications if there are no kill- and/or end-switches. Depending on the setup, this can be either done with motion controllers or pure by software control (e.g. "controlling" the voltage level for the motor).
    If you go for a), there is not much preventing parallelism as you request.
    Option b) depends on the setup. If you have a control loop in the software itself, you have to move to an architecture like the producer/consumer. Please note that this does not incorporate any security measures for the external devices.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to read the current value of hyperlink java bean in multiple record,

    I have used a java bean for a multi-record block item. On When-new form-instance I m using fbean package as follows
    FBean.Register_Bean(hHyperlink,1,'oracle.forms.demos.beans.Hyperlink');
    FBean.Invoke(hHyperlink,1,'setURL','Abc_Entry');
    FBean.Invoke(hHyperlink,1,'setLabel','Abc Document');
    FBean.Enable_Event(hHyperlink,1,'actionListener',true);
    You can see that I am using the number 1 which is hardcoded,for which I will replace with a incremental loop and remove it. Now when I m using the When-Custom-Item-Event, I want to read the URL for the current instance.
    I m using
    vcEventData := Fbean.Invoke_Char('CONTROL.HYPERLINK',2,'getURL');
    to get the second record value , where in I want to avoid the hardcoded 2 or 1
    Thank you

    I recommend you these forums for your question:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » JVM
    Java in the Oracle Database
    Forums Home » Oracle Technology Network (OTN) » Technologies » Java » Java Server Pages (JSP)
    Java Server Pages (JSP)
    Forums Home » Oracle Technology Network (OTN) » Technologies » Java
    http://forums.oracle.com/forums/index.jsp?cat=24
    Joel Pérez

  • Determining the current frame/time of video

    I'm using AS2 and would like to create a function to monitor
    the current
    time of an FLV file in a swf. I'm using the swf in Director
    and using the
    format sprite (1).flvCode.flvPlay () where sprite (1) is the
    location of the
    swf, my AS2 code is in a movieClip with an instance name of
    flvCode and I
    have a function (just or illustration purposes) of flvPlay ()
    I'v looked in the AS2 reference but it's strangely absent of
    code that would
    provide the current flv time or even the duration of the flv.
    Craig

    Thanks. I'm too much of a novice to even realize that I was
    asking the same
    question.
    "Rothrock" <[email protected]> wrote in
    message
    news:g4dqhr$58e$[email protected]..
    > Like David told you in your other thread you need to
    look under the
    > class(es)
    > that you are using. Are you using the FLV playback
    component? In that case
    > you
    > need to look in the Components Language Reference.
    >
    > From there scroll down to FLBPlayback Component.
    >
    > In there the FLVPlayback Class will have a listing of
    everything that is
    > available.
    >
    > I'm thinking that FLVPlayback.playheadTime and
    FLVPlayback.totalTime are
    > probably what you want.
    >
    > If you aren't using the playback component then you most
    likely need to
    > look
    > at the ActionScript 2.0 language reference under the
    NetStream Class. In
    > that
    > case you will need the onMetaData event to capture the
    total time for the
    > FLV
    > when it loads and the time property to check the current
    position.
    >
    > So I don't know where you were looking, but there is
    plenty of code to
    > help
    > you along.
    >

  • Pass the value of the current case in a case structure to a global variable for use in VIs.

    I have built a large queued state machine (>100 cases).  In each state, I run a VI that I have created.  These VIs are usually not very different from one another.  In many cases, I could simply use the same VI over and over again.  There is only one problem with that.  None of these VIs know which case to send the program to next.  I have to change the value of the "NEXT_CASE" constants in the VI and save it under a new name to be inserted into each new case.  Now my program consists of hundreds of VIs whose only difference is the value of their "NEXT_CASE" constants.  This causes all kind of headaches when I have to insert new cases into the state machine, and it is just too much for me to deal with.
    I need to be able to use a global variable to keep track of the current case within my VIs.  I could change it from a string to a number and add or subtract from it to determine which case the program should go to next.  Since I'm usually only skipping from one case to the next (or the previous) I could use the exact same VI in most cases.  Can anyone tell me how to create a global variable that contains the value of the case in my case structure that I could use within my VIs to keep track of the current case?  Let me know if you have any questions.

    Instead of defining the next state inside the subvi, why not do it in the main vi inside each state case?  An output from the subvi could be used with a case structure to determine the next state.  Sort of like, if the subvi returns 0 then next state is State3, else if the subvi returns 1 then next state is State4.
    Message Edited by tbob on 08-19-2005 03:15 PM
    - tbob
    Inventor of the WORM Global
    Attachments:
    NextState.PNG ‏5 KB

  • DAQmx+6009: Reading the current counter value is too slow

    I have a thread that runs a software loop that I need to run as fast as possible. One of the things I need to do is poll the current counter value from my 6009, and branch if it's changed from the last time I read it. Over 90% of the time spent in my 1.2ms loop is doing this read. My goal is to get the loop under 50us.
    What I really need here is an accurate timestamp (20us or better) for every time the counter changes (up to 1kHz). When I detect a change, I currently get the timestamp by calling QueryPerformanceCounter().
    Here's how I create the task:
        DAQmxErrChk( DAQmxCreateTask("",&taskHandle) );
        DAQmxErrChk( DAQmxCreateCICountEdgesChan( taskHandle, line, "", DAQmx_Val_Falling, 0, DAQmx_Val_CountUp ) );
        DAQmxErrChk( DAQmxStartTask(taskHandle) );
    And here's the line of code that goes so slow in my loop:
        DAQmxErrChk( DAQmxReadCounterScalarU32( taskHandle, 10.0, &count, NULL ) );

    I updated a robot control from a Mac Powerbook with a PCI expansion chasis running Mac OS9, Labview 5 and DAQ to a Mac Mini (intell) with 6009 and 6501 USB cards  running Mac OSX, Labview 8.5, and DAQmx-base.  I have connected wheel encoders (pule train and direction) to a 6009 and a 6501.  It all seems to work, except the tuning of velocity control loops is not as good as before, indicating some delays.  The loops run every 100msec (10Hz update) so I expected a synchronisation problem rather than latency.  I did some measurements today and found that reading the 2 counters and the 2 digital inputs takes over 20msec.
     I get better performance from VISA with a serial to USB converter.  I have a program reading 25byte packets every 20msec.  Although I did run into the USB latency problem with another serial application.  I have a serial device that requires a response t changing CTS (clear to send) in less than 1.2msec, and VISA was taking 1.5msec.
    On the same machine I am reading 1024 samples from an analog input every 100msec with out any timing issues - (once I got the incredibly slow start and stop vis outside the loop - they take about 200msec each.  Taking the start and stop vis outside the loop reduced my loop time from 450msec (approx) to 100msec.  The only problem is that to do this I have to run in continuous mode and can't  use an external trigger (it has to restart on every trigger, so the start and stop vis have to be in the loop).
    So it appears that I have updated my technology by 10 years only to find that USB is incredibly slow - something that is not in any of the NI doccumentation that I can find.  Does NI have any documentation on what to expect in terms of performance from these USB devices and any suggestions on how to get better performance, apart from buying more expensive hardware?
    Thanks 

  • How to read the current selection in a table.

    Hello Experts,
    I've this issue with the web dynpro. I have a Adaptive Webservice Model in web dynpro. And I have three tables in the UI. When a row is selected in the first table, the second table is populated with the appropriate data (using a method in the web service.) the same applies to the third table, when the a row is selected in the second table, the third table has to be populated with the appropriate data. The methods in the web service are all working fine. However, in web dynpro, I am not able to figure out on how I read the selected row in a table. Any information on how to resolve this would be really really helpful.
    <
    wdContext.currentGetMailElement().setProfileID("-Should be read from the selected row in the table.");
    wdThis.wdGetMailControllerController().executeGetMail();
    >
    regards,
    Sam.

    Hi Samuel,
    I didnt clearly understood  your problem. When you are selecting a particular row in a table you are executing a web service named Get Mail. Are you passing any input parameter(any selected row data)  while executing a web service. And when you get the response node where you have a attribute in the node getmail. Am I right.
    If this is the case, then first check if the GetMail node is present or not by comparing it will null or checking its size. If the node is null then you will not get attribute as the element itself is null as nothing is retrieved in response. And if the node is not null then the element at 0th position is selected by default. you can retreieve the attribute by directly using the following code
    if(wdContext.nodeGetMail() !=null)
        String profileId= wdContext.currentGetMailElement().getProfileID();
    Check if this works for you.
    Regards,
    Ardhendu Sarkar

  • How can we read the current URL in Forms9i

    Hi,
    It will be greatful, if anyone give me the solution to get the current URL in Oracle forms 9i
    Regards,
    Walter Nicholas T

    Walter,
    it depends on what you need it for. The Forms URL cannot be accessed directly from Forms without using a Java Bean in it, but consists of
    <protocoll><server><port>forms90/f90servlet?config=<application>
    If you want to call resources on the same server, then you could do a web.show_document() call to /<virtual path>/<file>, whic would then look for the resource on the server that downloaded Forms
    To get the information about the config parameter, create a user parameter in Forms, say "conf" and add teh following to teh formsweb.cfg file
    [myApp]
    otherparams=conf=%config%
    In Forms the config information is accessible via
    varStr := :parameter.conf;
    To get the whole URL string, I am afraid you need to write a Java Bean in Forms (not sure of webutil already implements this, maybe worth checking)
    Frank

  • AE CC 2014 - Error: Unable to allocate enough memory to render the current frame 7 :: 66

    Hello,
    AE CC 2014 13.0.2
    Error while rendering a 3840 x 2160 Quicktime movie in AE CC 2014. Always gets to about 16 seconds of the 30 second render and fails. One layer in the animation is 5000 x 5000, big but certainly not a problem in the past with AE CC and 64GB of ram.
    Have not had this problem on AE CC or my previous Mac Pro.
    Current MAC PRO:
    Tried adjusting ram, purging, setting "clear frames" under the secret menu. Disk cache set to 128GB.
    Here are a few more strange things:
    If I have MAX ram set to 52 GB how is AE using 100% of 64 GB?

    OK. So, here's what happened in AE CC 12.2.1.5 using my 5000 x 5000 Quicktime source files in the project. Failed. Error 7 :: 66 again.
    Happened at approximately the same time 16:06 of 30:00.
    I watched at RAM data at the bottom as it rendered. The % kept climbing as it rendered. When it got to 80-82% of 64GB it leveled off, then it would go from 82% to 81% to 80% then back up to 81%. Looked like AE was regulating the amount of RAM used. But it steadily kept rendering with very little slowing. Then around 12 seconds (comp time) it went past 82% and climbed all the way to 100% of 64GB RAM and failed. Seems to do the same in AE CC 2014 13.0.2.
    3000 x 3000 source Quicktimes work ok and don't go past the regulated % of RAM. Seems strange and a shame though. Obviously AE can handle the large resolution source video files. If I was rendering a 10 second file movie I'd be golden and the error would most likely never happen. We are doing lots of 4K for up coming TV projects so the higher resolutions will be very important.
    Thoughts?
    Any other tests I can run to help sort this out?

Maybe you are looking for

  • Flash 8 problem publishing to mov file

    Hi, I'm trying to create a mov file and I get an error message stating that I need to publish my movie in version 5 or before. After changing that setting, I still get the same error message? I've tried: downloading the latest quicktime, reinstalling

  • Cut and paste operation in Hyperion Planning is slower than normal web page

    We understand the web form under Hyperion Planning has many useful functions built-in but we also encountered some user complains that the operation inside the web form is relatively slower than normal web page. When user cut and paste 20 to 50 cells

  • E50 7.36.0.0 update

    Hi, Has anyone updated to 7.36.0.0 ? Any improvements ? Thank you

  • I cann't install drivers for wifi and usb2 on inspiron 3721.

    Hi. I cann't install drivers for wifi and usb2 on inspiron 3721. My OS is windows 8.1 ID for usb2: USB\VID_0BDA&PID_0129&REV_3960 USB\VID_0BDA&PID_0129 ID for wifi: PCI\VEN_168C&DEV_0036&SUBSYS_020C1028&REV_01 PCI\VEN_168C&DEV_0036&SUBSYS_020C1028 PC

  • How to read documents in Polish

    Hi, Our company has received some documents from a client which are written in Polish. Most words you can read, but some have letters that are replaced with boxes. Do I just need to get the font that these documents were written in, or do I have to i