How to create a Listener to start/pause/stop a DIY media player

Hi there,
I am writing a multimedia Advertisement application. Which will play a list of media clips one by one. HOWEVER, there is NO Button in it. Since this application is for cash register. That means whenever a purchase happens it will stop play the Ads and it will continue play the Ads clips afterwards.
So, I am thinking to setup some Listener on the player to listen to the control message from the till. As I said there is no GUI button, so I can not define the action listener as before.
How can I define such a listener ? any thought?
Thanks a lot.

Hi Ican, 
Upon opening your Vi I am getting an error that says, "The file you are attempting to play has an extensions (.) that does not match the file format." What extension are you using? Are you able to play files with extensions that are compatible with Windows Media Playter? If so, then I would suggest converting your playlist filenames an extension that Windows Media Player is able to play.
Regards,
Jackie
DAQ Product Marketing Engineer
National Instruments

Similar Messages

  • How to create a Listener to start/pause/stop a  media player

    Hi there,
    I am writing a multimedia Advertisement application. Which will play a list of media clips one by one. HOWEVER, there is NO Button in it. Since this application is for cash register. That means whenever a purchase happens it will stop play the Ads and it will continue play the Ads clips afterwards.
    So, I am thinking to setup some Listener on the player to listen to the control message from the till. As I said there is no GUI button, so I can not define the action listener as before.
    How can I define such a listener ? any thought?
    Thanks a lot.

    Yesss, it is working again, thanks to you.
    A quick recap for those who may need it:
    - 1. delete the keys to Oracle listeners in HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services.
    - 2. follow the instructions detailed in Metalink under "Note:311399.1".
    - 3. Reboot.
    - 4. in the LSNRCTL shell issue the following commands:
    -- a. set current_listener <listener_name>
    If the listener was left without a name, substitute "listener" for "<listener_name>".
    -- b. start
    Thank you again for your help and time.
    adsm

  • Creating OS400 tasks to start and stop CCMS agent

    Hi all,
    Does anybody have any information about how to create the jobs to start and stop the CCMS agent on an iseries machine?
    Regards,
    Koen Engelen

    All,
    Starting the job interactively works great, I'm able to start and to stop the agent.
    But when I schedule the job in the jobscheduler it does not run. The following error is given:
    ILEWRAPPER calling sapccm4x: cannot find PASE executable "sapccm4x" in path
    Can anyone please help?
    Best regards,
    Koen Engelen

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • How to create a new folder within the video folder in media

    Hi, I'm trying to figure out how to create a new folder within the video folder in media. I can easily create new folders within the pictures folder but not in videos.....Why??? Thanks in advance for your help.
    Message Edited by dany_s on 06-25-2009 03:58 PM
    Solved!
    Go to Solution.

    Hello,
    I think you can try two things : the soft reboot, and if it does not work, the hard reboot. Don't worry, you can't lose data with these two reboots.
    Soft reboot :
    1) Hit the three following keys at the same time :
    - Alt
    - Right Shift
    - Delete
    2) wait 2 minutes for the Blackberry to wake up.
    Hard reboot :
    1) your Blackberry device is on
    2) remove the battery and wait for a minute
    3) Put the battery back
    4) wait 5 minutes for the device to wake up.
    Please tell us if it works for you.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Urgent - How to create new listener in Apache

    Hi,
    I was till now using OAS 4.0.8.2 on NT4 SP5 as our middle tier. We had two sites running on two different listener.
    Recently installed 9iAS 1.0.2.1 in place of OAS 4.0.8.2. My problem is Apache server has one HTTPserver service with default port 80.
    I want to create new listener on different port for our two sites. How can i do with Apche server.
    Would appreciate if someone post an early solution.
    Thanks in advance.
    Vipul

    Your listener.ora may become something like this :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = <db name>)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.148)(PORT = 1521))
    SID_LIST_LISTENER1526 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc1526)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = <db name>)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
    LISTENER1526 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1526))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.148)(PORT = 1526))
      )You'll have two listeners :
    1. listener => port 1521
    2. listener1526 => port 1526 (listener1526 is a free name, you can name it as you want)
    To start/stop listeners :
    $ lsnrctl start/stop => to start/stop listener on port 1521
    $ lsnrctl start/stop listener1526 => to start stop listener on port 1526

  • How to create a listener using the new MDM API

    Does anyone have an example on how to create a addrecord listener using the new MDM API?

    Refresh!
    Hi all,
    Looking for some sample codes on the same
    Best regards,
    Arun prabhu S

  • How to create a listener for an Object.

    Can someone help me with creating a listener for an Object?
    What is the easiest way?
    For example... if I have the following class.... how could I set up a listener to know if "attribute1" value has changed?
    class MyObject {
    private int attribute1;
    private int attribute2;
    // Set the attribute
    public void setAttribute1(int num) {
    attribute1 = num;

    This can be done but depends on your situation. give me some more details about the program.
    In the worst scenario, u can set up a thread watching this variable to check for its previous value. if the value is different, u can get an alert.

  • How to create a listener service at command line?

    Hello,
    I want to create and configure a listener service in an installation script.
    lsnrctl does not support the creation of this service.
    netca or netmgr require user interactions.
    Is there an other tool to create the listener service or is it possible to use netca/netmgr with special options in a command line mode?

    Thank you very much - it works.
    When I execute the command
    "lsnrctl start"
    I get the error message
    "Failed to open service <OracleOraDb10g_home1TNSListener>, error 1060."
    but the service is created and is running.
    So the error message can be ignored.

  • How to use counter as an start and stop trigger in 6009

    Hi ALL.
    I'm using USB 6009 as a subject of to acquire data.
    I would like to know on how to use the counter digital input as a start and stop trigger. 
    The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
    I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.  
    I would be happy if anyone could suggest me some ideas on this matter.
    Thanks.
    Attachments:
    DigitalStartandStopTrigger.vi ‏32 KB

    Hi Kate. 
    Thanks for your response.
    For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
     At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
    However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
    Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it. 
    -Fird- 
    Message Edited by Fird on 07-02-2009 04:28 AM
    Attachments:
    Acquire Data Test 4.vi ‏27 KB

  • How do I export FCP movie to a WMV format (Windows Media Player friendly)?

    I am puzzled. How can I export FCP movie to a WMV format or Windows Media Player friendly?
    Thanks in advance.

    You need a third party app to do this... AVI is the only format that you can export from FCP that's windows media friendly... WMF's can be exported with flip4mac... http://www.flip4mac.com Probably the best of the apps...
    Jerry

  • How to publish a Captivate piece to Import as Animation with Media Player Controls

    I want to record a demonstration of an application using
    Captivate 3. Then, I want to publish this as a flash piece. (swf).
    Then, I want to "import as animation" into a WBT template using
    Captivate. The issue I am having is importing the flash piece to
    include the media player controls so the user has control of only
    that flash piece. Usually, we get two swf files one of the main
    recording and another of the skin (media player). I know I am
    missing something either in my publishing options or somewhere
    else.
    Can anyone help?

    Welcome to our community, juando_m
    You might try this. In the first project, click Project >
    Skin... > Borders tab and DE-select the "Show Borders" check
    box. This should coax the playback controls into the main part of
    the movie so there is a single .SWF. You could then have the
    playback controls present in the .SWF you insert into the second
    Captivate.
    Note that doing this will also cause the playback controls to
    cover part of the movie.
    I'm not sure how well the playback controls will work once
    the project gets inside the second. So I wouldn't be too surprised
    if they failed to work. But they might. So it's definitely worth
    trying to see.
    Cheers... Rick

  • How to create geofence at the start of a geometry segment?

    I want to create a geofence at the start (and end) of each of our road sections.
    The geofence would extend exactly x(specified) metres at right angles to the segment direction at the start point.
    Is there any Oracle functionality to construct a line (or 2 points) at right angles to a point on a line?
    I can find the start point using this construction
    SELECT SDO_LRS.GEOM_SEGMENT_START_PT(geom)
    FROM ROAD_CENTRELINE_SDO WHERE id = 82;
    The only way I have found of creating the geometry is by using some trigonometry to calculate the angle subtended and create two equidistant points. This is rather clumsy and I wondered if anyone knew how to do this more efficiently using Oracle Spatial functionality.
    Philip

    Phil,
    I can understand that you found the packages complex. There is quite a bit of work gone into them over the years. Once you are over the install, and grow in your understanding of Spatial, you might find one or two of the functions quite useful. I am working on documentation... not enough hours in the day!
    Wrt you immediate question.
    Assuming that these two queries return the points you need:
    SELECT SDO_LRS.LOCATE_PT(a.geom, 0, -7) FROM ROAD_CENTRELINE_SDO a
    SELECT SDO_LRS.LOCATE_PT(a.geom, 0, 7) FROM ROAD_CENTRELINE_SDO a
    Then, because these functions return a point in the sdo_ordinate_array and not in SDO_POINT, you should be able to construct a line as follows:
    SELECT sdo_geometry(2002,l.SRID,NULL,sdo_elem_info_array(1,2,1),
           sdo_ordinate_array(l.column_value.x,l.column_value.y,
                              r.column_value.x,r.column_value.y))
      FROM ( SELECT a.ID, a.geom.sdo_srid as srid, b.*
               FROM ROAD_CENTRELINE_SDO a,
                    TABLE( SDO_UTIL.GET_VERTICES( SDO_LRS.LOCATE_PT(a.geom,0,-7) ) )
           ) l,
           ( SELECT c.ID, c.geom.sdo_srid as srid, d.*
               FROM ROAD_CENTRELINE_SDO c,
                    TABLE( SDO_UTIL.GET_VERTICES( SDO_LRS.LOCATE_PT(c.geom,0, 7) ) )
           ) r
    WHERE r.id = l.id;I have not tested this as I do not have an operational LRS in place but it should work. Of course, if the SDO_LRS.LOCATE_PT returned the data in an sdo_point structure all this complexity could be avoided. But this approach does not require the construction of a function that returns an sdo_point from an sdo_geometry with a point coded in sdo_ordinate_array (which would be result in nicer SQL). If you coded a function that did this:
      create or replace Function ToSdoPoint( p_geometry IN MDSYS.SDO_GEOMETRY )
        RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC
        IS
         v_element         number;
         v_elements        number;
         v_geometry        MDSYS.SDO_Geometry;
         v_SdoPoint        MDSYS.SDO_Point_Type := MDSYS.SDO_Point_Type(0,0,NULL);
         v_Ordinates       MDSYS.SDO_Ordinate_Array;
      Begin
        IF ( MOD(p_geometry.sdo_gtype,10) not in (1,5) ) Then
          v_geometry := NULL;
        ELSIF p_geometry.sdo_point is not null THEN
          v_geometry := mdsys.sdo_geometry(p_geometry.sdo_gtype,p_geometry.sdo_srid,p_geometry.sdo_point,NULL,NULL);
        ELSE
          v_ordinates  := p_geometry.sdo_ordinates;
          v_SdoPoint.X := v_ordinates(1);
          v_SdoPoint.Y := v_ordinates(2);
          IF ( FLOOR(p_geometry.sdo_gtype/1000) = 3 ) THEN
            v_SdoPoint.Z := v_ordinates(3);
          END IF;
          v_geometry := mdsys.sdo_geometry(p_geometry.sdo_gtype,p_geometry.sdo_srid,v_SdoPoint,NULL,NULL);
        END IF;
        RETURN v_geometry;
      END ToSdoPoint;
    show errors
    select toSdoPoint(mdsys.sdo_geometry(2001,null,null,
                       sdo_elem_info_array(1,2,1),sdo_ordinate_array(1,2)))
      from dual;Then the SQL becomes:
    SELECT sdo_geometry(2002,SRID,NULL,sdo_elem_info(1,2,1),
           sdo_ordinate_array(left.x,left.y, right.x,right.y)) as geom
      FROM ( SELECT a.geom.sdo_srid as srid,
                   ToSdoPoint(SDO_LRS.LOCATE_PT(a.geom, 0, -7)) as left,
                   ToSdoPoint(SDO_LRS.LOCATE_PT(a.geom, 0,  7)) as right
               FROM ROAD_CENTRELINE_SDO a )Hope this helps.
    regards
    Simon

  • How to make the listener auto start with OS?

    Using: 10gR2 (10.2.0.3) RAC +ASM 64bit  &  11g Gateway (11.1.0.7) 64bit
    2 Node Cluster
    Platform: SUSE Linux Enterprise Server 8 (x86_64) (kernel: 2.6.5-7.276-smp)
    I have a two node cluster that uses a 10gR2 DB home. I have setup a 11g Gateway home to allow the 10gR2 Home to connect to an AS/400 system.
    The Heterogeneous connection works perfectly.
    The problem is that when I reboot the nodes the 11g Gateway listener doesn't startup with the OS.
    Question: How can I setup my OS to have the listener startup at system boot?
    Currently, I have to manually set ORACLE_SID, change to 11g Gateway home and start the listener.
    Thanks,
    (BLL)

    user10860953 wrote:
    My initial research (google) the subject of "oracle 10g adding listener clusterware" finds plenty of hits for adding instances to the cluster.
    I was less successful with finding information on adding a listener as a node app.
    Any suggestions on a reference article?
    The way to add applications is documented in the Admin Guide.
    Would not the netca (run under 11g) achieve the same?

  • How to create a printer wich start direct adobe

    Hi,
    i have create an printer with devices type PDF1 and host spool access method M (E-Mail to Receiver/Owner).
    this printer creates an email wit PDF-attachment. This works OK.
    Question: is it possible to create an printer wich doesn't send an email. This printer shell the PDF-output
    download and start adobe with this output.
    Is this possible?
    Thanks.
    Regards Dieter

    Hi Dieter,
    You might have more success if you get this post moved to one of the basis forums, this is much more their kind of thing.
    Anyway, I guess in theory you can do what you want, as this is pretty much how Access method F (Frontend printing) works, but creating your own Access method may not be that simple.
    My gut feel is this is not possible with the Access methods delivered as standard.
    Regards,
    Nick

Maybe you are looking for