For clearing streaming data on stop button of FMLE

Hi
I am using FMLE 3.2 for streaming and AMS 5.
I have to clear stream data from application on Click event of stop button from FMLE 3.2.
How can i do that? Please help me.
I search for that at the end i got this :
http://help.adobe.com/en_US/adobemediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.2.3.html#WS5262178513756206-67d61d971377ecd8c14-8000
but doesn't understand where to use that tag and in which file?
Please help me.
Thanks in Advance.

I do not have any insight of your application architecture and the changes you have made. So it will not be easy to explain you. Let me try one more time.
You have added a tab and embedded your own wda interface view in the component configuration. When a event is triggered  the FPM transfers control to the component belongs to the UIBB  and in this case your custom component.
Your custom component does not have any knowledge about the other UIBB's in the application.
The solution what i proposed was to analyse the current application and see if there is IF_FPM_SHARED_DATA, IF_FPM_TABBED_CONF_EXIT.
if they are implemented then your work would be simplified. all the events first comes to OVERRIDE_CONFIG_TABBED .You can capture your save event in OVERRIDE_CONFIG_TABBED and you can work around here.
If the above interfaces are not implemented then it is difficult for you to get the things done the way you would like to do.

Similar Messages

  • What are the setting for Save button for saving plan data in WAD template

    Hi,
    i created SAVE button in Webtemplate for saving plan data.But this button is not
    active.is there any setting for this?
    thanks in advance
    chandu

    Hi Chandu,
    The settings to Configure the  Save function.
    Right click the Button Group Item ® Properties ®  * Button    ® 
    Type Caption  ‘Save’ ® Command    ® Select ‘All Commands’ Tab ® 
    De-select ‘Execute Planning Function’ and then select checkbox ‘Save
    Changed Data’ ® Double click on ‘Save Changed Data’ ® OK ® OK ® Save your template.
    *pls assign points,if info is useful*
    Regards
    CSM Reddy

  • Help for Process Priority (STOP buttons)

    I , I have a problem with my program.
    I make the acquisition with a device connected to GPIB.
    I want to have my main program with 2 For Loop and a stop button which stop the program and the device.
    The problem is that, if the program is doing an acquisition and is in a For loop, I can press stop button and nothing happens until the end of the for loop.
    I can stop with main stop red button but my device is not Off.
    I tried an event structure but it don’t works.
    The goal is to have a stop process priority to the acquisition process.
    I attached my structure of program. I only need to keep the 2 For Loop.
    Event structure and while Loop can be removed.
    I use LV2012 sp1f5 but I can upgrade to LV2014 if really necessary
    thanks in advance for your help.
    Solved!
    Go to Solution.
    Attachments:
    priority_process_LV2012.vi ‏16 KB
    Capture.JPG ‏114 KB

    Rigth click on the border of the loop you want to leave and add the conditional terminal.
    Place the Stop button inside the loop.
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Error SOURCE IS the same as the target Task name Clear Cube Data

    Hi,
    When I am trying to use the Clear Package I am getting an error -
    "Source is the same as the Target"
    Any help with how to resolve this ?
    thx

    Hi,
    Please check if the Clear DM package is linked with the Process chain for Clearing the Data.
    We usually get the error you are mentioning in Copy Function when we have same source and Destination members.
    Hope this helps,
    Regards,
    G.Vijaya Kumar

  • Why no mention of the stop button on mp3 playe

    im from the old scholl, belt and braces etc...
    bought this new mp3 thingy (zen touch) lovely bit of kit, 20mb and only ?25
    dosnt bother me its like a brick, im a bit big myself!
    played with it and and got ,000 songs on it, absolutley smashing
    only one small problem, wheres the STOP button :angry:
    i've looked and looked, cant find it, im pausing it, im switching it off
    but no sign of a bloody stop button, either on the machine or in the booklet
    so i register here and try a search, i find lots of questions about a stop button
    lots of good answers and it all make sense, but if its that obvious and makes complete sense
    why dont creative put it in the booklets?
    i dont want or need one, but i would like to know i dont want or need one
    why keep the information a secret?
    oh the touch is a the biz, love it
    stop moaning about the touch pad, im a brickie woith large calous hands an i can work it fine
    will

    hi trance
    thanks for the reply, sorry i rambled you may have missed my point
    i dont require a stop button, i quite like the fact that pause /play do the job better
    what i and others would like though, is somebody incuding it in big letters in the booklet
    a phrase like "oh for the dummies, theres no STOP button" and small explanation why
    thers 70 odd pages in the cd manual im sure somebody could fit that in.....
    cheers
    will

  • AIR for Android: Streaming audio data won't stop unless I quit....

    I write an application (AIR-Android with Flash Builder) which can play internet radio stations (streamed audio in mp3).
    When I want to stop the stream like myChannel.stop() / mySound.close(); the sound is stopping but the stream is still loading (I can see it with a network monitor app).
    Streaming audio data won't stop unless I quit the application or I switch my connection from WIFI to 3G or from 3G to WIFI.
    I do not have this problem with Air for Mac and IOS.
    How can I solve this problem ?
    Bernard

    Hi Chris,
    I received a response from a certain Wang Zhe (from Adobe) about this bug.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3070987
    It should provide an example of his test that apparently it worked but I have still no answer from him.
    Is it possible to contact him directly?

  • Adding stop button for streaming music

    hi iam trying to add a stop button in addition to the play
    button (i already have), to give the user more control. so they can
    click play, then stop and if they desire play again (so it starts
    from the beginning). the music is streamed and i do not have a
    media player (small area) just a play button. any help is greatly
    appreciated the code i have is;
    <object codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0
    class=" height="12" width="12"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param name="_cx" value="318" />
    <param name="_cy" value="318" />
    <param name="FlashVars" value="" />
    <param name="Movie" value="web_images/neverletugoedit.swf"
    />
    <param name="Src" value="web_images/neverletugoedit.swf"
    />
    <param name="WMode" value="Opaque" />
    <param name="Play" value="-1" />
    <param name="Loop" value="0" />
    <param name="Quality" value="High" />
    <param name="SAlign" value="" />
    <param name="Menu" value="-1" />
    <param name="Base" value="" />
    <param name="AllowScriptAccess" value="" />
    <param name="Scale" value="ShowAll" />
    <param name="DeviceFont" value="0" />
    <param name="EmbedMovie" value="0" />
    <param name="BGColor" value="FF0000" />
    <param name="SWRemote" value="" />
    <param name="MovieData" value="" />
    <param name="SeamlessTabbing" value="1" />
    <param name="Profile" value="0" />
    <param name="ProfileAddress" value="" />
    <param name="ProfilePort" value="0" />
    <param name="AllowNetworking" value="all" />
    <param name="AllowFullScreen" value="false" />
    <embed src="web_images/neverletugoedit.swf" width="12"
    height="12" play="true" loop="false" wmode="Opaque" quality="high"
    bgcolor="#ff0000" align="" pluginspage="
    http://www.macromedia.com/go/getflashplayer"></embed>
    </object>

    See if these tutorials help:
    http://kennybellew.com/tutorial/

  • How do I create a start/stop button for each separate while loop within my program, when each of them does a different task?

    I have a multimeter VI with separate while loops to accomplish the different tasks of reading  voltage, current, etc. Each while loop has a stop button, but I need a button that will have to be pressed in order for the while loop to even start. I tried putting another while loop around the present one, but it still has to run once before it will stop. I want the user to have to press the button before it runs, because they interfere with each other.
    I am just learning so patience and your kind assistance is greatly appreciated!
    ElectroKate

    iZACHdx wrote:
    Hello,
    I'm not entirely clear with everything you have going on and what you want your final functionality to be, but you can use sequence structures to prevent a loop from starting until the user presses a button like this:
    -Zach
    I have to ask, why is an NI employee using examples using sequence frames? The same thing could be accomplished using data flow by simply wiring the value of the first stop button out of teh first while loop and connecting it to the second loop. This would then use data flow to control the sequence. Why show new users bad programming methods?
    As to the original question I would concur with altenbach on using an event structure.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Error flushing output stream when stop button is used

    Hello,
    I have a servlet running on the Sun ONE Web server 6.1 that throws this error message: "java.io.IOException: WEB8004: Error flushing the output stream".
    Through my testing, it seems as if this is caused by the user pressing the stop button before the output can be completely commited to the client. Strangely enough the error seems to thrown when IE is the browser but not when Firefox is. My guess is that what is happening is the client connection is closed when stop is pressed in IE and the server cannot write to the client anymore so the error is thrown.
    I was wondering if anyone has any insight into how to prevent this from getting thrown. I realize that this error is not a major thing and probably doesn't need to be worried about, but it is quite annoying because webmaster gets emailed anytime an exception is thrown so cutting down on pointless exceptions is something we like to do :)
    Thanks in advance.

    Hay, did you ever figure it out. I am getting it when one user hits my Servlet to download a specific piece of data????? I can't figure it out?
    Thanks for the info,
    Jeff

  • How to clear the data in my page after user enter submit button

    hi......
    how to clear the data's in my page after user enter submit button. Actually while pressing first time itself the data is uploaded in database.

    Hi Nazeer,
    Instead of doing it on the same button better create a separate button for this functionality, As per my understanding you want to clear these fields to create new record so that you can enter a new record so for this you just need to insert a new row in VO.
    Still if you want to do it on the same button then you need to put the check that particular record is not dirty if it is not then create new record else create new record.
    One more thing if you will clear on the second click of a button how will you update your record??
    Regards,
    Reetesh Sharma

  • Data services stop working after updating to new OS version for Q10

    I am from Qatar, after i updated my device ( Q10 SNQ100-3 ) to new OS ( 10.2.1.537 ), the mobile data services stopped working, but it works everytime I connect to wifi. This is the same with Z10. Please need help.

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (step 1 should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive
    2) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Tring to save data for n iterations, beginning when SAVE button is pressed

    OK, I'm STILL struggling with this vi.  (See post from 12/16).  I've cleaned up the code considerably, and better defined what it is I want to accomplish.  When the vi begins, I want to immediately begin displaying on the front panel 3 values: Indicated Flow Rate O2, Indicated Flow Rate N2, and Helium Concentration.  When the operator presses the SAVE button, I want the next n iterations to be saved to file.  N is determined by the Measurement Duration (in minutes) divided by the measurement interval (in seconds).  After the desired number of data points are saved, the operator can press the stop button, at which time the vi goes to frame 1 of the sequence, shuts off the Helium Solenoid and returns the detector to standby.  The whole key to this vi is being able to monitor the data in real time, and decide based on measurement criteria when to begin saving the data, initiated by pressing the SAVE button.  Somehow, I know I need to initiate the save with the case statement, and then save the data (n-1) more times.  When I tried a loop within a loop, I just saved the same data for the given # of iterations, and then the displays began updating again.  Is this making any sense at all?  I'm beginning to understand what an aneurism feels like.
    Attachments:
    Master He Concentration 12_20 V5.vi ‏88 KB

    One possibility solution is attached. Basically, we have a shift register that contains zero and regulates a case structure. Case zero is empty. If save is pressed, we feed a positive, nonzero number to it , which triggers the default case that (1) saves a data point and (2) decrements the shift register. This contiunes until the shift register reaches zero again.
    Modify as needed.
    btw: there is no reason for any local variables, use direct wires.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Master_He_Concentration_12_20_V5MOD.vi ‏75 KB

  • Streaming radio just stopped working Firefox version 8, but I can get everything else. Add on's are up to date. I can't recall if it happened after the Firefox up date or after listening to last.fm or what! How to fix this?

    Streaming radio just stopped working Firefox version 8, but I can get everything else not on stream to work. Add on's are up to date. I can't recall if it happened after the Firefox up date or after listening to last.fm or what prompted it. How to fix this?

    I installed-enabled MS win media player firefox 1.0.0.8, i still did not get streaming, error box comes up and says 'stream load error', the 'windows media test' thing did not work, i tried iheart radio-no luck, so i disabled win media player plug-in dynamic link library 3.0.2629 and tested and still did not work, i also have plug ins: silverlight 5.0.61118.0 and quicktime 7.6.9 7.6.9.0 enabled. I don't know why all of the sudden i have a stream problem with firefox, yesterday, i tried on IE which i never use and had no problem with it. i will try to do more trouble shooting and see, its really frustrating, if can't figure out, i guess will have to revert back to IE which i really don't want to do, but---oh well. thx for help.

  • I cannot access my stop button while data aquistion is going on

    I have written an application that aquires data from a GPS reciever over a TCP connection and displays it on a graph in "real-time" and it works except that I cannot access my STOP button to stop the connection while it is working. I think I need to do something with multithreading and have done some multithread programming before to do background processing but cannot seem to get a handle on how to make this work. I am sure it must be something qite simple as it seems like something that is quite common. Any help greatly appreciated. My application started life as the Multi XY plot example program from NI.
    Thanks
    DEan

    You can pass a reference to the dialog class into your thread and manipulate the graph that way. The following snippet demonstrates one way of doing this using the DAQmx C API
    UINT CDAQMTExampleDlg::AcquisitionThread(void* pParam)
    CDAQMTExampleDlg* pDlg = static_cast < CDAQMTExampleDlg* >(pParam);
    double data[1000];
    int32 read;
    int error;
    if( (pParam != NULL) && pDlg->IsKindOf(RUNTIME_CLASS(CDAQMTExampleDlg)))
    CoInitialize(NULL);
    TaskHandle taskHandle = pDlg->taskHandle;
    CNiReal64Vector vectorData(1000);
    double *pvectorData = (double*)vectorData;
    while(!pDlg->stopTask)
    DAQmxErrChk(DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByScanNumber,pvectorData,1000,&read,NULL));
    pDlg->m_Graph.PlotY(vectorData);
    Error:
    DAQmxStopTask(taskHandle);
    DAQmxClearTask(taskHandle);
    pDlg->stopTask = true;
    CoUninitialize();
    return 0;
    void CDAQMTExampleDlg:nBnClickedButton1()
    int error;
    DAQmxErrChk(DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));
    DAQmxErrChk(DAQmxStartTask(taskHandle));
    stopTask = false;
    AfxBeginThread(AcquisitionThread, this);
    return;
    Error:
    char errBuff[2048]={'\0'};
    if( DAQmxFailed(error) )
    DAQmxGetExtendedErrorInfo(errBuff,2048);
    if( taskHandle!=0 ) {
    /*/ DAQmx Stop Code
    DAQmxStopTask(taskHandle);
    DAQmxClearTask(taskHandle);
    if( DAQmxFailed(error) )
    printf("DAQmx Error: %s\n",errBuff);
    void CDAQMTExampleDlg:nBnClickedButton2()
    stopTask = true;
    I also wanted to make sure that you know that if you have Measurement Studio 7.x, you have access to a C++ DAQmx API. You can find examples of that API under ..\MeasurementStudio\VCNET\Examples\DAQmx. The C++ API provides asynchronous methods, which means that aquisition worker threads are automatically created for you in the background instead of you having to create them yourself. Plus the C++ DAQmx API provides error handling via exceptions and is designed for use with MFC.
    I hope this helps
    Bilal Durrani
    NI

  • FillBy always fills in the same row in data grid view. How to make it fill in a new row for each click of the Fillby Button? VB 2010 EXPRESS?

    Hi there, 
    I am a beginner in Visual Basic Express 2010. I have a Point of Sale program that uses DataGridView to display records from an external microsoft access
    database using the fillby query. 
    It works, but it repopulates the same row each time, but i want to be able to display multiple records at the same time, a new row should be filled for
    each click of the fillby button. 
    also I want to be able to delete any records if the customer suddenly decides to not buy an item after it has already been entered. 
    so actually 2 questions here: 
    1. how to populate a new row for each click of the fillby button 
    2. how to delete records from data grid view after an item has been entered 
    Thanks 
    Vishwas

    Hello,
    The FillBy method loads data according to what the results are from the SELECT statement, so if there is one row then you get one row in the DataGridView, have two rows then two rows show up.
    Some examples
    Form load populates our dataset with all data as it was defined with a plain SELECT statement. Button1 loads via a query I created after the fact to filter on a column, the next button adds a new row to the existing data. When adding a new row it is appended
    to the current data displayed and the primary key is a negative value but the new key is shown after pressing the save button on the BindingNavigator or there are other ways to get the new key by manually adding the row to the backend table bypassing the Adapter.
    The following article with code shows this but does not address adapters.
    Conceptually speaking the code in the second code block shows how to get the new key
    Public Class Form1
    Private Sub StudentsBindingNavigatorSaveItem_Click(
    sender As Object, e As EventArgs) Handles StudentsBindingNavigatorSaveItem.Click
    Me.Validate()
    Me.StudentsBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.MyDataSet)
    End Sub
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'TODO: This line of code loads data into the 'MyDataSet.Students' table. You can move, or remove it, as needed.
    Me.StudentsTableAdapter.Fill(Me.MyDataSet.Students)
    End Sub
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Me.StudentsTableAdapter.FillBy(Me.MyDataSet.Students, ComboBox1.Text)
    End Sub
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Me.MyDataSet.Students.AddStudentsRow("Jane", "Adams", "Female")
    End Sub
    End Class
    Get new key taken from
    this article.
    Public Function AddNewRow(ByVal sender As Customer, ByRef Identfier As Integer) As Boolean
    Dim Success As Boolean = True
    Try
    Using cn As New OleDb.OleDbConnection With {.ConnectionString = Builder.ConnectionString}
    Using cmd As New OleDb.OleDbCommand With {.Connection = cn}
    cmd.CommandText = InsertStatement
    cmd.Parameters.AddWithValue("@CompanyName", sender.CompanyName)
    cmd.Parameters.AddWithValue("@ContactName", sender.ContactName)
    cmd.Parameters.AddWithValue("@ContactTitle", sender.ContactTitle)
    cn.Open()
    cmd.ExecuteNonQuery()
    cmd.CommandText = "Select @@Identity"
    Identfier = CInt(cmd.ExecuteScalar)
    End Using
    End Using
    Catch ex As Exception
    Success = False
    End Try
    Return Success
    End Function
    In closing I have not given you a solution but hopefully given you some stuff/logic to assist with this issue, if not perhaps I missed what you want conceptually speaking.
    Additional resources
    http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

Maybe you are looking for

  • Safari wont open, it says, Safari quit unexpectedly

    This started today and not sure what to do. I searched the web and cant find anything

  • LOTS of Mac & Macbook Questions

    Hey all, My parents have just told me that as a birthday/xmas gift they are going to help me buy a laptop I wanted to know a couple things: My dad got a macbook free (SO lucky) through his work but it is the most basic 1.83Ghz with 512mb ram Core Duo

  • Unzipping core Files

    Im trying to install Java but it keeps telling me that there is a problem unzipping core files. So I tried to change destination but its still not working. Can somebody please try help me :)

  • IPhoto won't open after fresh instal of Lion!

    I recently erased my hard drive and did a fresh install of Lion as I am giving my MacBook Pro to my brother as a Xmas present. I used a USB pen to reinstall Lion. I used my time MAchine backup to bring over iPhoto, iMovie and Garageband. Everything w

  • ECC6 BAPI_SALES_ORDER_SIMULATE very slow

    We've been using BAPI_SALES_ORDER_SIMULATE in a report and found that the BAPI is extremely slow.  After investigating using the performance analyzer, we found that the great majority of execution time was spent writint to table BALHDR and BALDAT, th