How to create a latch that can latch the input data for 50ms?

Now I have some data come from the sensor. I want to latch this data for 50 ms and then reset it to 0. Does anybody do this before? Thank you

Now I am using the "two button dialog" to create a dialog box. After the dialog box pop up, I choose "yes" the "two button dialog" will output a "True". My problem is that this "True" disapear too fast. My while loop frequency is only 20Hz. And I want to send this "True" value to somewhere. However the two "button dialog" will clear this "True" after 10ms?. So I always got a "false" value. How to "Freeze" this dialog box output value for at least 50ms? How to create a latch to hold this value?
Attachments:
Two_button_Dialog.bmp ‏1132 KB

Similar Messages

  • How to create a user that can login the LDAP?

    I want to create a user that can login the OID/LDAP. I know how to create a user, it is allowed to login OIDDAS, but I also want the user to grant access to ldap directly. How do i do that?
    And how can I give it read rights and or update/delete rights on a specific tree?
    Regards
    Eelco

    Eelco,
    did you see the OiD developers guide? Here you find some examples how to create users in OiD using pl/sql or java.
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95193/smplcode.htm#637294
    how to use directory access control can be found in
    http://download-west.oracle.com/docs/cd/A97329_03/manage.902/a95192/access.htm#1054232
    --Olaf

  • How to create a formula that shows only the last date of a series of dates

    I have a report that shows a series of dates that 'notes' were created on a particular file. I want the report to only show the date of the last note that was created instead of showing all the dates. Ive tried using 'Maximum ()' which does not work.
    Any suggestions?

    Either order the dates in ascending order and place the date field in the group footer
    -or-
    order the dates on descending order and plade the date field in the group header.
    HTH,
    Jason

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • Report that can display the installation date of an application or program

    Hi,
    Would like to ask if anyone knows a built-in report in SCCM 2012 that can display the installation date of an application or program, either it was through deployment with SCCM or through manual installation?
    Thanks in advance!

    Got this to give me the report that I wanted but eliminating some entry on the SQL Query that
    Peter van der Woude gave. Here's the Query I used to display the computer name, name of software, date of installation and day since installation of the software.
    SELECT TOP (100) PERCENT
    dbo.v_R_System.Name0,
    dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0,
    dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0,
    DATEDIFF(Day, CONVERT(date,dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0), GETDATE()) AS [days since installed]
    FROM
    dbo.v_R_System INNER JOIN
    dbo.v_GS_ADD_REMOVE_PROGRAMS ON
    dbo.v_R_System.ResourceID = dbo.v_GS_ADD_REMOVE_PROGRAMS.ResourceID
    WHERE
    (SELECT ISDATE(dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0)) = 1
    GROUP BY
    dbo.v_R_System.Name0,
    dbo.v_GS_ADD_REMOVE_PROGRAMS.DisplayName0,
    dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0,
    DATEDIFF(Day, CONVERT(date,dbo.v_GS_ADD_REMOVE_PROGRAMS.InstallDate0), GETDATE())
    Thanks
    Peter van der Woude!

  • How to create a JButton that can run other Apps?

    Hi, Every1
    i want to create a JButton which can let the user click it and it runs a
    specified installed app in the system ( say, a JButton that fires up MS
    Outlook). how can i do that?
    thank you very much.
    Yu.

    hi, if i want to execute some kind of the following, how would i handle it?
    mailto:[email protected]
    i tried: Runtime.getRuntime().exec("mailto:[email protected]");
    but it gave me java.io.IOException: CreateProcess: mailto:[email protected] error=2
    i think this problem would be relatively easy but i just cant figure out.
    thanks

  • How to create a vi that can be connected to any type of array

    I would enjoy to create a vi that can perform an operation (like resizing) on any type of array (array of string, of cluster, of num,...): Which type of control or indicator could I use for this purpose? Any Idea?
    Thank's for your help

    Olivier,
    to do this you have to use a variant input. You can wire any type of data to a variant input. Inside the VI you flatten the variant to a string. The flattened string of an array contains both data and length of the array. You reshape the array manipulating the string. When done, you unflatten the data to a variant and output it from the VI. The caller has to convert the variant input to the source array type. OpenG.org provides a quite extensive toolkit to manipulate variant data. Some VIs specifically manipulates arrays. To see a description of VIs go to : http://opengtoolkit.sourceforge.net/lvdata/index.html
    LabVIEW Data Tools can be downloaded from http://sourceforge.net/projects/opengtoolkit/
    You need both packages lvdata AND error.
    LabVIEW, C'est LabVIEW

  • How to create PDF files that can't by copied by MAC

    Hi,
    I need to create pdf files that I can put on my website, that cannot be copied or edited by MAC users. I have created pdfs that can't be copied by Windows users, but they're still copyable by Mac users.
    Thank  you!
    Alicia

    Your Windows users must be exceptionally uninformed...

  • How to create a DVD that can play on a computer

    I've finally become familiar with using Premiere Pro CS3 and Encore. When I'm creating a DVD I understand that it will be played on any standard DVD player but I would also like to have it play on a computer. Is there a setting which will allow this to happen?
    I've tried playing it on my PC as well as another, but nothing happens.
    Have I overlooked something?
    Thank you.

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create BI templates that can appear on Blackberries

    Hello,
    I am trying to create web templates that will appear on some BI users' blackberries. They use Blackberry models 8110 and 8520. Using the Blackberry simulator for testing, I have managed to get the web templates to appear on the Blackberry screen.
    Unfortunately, I cannot display output in a table or graph format. Right now all I get is a line by line text display. I also cannot get variable screens to appear. We are using BI version 3.5 to create the templates. I understand it is not possible to use BW 7 for this purpose.
    Does anyone know of any tricks or techniques to get table or graphical web template output to appear on a Blackberry screen?

    Persius,
    Nearly every DVD that will play on a set-top player *should* play on a computer, provided two things:
    1.) the computer has a DVD player that can handle that flavor of DVD media, DVD RW, DVD-R, DVD+R, DVD DL, etc.
    2.) the computer has a software player installed. This feature has been removed from some common media players. You may need to locate, download and install a separate software player.
    There could be another discussion on interlaced vs progressive scan media, but I'll let you ask that question.
    Hunt

  • How to create a version that looks like the "quick preview" image?

    Is there a way to easily create a version that is similar in appearance (mostly apparent as saturation)to what is seen when hitting the P key and viewing the "quick preview"? I shoot raw (Canon .cr2) and find that for many of my shots, the "quick preview" would be a nice starting point, and often a fine end-result, for saturation. Any hints welcomed. Thanks. Fred

    Thanks for your comments and I certainly agree with your suggestions. I was hoping that there was something that I was overlooking that would essentially work like a "lift/stamp" and let me find settings that were embedded in the camera generated jpg. I know that you know your way around Aperture, so if you don't have a trick up your sleeve, I think it's probably not to be found.

  • How to create a form that can auto-populate all fields based on a specific selection?

    We have created a template for each type of package used in our business.  The template is the same but depending on the package selected, the fields would be populated differently.  How can we create a template to load the fields based on the specific package selected?  We use Adobe Acrobat Pro in creating the templates.

    This forum is for the Adobe FormsCentral (http://formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask Acrobat/PDF related form questions in the Acrobat forums:http://forums.adobe.com/community/acrobat/acrobat_windows
    I'll move your post to that forum so you don't need to retype it. They can help you out...
    Randy

  • How to create stored procedure that can be read through Hyperion intelligen

    hello everyone out there. I need some help I create a select stored procedure and would like to run it through Hyperion intelligence with some input parameters. The procedure is not working. it is throwing an error when I execute it through Hyperion. Also how do I put multiple values like an array sort of things in a where clause like this where name in('test', 'test1). I place the stored procedure below any help will be greatly appreciated.
    CREATE OR REPLACE PROCEDURE emp_by_dept (
    p_deptno ert_dept_t.dept%TYPE
    IS
    emp_refcur SYS_REFCURSOR;
    v_dept ert_dept_t.dept%TYPE;
    v_deptname ert_dept_t.deptname%TYPE;
    BEGIN
    OPEN emp_refcur FOR SELECT dept, deptname FROM ert.ert_dept_t WHERE dept = p_deptno;
    DBMS_OUTPUT.PUT_LINE('dept deptname');
    DBMS_OUTPUT.PUT_LINE('----- -------');
    LOOP
    FETCH emp_refcur INTO v_dept, v_deptname;
    EXIT WHEN emp_refcur%NOTFOUND;
    END LOOP;
    CLOSE emp_refcur;
    END;

    Chrome has its own PDF viewer plugin that is quite buggy when it comes to PDF forms (as do Firefox and Safari, by the way).
    So yes, the best solution is to download the file and then open it locally using Adobe Reader. However, you can't enforce that. It's up to the user and their browser settings. You can only recommend it to them.

  • How to create a plugin that can be installed on a webserver

    Hi,
    I want to create a program in java which can be installed as a plugin on a WebServer. Can anyone please give me some suggestions as how to go ahead with this.
    Thanks in advance
    -Raghu

    The means of writing plugins for web servers (Apache, IIS, iPlanet, etc.) vary widely and why would you want to do that anyway? Wouldn't a Servlet be a better idea?

  • How to create a SO that can be taken as account assignment object for PO?

    Dear all,
    I am trying to create a PO with ME21n and I want to assign the item to sales order item (SO). I put in account assignment group "C", but everytime I enter the SO number I get the message: "Account 612200 requires an assignment to a CO object                                                   
        Message no. KI235"
    So it seems that it does not recognize the SO as an CO object, although the help says you can assign to a sales order.
    What has to be done to get this assignment working?
    By the way "E" is also not working.
    Unfortunately I am neither in an individual purchase order scenario (because we do not always require a PR and moreover the material/service we must buy depends on many factors, so a subcontracting scenario with a BOM won't help neither) nor in a 3rd party order scenario.
    My scenario is: SO is entered. Sometimes we have to buy either a service or a material. Shipping is directly to us and we pay the supplier. When the whole SO is fulfilled we bill our customer for the material/services we bought for them and hopefully can put a little margin on top.
    Any ideas?

    Hi,
    i tried the same scenario, i was getting the same error but FICO consultant assigned the CO object to the GL acoount then it works i used the account assignment category C. but still i am testing this scenario because the cost is not going on SO.
    regards,
    Qasim

Maybe you are looking for

  • Drag and Drop to Change Order of a Collection

    I have created a collection and now want to change the order of the photos in the collection. I try to select a photo to drag and drop it to the correct position. Sometimes I can do this, other times I can't. If I exit and reenter Lightroom, the prob

  • How to remove the decimal points at the end of the value????

    hi, we are using crystal reports 9.0. we have some reports which contains group by field.  we have one field like address. if we select group by as address "The data is displayed grouped by the Address. But the address is shown in decimal points". fo

  • All pictures erased from Ipod touch 4th gen?

    4th Gen was replaced in US - back in UK tried to import new pictures taken on new ipod to laptop (didn't sync) - all pictures disappeared - could i get them back?

  • At what point do I ask for a replacement...

    Ok, so I hope this isn't too rant-y or long-winded, but here goes: I've got a Rev A low end MacBook, bought JUST under 3 years ago, with AppleCare that has been having more than a few problems. Noticed the optical drive was giving me problems two wee

  • Mac Pro Not Shutting Down

    Hi, I have a week old Mac Pro 8 core (6 gig of RAM and 3 HD's) that has suddenly developed an aversion to shutting down. OSX exits and the monitor shuts off but the fans keep on spinning as normal and the power light stays on. If I select "reboot" th