Datagrid / timer based polling for live data

Hello,
Thanks for opening my question.
I have a datagrid that is bound to an Array (not
ArrayCollection) that comes from an AMFPHP query.
There is a setinterval timer that updates the array with new
data every 5 seconds.
Trouble is, when you select a row in the dataset, when the
setInterval timer fires, it loses focus of the selected item. Is
there a way around it? I know FDS has support for subscribing to
updates, but we are a very small startup and we cannot afford FDS
right now.
Can I be helped? Feel free to post solutions that involve
opensource software that will run on LAMP.
Thanks for reading.
-Chris

If you can devise logic that lets you update the individual
dataprovider elements instead of re-assigning the entire
dataProvider, that should do what you want.
I haven't tested this, mind you but, my experience indicates
it should work.
You would want to compare the new data with the current data,
and to use the appropriate api to update the changed item. It would
probably be setItemAt() for Array collection, for example. Try this
before you re-architect your app, though.
Alternatively, you could just restore the focus after an
update.
Tracy

Similar Messages

  • Define Time-Based Fields for Cost Centers

    Dear All!
    I would like to know , how I'm abale to cahnge the setting
    of business area for Time-Based Field of Cost Centers to period
    Transaction is OKEG
    Would be thankful

    You can maintain master data for cost centers, cost elements, activity
    types, and business processes with time dependencies. You can make
    changes at any time for any given time interval. Data storage also takes
    place with a time reference. In this way, a master data record can have
    multiple database records storing different information.
    The smallest interval is one day. To ensure data consistency, you
    cannotchange each field daily. The timeframes in which you can change a
    field depend on the field functions, which are fixed by the SAP R/3
    System and cannot be changed. Master data maintenance includes an
    automatic check for each field's time-based consistency, resulting in
    individual time-based maintenance for each field.
    Regards
    Prabhu

  • How to create a ABAP report off of SRM box for live data?

    How to create a ABAP report off of SRM box for live data?
    Thanks in advance.
    York.

    you can try infoset query:
    STEP - A:
    1. Go to T Code RSQ02 and give the InfoSet name & select CREATE.
    2. Provide the Name(Description) and Data Source i.e. for eg here i take "DIRECT READ OF TABLE" = /BIC/AODS100. Then CONTINUE.
    3. Select what to Include in the 3 options available with the POPUP, here "INCLUDE ALL TABLE FIELDS". Then Check the fields and click GENERATE(one RED and WHITE round icon).
    4. Now provide the PACKAGE for the INFOSET. Come Back(F3).
    STEP - B: optional(If u want to create a new user group)
    1. Select ENVIRONMENT -> USER GROUPS. Provide the User Group name and CREATE.
    2. Provide Description and SAVE.
    3. Provide PACKAGE and SAVE. Come Back (F3) to the Initial Screen.
    4. Click Role/User Group Assignment. Select Newly Created User Group or an existing one. Then SAVE (CTRL + S). F3.
    STEP - C:
    1. Select ENVIRONMENT -> Queries. Provide the query name and CREATE.
    2. Select the INFOSET u have created and assigned the user group.
    3. Provide the Title and Select BASIC LIST. There you have to select (check) the fields you want to display, SAVE and then TEST. It will ask for Variant, just CONTINUE.

  • Show options for projected amount of time based on the current date?

    I'm wondering if anyone has any ideas on how to go about this, or has done something similar before.
    I would like to be able to have the user see what the current date is, and then based on that, be able to schedule an appointment for say, the next two weeks, given that they can select either a Tuesday or Wednesday. (When they "schedule" an appointment, I would just be sending out that info to a spreadsheet or something.)
    So, if today is Tuesday, 6/10/14, they will then see that they can select either Wednesday, 6/11, or a different Tuesday or Wednesday within the next two weeks. Ideally, they would be able to see all of those possible dates listed out, and click/select one.
    If this isn't possible in Captivate, is there another way to do this, and then embed that within that as a web page or object in Captivate, or run a script, maybe?

    I don't think you'd find a way to do the actual date changes and scheduling through CP - that's far more advanced that it's intended for. If there is a way, it'll take complex Actionscripting (and likely external javascripting).
    BUT if your developers can create a webpage that does this (i.e. .NET or PHP), sure, you could put that on a webserver somewhere then use a 'Web Object' in CP to import that page into an iframe so users can interact.
    CP won't know what the users are doing in the iframe...but with CP you could put instructions on the page too, maybe some general callouts, and follow up with a quiz or so.

  • BPEL polling process open new connection every time it poll for data.

    Hi All,
    I've created a BPEL process that with a database polling process for an AS400 table and the log is showing the BPEL process is opening a new connection every second. Is there a way to create a polling process that will only use one connection and keep the connection open.

    This is dependent on the SOA Server configuration not your service. To change that login to EM console and find appropriate configuration entries in administration tab of your OC4J instance.
    Unfortunately I don't know exactly which one (or more that one) is responsible in your case. I didn't trouble about that ever before, for me it can be even million connections as far as it is working smoothly.

  • Playing two midi keyboards at the same time in logic for live show

    hello, i have a macbook pro 2.16 cpu, os 10.4.7, logic 7.1.1 and 7.2 is on the way
    1 gb of ram
    a tascma us-428 inerface
    i want to be able to play two diffrent midi keyboards at the same time is their a way to have one digital instrament for on keyboard, and another midi keyboard on a diffrent digital instrament at the same time, so as to play a live show?
    and also if i want to chang the intrament in the middle of a song becase it switches half way throw the song, is it posble to atomate this switch insted of doing it by hand? please help! thank you.

    here is some good reading regarding patch change
    http://discussions.apple.com/thread.jspa?messageID=2931940&#2931940
    http://discussions.apple.com/thread.jspa?messageID=1993033&#1993033
    http://www.logicprohelp.com/viewtopic.php?t=1045&highlight=instrumentprogram+programmechange

  • Using XML for Live Data- How do you get the XML file to pull data from another xls file?

    Post Author: joseph_atkinson
    CA Forum: Xcelsius and Live Office
    I was wondering you can help me.
    I am currently receiving an *.xls reports on a daily basis (same report, same format, different data). I have put this report into Crystal Xcelcius Designer 4.5 Professional version and created the dashboard I want.
    I am aware of the xml mapping functionality where I can map from the *.swf straight to a database. However, is it possible to map to an xls file that will change on a daily basis? (obviously I can you the refresh button in Designer, but I need to automate this process).
    Your help really would be appreciated.
    Joe

    In Firefox, I'm seeing a bad icon for your zip files. I can
    download it,
    but it looks like something might be amiss with your zip
    files
    themselves.
    Al Sparber - PVII
    http://www.projectseven.com
    Popup Menus | Image Galleries | CSS Tutorials & Templates
    Newsgroup: news://forums.projectseven.com/pviiwebdev/
    CSS Newsgroup: news://forums.projectseven.com/css/
    DW Newsgroup: news://forums.projectseven.com/dreamweaver/
    "Conjurer" <[email protected]> wrote in message
    news:e8upg1$kee$[email protected]..
    > Conjurer wrote:
    >> Boy - I thought this was as simple as creating an
    <a> tag link to the
    >> file like you do with Word docs and Excel xls files.
    So I wrote my
    >> link as follows:
    >>
    >> <li><a
    href="OMGMASalSvy/Survey.zip">2006 Adminsistrators
    >> Survey.zip</a></li>
    >>
    >> But when I click on it I get a big nothing!
    >>
    >> I put the files out there on the host and the
    Word/Excel links all
    >> work great.
    >>
    >> Is there some secret magic to this one?
    >>
    >> My page links are at:
    http://www.omgma.com/surveyforms.htm#Documents
    >>
    >> Thanks for any help.
    >
    >
    > I guess it is working in IE but not in Firefox.... hmmm

  • Polling for new Data in Tables with SQL-functions

    Hi
    In my table I have 2 columns:
    event_state : integer (0 = unread, 1 = read)
    min_process_time : date
    In the DB-Adapter-Wizard I can configure my event_state-Field for using as logical delete field. In the SQL-Query there is a
    ... WHERE event_state=0
    But, I only want to query all new entries in this table, where
    min_process_time > SYSDATE.
    How can I configure my toplink-mapping, that SYSDATE can be used in the polling-query? If I use plain-sql instead of the expression from the Wizard (last page), then this sql-statement is ignored. In an expression I only can use a constant-value.
    Any idea?
    Thanks
    Gregor

    Hi
    I am creating a database Polling (logical delete OPEN to CLOSED) adapter that polls a table for records which have a "SCHEDULED" date field.
    The Polling Adapter should pick up those records where the status is OPEN and SCHEDULED<=SYSDATE.
    DB Adapter wizard does not allows this where clause(SCHEDULED<=SYSDATE) to be set; so i tried modifying the Toplink SQL with custom SQL. But it does not works. Please suggest a workaround.
    Please help.
    Thanks
    Debashis

  • How do you set a start and end time based on changes in data averages?

    I am making a VI to collect data from a calorimeter that will detect automatically when I have triggered the combustion by recognizing a rise in the average temperature, and then will record data from that point until it the temperature rise stops or plateaus. I have worked out how to average my data, how to write it to a file, etc. but I don't know what the best way to construct my VI to automatically respond to changes in the average would be. It seems to me that there are a number of ways to do this, but I am fairly inexperienced with LABView and don't know which is best.
    Does anyone have any ideas, specific advice, or general thoughts about using fluctuations in data averages to set start and stop times for a VI?

    Lynn,
    All great points - thank you for your thoughts. You are right, I am interested in selecting a subset of my data in which the temperature is rising, not setting start and stop times.
    I realize that it is difficult to give concrete advice without more information, but I'm hoping that with some clarification on my part you might be able to give a few suggestions. The calorimeter I am working with is a microbomb calorimeter, which combusts small, dry biological samples in a pressurized, oxygen environment, and it does not have a water tank or other components on other bomb calorimeters. The data I am recording is mV signal from a thermocouple ring that the microbomb rests in. To directly answer your questions, I would say I am measuring detonations, or more specifically the electrical potential generated in the thermocouple due to the temperature increase of the stainless steel bomb. The data is fairly noisy, so I have previously been averaging every 1000 data points together in order to observe the temperature increase clearly.
    The only plateau in the data that I have observed that I need to deal with is at the peak of the temperature increase, when I would like to put my second timestamp/end my data subset. There is a slight lag time due to the rate that the steel heats at, so the entire measurement can take 30-40 seconds even though the combustion occurs in seconds. What I would like to do is have my VI observe and respond to the averages that it is already making, and then by some means, like an increase/decrease beyond one or two standard deviations, for example, and then set the datapoint before the increase as Time 0. Then I would like to identify the end of the temperature increase/end of the datasubset by similar means as the increase levels off. Finally, I want to integrate the curve of the increase and display the integrated value for my users.
    I would appreciate any thoughts. I don't have any raw data to share, but I do have a TDMS of the averaged data from a calibration test I did combusting benzoic acid. I'm not sure how much it will help, but I'll attach it regardless.
    Thanks,
    ~nat
    Attachments:
    benz_test.zip ‏76 KB

  • Time Based ATD for Deployment

    Hi Gurus,
    We are having a customer requirement where we want to consider only Stock for TLB which is daily and for giving long term visibility should do deployment for 2 weeks considering Stock+Expected Production.
    So we are thinking of Deployment Run Weekly...considering Stock+Expected Production...which will consider that and create Confirmed STR...
    And Intend to run TLB daily only on STOCK..........as i understand TLB will club confirmed STR's ....will not look at Stock while STR's ..........
    Or Other option Run Deployment / TLB daily...where wanted to have Deployment daily ....where ATR should have time phased ...like for 1 day only Stock and from 2nd day onwards Production Order + Planned Order.....Wanted to have a Time phased ATR kind of Concept

    Hi Priya,
    Your second option looks very realistic for implementation.
    Because when you run deployment/TLB, the load building
    will be at a very optimal level based on that day's constraints
    and priorities.  Hence running daily looks more predominent
    Regards
    R. Senthil Mareeswaran.

  • Polling for XML data

    My task is to design a module which will be pollong an url for some xml data. The data will be updated from the source at around 19.30 (+/- 1 hour) every day. I'm on wls 6.1 with portal in a J2EE application. Anybody know a pattern for this? Any suggestions?

    My task is to design a module which will be pollong an
    url for some xml data. The data will be updated from
    the source at around 19.30 (+/- 1 hour) every day. I'm
    on wls 6.1 with portal in a J2EE application. Anybody
    know a pattern for this? Any suggestions?Why cant you just create a thread that loads the URL and then sleeps for a day (or slightly shorter so you dont miss the update)?

  • Time series functions are not working in OBIEE for ESSBASE data source

    Hi All,
    I am facing a problem in OBIEE as I am getting error messages for measure columns with Time series functions(Ago,ToDate and PeriodRolling) in both RPD and Answers.
    Error is "Target database does not support Ago operation".
    But I am aware of OBIEE supports Time Series functions for Essbase data source.
    using Hyperion 9.3.1 as data source and obiee 11.1.1.5.0 as reporting tool.
    Appreciate your help.
    Thanks,
    Aravind

    Hi,
    is because the time series function are not supported for the framentation content, see the content of the oracle support:
    The error occurs due to the fact the fragmented data sources are used on some Time series measures. Time series measures (i.e. AGO) are not supported on fragmented data sources.
    Confirmation is documented in the following guide - Creating and Administering the Business Model and Mapping Layer in an Oracle BI Repository > Process of Creating and Administering Dimensions
    Ago or ToDate functionality is not supported on fragmented logical table sources. For more information, refer to “About Time Series Conversion Functions” on page 197.
    Regards,
    Gianluca

  • Time based scheduling  of adaptors in NW 2004S

    Hi XI gurus,
    I know that time based scheduling  for adaptors(Let say polling starts at 2 AM daily) can be done in SP19 of NW2004.
    Could anyone tell me in NW2004S this feature  is availbale or not and if yes on which SP ?
    Regards
    Vijay

    SAP NetWeaver 2004 SP Stack Release to Customer (RTC) Additional nformation 
    SPS 21 Calender Week 42, 2007 (planned) 
    SPS 20 May 3rd, 2007
    SPS 18 August 22nd, 2006
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700001130682005E
    SAP NetWeaver 2004s SP Stack Release to Customer (RTC) Additional Information 
    SPS 14 Calendar Week 45, 2007 (planned)
    SPS 13 Calendar Week 32, 2007 (planned)
    SPS 12 Calendar Week 21, 2007 (delayed)
    SPS 11 March 5th, 2007
    more detail
    https://websmp106.sap-ag.de/~sapidb/011000358700004584092005E
    hope help you!
    Please Award points if help is useful .

  • Time-based sample NetFlow

    Hi Guys
    I need to enable some of the Cisco IOS XR devices in the network to send netflow information to the collector, but the collector requires receive traffic statistics every 5 minutes from the devices. So I am not sure if Cisco IOS XR devices (12K and ASR9K) support time-based method for sample netflow and what are the guidelines for implement this method in a successful way.
    Hope your support!
    Thanks!
    Marcelo

    Hello Marcelo,
    Netflow sampling does not control timer to send netflow stats to collector. Sampling is undetermined variable, it could give impact to the performance depending on how much the traffic is sampled. So, be considerate when setting sampling. According to documentation, for optimal performance, the recommended value is 1 out-of 10000.
    http://www.cisco.com/en/US/docs/routers/asr9000/software/asr9k_r4.3/netflow/command/reference/b_netflow_cr43asr9k_chapter_01.html#wp2397758831
    Export the flow template might do the trick as Jake mentioned. The command is 'template data timeout 60' under flow exporter-map command.
    Thanks,
    rivalino

  • WLC 8510 Time Based ACL Support

    Hi,
    I see something like this in the Data Sheet of 8510 "A wireless policy engine on the Cisco 8500 Series enables profiling of wireless devices and enforcement of policies such as VLAN assignment, QoS, access control lists (ACLs), and time-of-day- based access." I wonder if does WLC 8500 has time-based ACL support, or data sheet is talking about anything else?
    Thank you for replies.
    M.S.Temelli / Istanbul Technical University

    You want a straight answer or you want an answer coming out from the SALES team? 
    Sales team will say "YES".  Will it be effective?  Not one bit.    You go to Security > Local Policy.  You create a Local Policy (and attached to your SSID) and determine what time/day you want specific criterea (like wireless client manufacturer).  
    However, if you want what time/day you want the SSID to go down or UP, then you'll need something more robust, like a Layer 3 ACL.  
    If you want something like a time/day you want the radio(s) of the AP to go down/up then you need something like EnergyWise or WCS/NCS/PI.

Maybe you are looking for