Reaction Time Test

Hi everybody.
I've been tearing my hair out trying to program a Reaction Time Test.  I have been trying to search for topics that were like my program, but these programs were based on lights and on-off functions while mine is based on random number generator.
To explain a bit more in detail, I am creating a program that allows a test subject to choose 2 numbers to add or subtract (from 0-10).  Then the program will randomly generate numbers between 0 and 10 and display it to the subject and the subject will need to react when the displayed number equals the answer in their head. On the programs side, when the number randomly generated equals the true answer the loop will start a timer and when the subject presses the button, the timer stops and displays the time.
Right now, I'm having a problem with the last sentence.  I can't make heads or tails of how to get a timer started or getting it to properly output. 
Any ideas?
Heres the most recent version of my vi
Solved!
Go to Solution.
Attachments:
ControlReactionTest.vi ‏15 KB

You can just ignore button reads until the time is right.
Here's a simple rewrite, see if it makes sense.
Notes:
Make sure that all controls have labels. You can hide the label on the front panel, but don't make it an empty string. It makes assigning event, etc. nearly impossible. All controls need a label for code readability.
Don't maximize the diagram to the screene. That's very annoying.
Don't trap event structures insude case structures.
Don't use right-to-left wiring (e.g. for the status)
Mind your representations. Look at all your red coercion dots. The numbers should be Integers of the same type.
Watch out for mechanical actions. Your start button is "switch until released" (like a car horn!), making detecting a press hit and miss, epsecially in the presence of long waits.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ControlTest_MODCA.vi ‏12 KB

Similar Messages

  • I have an Iphone 4 with IOS 6 and my emails have disappeared.  I also have a very slow reaction time to my touch screen.

    I have an Iphone 4 with IOS 6 and my emails have disappeared.  I also have a very slow reaction time to my touch screen. Help!

    Hello there, parihargs1.
    To troubleshoot display brightness issues the following article provides 2 key steps:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Of note is the following:
    Display has no backlight or dark screen
    Toggle the ringer switch to see if the unit vibrates. If it does, it could be that iPhone is getting power, but is not displaying any image.
    Try turning iPhone off and then on again.
    While connected to the iPhone charger, try to reset the iPhone.
    If the low-battery screen appears, charge the iPhone.
    Display does not adjust brightness automatically
    The ambient light sensor brightens the display when using the iPhone in brightly lit environments, and dims the display in low light. To test this sensor, do the following:
    If the iPhone is in a protective case, remove it from the case. If there is a protective film on the display, remove the film.
    Verify that the Auto-Brightness setting (Settings > Brightness and Wallpaper) is set to ON, and that the Brightness level is set near the middle of the slider.
    Press the Home button to return to the Home screen and then press the Sleep/Wake button to lock the iPhone.
    In a bright environment, cover the top third of the iPhone to block the light, then press the Sleep/Wake button or the Home button to wake the phone. Slide the slider to unlock the phone.
    Notice the brightness of the screen and application icons; they should be somewhat dimmed.
    Remove the cover from the top of the display and in a few moments the display should get brighter.
    If these steps do not resolve your issue please refer to the "Issue not resolved" section for your next step.
    Thansk for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Error 1151 in a reaction timer

    i have been working on a reaction timer and i need to run the same program multiple times but put in different colored squares (when the square shows up click stop to get time) to see if that effected the reaction time so i made a bunch of seperate files with the different colors but i wanted to combine them and after i combined them i had a bunch of duplicates and i got those fixed but i still have error 1151.
    i have the same text thirty times and where the numbers and myy is they are to get rid of duplicate terms
    var blueSquare=new blueSquare();
    timeline 1
    stop();
    var myy1Timer = new Timer(2500);
    myy1Timer.addEventListener(TimerEvent.TIMER, blueSquareDelay1);
    myy1Timer.start();
    var blueSquare = new blueSquare();
    trace (blueSquare);
    function blueSquareDelay1(E: TimerEvent):void{
    addChild(blueSquare);
    blueSquare.x = 270;
    blueSquare.y = 200;
    timeline 2
    stop();
    //1.
    myText_txt.text = "0";
    trace(myText_txt);
    var myTimer2  = new Timer(30,0);
    myTimer2.addEventListener(TimerEvent.TIMER, stopWatch1);
    //2.
    function stopWatch1(event:TimerEvent):void {
    myText_txt.text=String(myTimer2.currentCount);
    //3.
    stop_btn.addEventListener(MouseEvent.CLICK, stopClock1);
    reset_btn.addEventListener(MouseEvent.CLICK, resetClock1);
    //4.
    myTimer2.start();
    //5.
    function stopClock1(event:MouseEvent):void {
    myTimer2.stop();
    //6.
    function resetClock1(event:MouseEvent):void {
    myTimer2.reset(myText_txt.text="0");
    if you are planning on building it to test i have three buttons the stop start and reset with the instances stop_btn etc. then there is an adaptive text box with instance of myText_txt i also have not put time in to get the start and reset buttons working it just starts on its own

    i am having a blank and have no idea what the class would be in this case but i did go trough and replace everything with the new code section that you gave me including everything like the actionscript export code and all the other stuff and it still wasnt working (probobly because of something with the class as you said)
    i also noticed that in the error reports it doesnt report the first error untill frame three where frame one is the "menu"
    and two is the first reaction thing. so the first occurence doesnt have an error in it.
    i also failed to mention in my first post that it worked when the one program was by itself and didnt stop untill i put all thirty repititions into the same program
    thanks

  • Recording user reaction time in Flash

    I am running several visual cognition experiments using
    Flash. See there here:
    http://vacognition.wjh.harvard.edu
    Experiments are by definition interactive, in that I am
    recording data from the people who participate. Currently, I just
    record accuracy (did they answer a question correctly or not). Many
    experiments require getting reaction time -- that is, how long did
    it take them to respond. How accurate can I expect my measurements
    to be? In the lab, they would be accurate to about 2-5
    milliseconds. I know it won't be that good with Flash over the
    Internet, but does anybody have any idea *how* accurate?
    Oh, and please participate in the experiments that are
    currently running. I need many, many people to participate,
    especially for
    this
    experiment

    to be a bit more precise i would use the Date object. the
    following is from flash help:
    Date.getTime();
    "Returns the number of milliseconds since midnight January 1,
    1970, universal time, for the specified Date object. Use this
    method to represent a specific instant in time when comparing two
    or more Date objects."
    the number of milliseconds!!! so it is pretty accurate,
    isn't it? :)
    as you start an exercise you create a Date. as the user
    finishes with the answer you create another Date. after it you can
    substract the two Dates then you get the passed time in
    milliseconds!
    (at start)
    startTime = new Date();
    (when the user finishes)
    endTime = new Date();
    duration = endTime.getTime()-startTime.getTime() //and this
    is in milliseconds
    hope it's clear and accurate enough... ;)
    adam

  • Not able to see reaction time calculated based on severity coming from iSupport

    I have two severity defined in contracts.  Standard , Sev 1.  For both reaction and resolution time have been populated.  
    Profile - Service : Default Coverage for SLA  has been set at iSupport responsibility level to the coverage template.
    We are passing SEV 1 severity to the API from iSupport but it is picking reaction time of  STANDARD and not from SEV 1 severity even though SEV 1 is on the service request in Teleservice.
    It works from Teleservice as expected.
    Cleared cache using the Functional Administrator responsibility also but that did not make any difference either.

    Ok got it ..
    In WDTV > Setup > network Setup > Turn on Mac Shares
    Now .. Video > Network shares > Mac shares > You will be able to see Time Capsule
    Enter passwd.. was able to see all folders

  • Tables to Verify the Coverage Template, Business Process and Reaction Times

    Hi,
    I am working on Oracle Service Agreements 11.5.10.2 version. I am new to this Module.
    Please let me know the appropriate Service Contract Table names where the
    Coverage Template , Business Process , Reaction times , Billing Rates etc.... details would be stored, when they are defined/setup from the Oracle Apps UI (Coverage Template form).
    Thanks for your help in advance.
    Regards,
    -Santosh

    Hi Gustavo Bortoloti,
    That's right, the SAP BPC version 5.x SP x not have the specific setting.
    Thanks,
    Wandi Sutandi

  • Record Reaction Time... Questoin

    Hello everyone! I have a quick question... What are the main advantages of a HD-SD or HD-HDD camcorder over a HD Mini DV?
    I am hoping but cannot find anything on it that the SD or HDD are quicker to start recording than the Mini DV version? is this correct? so in other words which is quicker to start recording once the record button is pressed? I need the fastest reaction time.

    You can just ignore button reads until the time is right.
    Here's a simple rewrite, see if it makes sense.
    Notes:
    Make sure that all controls have labels. You can hide the label on the front panel, but don't make it an empty string. It makes assigning event, etc. nearly impossible. All controls need a label for code readability.
    Don't maximize the diagram to the screene. That's very annoying.
    Don't trap event structures insude case structures.
    Don't use right-to-left wiring (e.g. for the status)
    Mind your representations. Look at all your red coercion dots. The numbers should be Integers of the same type.
    Watch out for mechanical actions. Your start button is "switch until released" (like a car horn!), making detecting a press hit and miss, epsecially in the presence of long waits.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ControlTest_MODCA.vi ‏12 KB

  • How to speed up Windows 7's reaction time to my mouse click

    Hi.  We just got new computers at work.  They have approximately 4 gigs of RAM and have Window's 7 on them.  Prior to that we had abysmally old computers running Windows XP.  We have Microsoft Office 365 on them (Not sure how much
    that matters) and it is connected to both an older server and SharePoint.
    I'm positive that there isn't actually a problem with the computer or Windows 7 - it might be really basic harware, however it is brand new.  But everything lags.  Its extremely minor and no one else in the building notices it.  My co-workers
    all say the entire system is faster in every possible way.  However, I get the same problemwith other computers in the building, at least four others.  It lags just slightly when I click on anything, anywhere (Left and Right click).  Letters
    appear to lag behind my key presses, just enough for me to notice and no one else (I do wonder if this is caused by Microsoft Office, since it is so clunky).  I also think the mouse pointer moves slower than the pointers on XP.  Its difficult
    to tell though since I no longer have the old computer to compare. 
    This lag did not exist with the old computers.  My clicks were instantaneously carried out and the appearance of the letters I pressed was immediate.  It might be very minor, but it is driving me insane.  I can't watch the screen when I type
    because it makes me slightly nauseous.  And the click lag slows down my entire process.  I'm pretty sure it isn't actually a problem with Windows 7, I think the OS is just like this.  Is there a way to speed up the reaction time of the mouse
    click and keyboard button presses?
    Thank you for the taking the time.

    1. Use performance monitor for analysis. Without knowing processes that influence response it is hard to give any reasonable advice.
    2. In my experience computers with integrated video card are generally slower. (One such example sits on my desk. It is based on D2700 processor and chipset. 4GB RAM, usable 3.23GB. )
    3. There are several tweek procedures that may increase the response. Start with Win+Pause/Break -> Advances System Settings -> Advance -> Performance -> Performance Options and look here for optimal, disable autotuning, sometimes QoS, prefer
    IPv4 over IPv6 (if you still use IPv4, set bit 5), etc
    4. Perhaps Performance forum is better fit for your problem.
    Regards
    Milos

  • Databank value on response time test

    Hi all,
    Do you know how to get the databank value that was used in a failed HTTP response time test? The VU display does not show it.
    Regards,
    A

    My question is why does it take dramatically longer to retrieve data from cache in the first
    1 or 2 hits. I would expect the very first hit takes the longest time, because it needs to do
    certain init tasks. But why does it take 485 ms on the first hit, after the first sleep, and
    500ms after the 2nd sleep. Did I do something wrong?There are a number of factors that could contribute to the behavior you are seeing, including:
    * Hotspot will incrementally optimize code. In addition to any initialization that Coherence does, the initial numbers you saw are likely affected by this. Run a much longer test (many, many iterations) to factor this otu.
    * Garbage collection can be playing a part. See Jon's message for a means to correlate its potential impact.
    * If you are running on Windows and call sleep(), it may use certain Windows API functions that will re-arrange how aggressively the Java threads will be scheduled. Other operating systems may act similarly.
    Also, post your test code if possible, so that we can attempt to explain and/or reproduce what you are seeing.
    Peace,
    Cameron Purdy
    Tangosol Coherence: The Java Data Grid

  • Human reaction time interface problem

    While waiting for some random window to open I usually carry on doing my work, which involves CAD (lots of mouse inputs). When suddenly another window opens on top of my work, I frequently and accidentally click on its contents because my reaction time (best
    human average >250ms) is not enough to halt my mouse input. This results in time loss since I end up running software or opening new windows that I need to close. This is also valid for error or popup windows of any sort inside a program or web browser.
    Windows should incorporate some detection between front window activation and mouse or keyboard input, and if that time is less than a certain minimum reaction time, then that command should be ignored, meaning that mouse click or keyboard input was certainly
    not meant to be applied on that window. Is this feature already available? How can I get it?
    I am running windows 8-64.
    Thanks

    Hi,
    It seems that we cannot implement your idea/

  • Reaction time in Windows 10 for HP ENVY 15-u010dx x360 Convertible PC (ENERGY STAR)

    Not sure if it's 32-bit or 64-bit Windows 10. I am not up on these things, so please don't tech-talk me. All I want to know is why suddenly, after upgrading to Windows 10, the reaction time to get back to my screen lags for a number of seconds after the screen goes dark. I like to keep my screen dark while working and listening to music, but when I move my mouse to get back to my screen as I have done in the past, there is a big lag. I am hoping there is just some setting to fix this. I like my screen to go dark after 1 minute, but I want it back the moment I touch the mouse (yes, I use a mouse)

    Also, one thing that is also different from before is that when I move the mouse with the screen darkened, I can actually see the mouse cursor moving around the screen before the images come back up. Frustrating.

  • About rise time test

    Hi,
    Use Transition Measurements to test rise time as appendix in detail.My question:
    1. Is the program structure reasonable?
    2. When the RAMP TIME of amplifier is fixed, the DURATION varies to the different time of input control Am.
    3. The duration ERROR is out of allowance.
    Hope you give me a resolution.
    Thanks!
    Regards,
    XU
    Attachments:
    Sample2.vi ‏155 KB

    Hi Xu,
    I understand that you are wanting to calculate the rise time of a signal coming into your NI 4472 board. I'm assuming the NI 5411 is stimulating an external amplifier? Please include more information about your application and the routing of the different signals involved so I have a better idea of how to best implement a solution.
    Also, are you receiving an error with an error code when you run the program? Or is it just outputting a value you don't expect. If you are receiving an error please include the error number and the description.
    The NI 4472 is capable of making rise time measurements but I would recommend using one of the NI high-speed digitizers which have built in functionality for making rise and fall time measurements. They also make much more precise timing measurements due to their higher sampling rates. If you have an NI digitizer I would give that a try. If you only have the NI 4472 then I can help with that also. I just need more information about your application.
    Regards,
    Erick D.
    NI Applications Engineer

  • Satellite M100-165 - LCD panel reaction time

    Hi.
    Does anybody know where i can find information about the time reaction of my LCD panel in my M100-165?
    Does anybody know what is the LCD time reaction of m100-165 ( or m100 series )?
    Thx for answers :)

    Hi
    The M100 series was delivered with an 14.1 WXGA 200 display type LTN141W1-L03-0.
    In my knowledge this display should support a response speed of 25ms.

  • Notification Reaction Time

    Hi everyone,
    I was wondering what the default time is, from when an alert is registered by scom until a notification is sent via the corresponding channel?
    Also, I've noticed in tests, that when a domain controller is offline, the offline status is shown in the alerts, but no notification is sent. Instead, after about 10 Minutes, all other domain controllers start generating alerts and for these DCs, notifications
    are sent. 
    Can I change this somewhere? I'd like to be informed, when a server is offline. And I'd like to be informed after, lets say, 5 minutes. Environment is SCOM 2012 R2.
    Is there any website, that clearly shows and explains, what needs to be done? I'm searching, but can't find anything proper.
    Best Regards,
    Fred

    Hi,
    The notification will send right away unless anything else is configured. That said, there might be a little delay, depending on SCOM, network, Exchange etc.
    If you want to delay the alert you can do that from the Channels pane when configuring the Subscription:
    I hope that answers your question.
    www.coretech.dk - blog.coretech.dk

  • Very slow reaction time

    I bought my iMac today - an emergency. Up and running *but*... When I click on an application name I get the beach ball for several minutes (2 to 5) before the "preview" icon appears and the screen unlocks.
    When the preview does appear and I double click to run the app it starts quickly (coming from a G4 iMac I appreciate this) but the precursor pause is infuriating.
    Has anyone else seen this and if so is there a solution?
    Any help would be appreciated.
    Mike
    Intel iMac   Mac OS X (10.4.9)   2 GB RAM, Epson printer (R230) & Scanner (Perfection 4870)

    I use my Finder windows in Column View and on very rare occasions have gotten a Spinning Beachball of Death when I highlight an unusual file with which my Mac seems to be having a hard time associating a primary app with which to default open the file.
    If you click a Finder window, in the View menu 1. you can choose which of the 3 views all Finder windows use, & 2. for column view you can choose to eliminate the Preview column.
    But you are right, you shouldn't have the issue at all. Have you checked the software companies' website to see if there are any Universal updates available for your apps? Adobe's CS 3, which is Universal, is now available. Even with 2 Gb of RAM you will need to limit the number of PPC apps you have open at the same time. Some folks have reported run away Rosetta apps that eat up the memory and they have to shut things down in the Activity Monitor. Rosetta shows up in AM as translation or something to that effect. You can highlight it, hit the Stop sign and shut down the process if it starts running away!
    Have you gone to Apps/Utilities/Disk Utility to Repair Disk Permissions since getting the Mac set up and updating the Apple software?

Maybe you are looking for

  • I have a iphone 3gs and its not activating. i have tried it on both my phone and itunes and neither are working. Any suggestions

    I have tried to acrivate my phone both on itunes and on my phone. Im not surwe what to do anymore? the message it says to me on my phone is "Your iphone could not be activated because the activation server is temporarily unavailable. Try connecting y

  • Home screen not restored properly after backup

    I'm pretty sure I've gone about this the right way because in the past it has worked fine, but we've added a few more Apps to our devices and now the home screen layout doesn't get restored properly when using Apple Configurator (latest version). Sup

  • Change VAT from 4% to 5%?

    Hi All, As my question seems very clear, my organization uses condition type JIVP for VAT declaration, and its value is 4%, i want to change its value fron 4% to 5%, how to configure the system? please help, its very important to me, if u have any fu

  • Page Layout Design migration to subsites

    I created a master page for my main site with a specific page layout design. I want to propagate the same design layout to my subsites. How can I implement this?

  • OpenSSH with DS 5.2

    Hello all - We're having some issues getting the new version of OpenSSH working with DS 5.2 through our proxy. telnet works, su and ssh don't. pam.conf follows: login auth required pam_authtok_get.so.1 login auth required pam_dhkeys.so.1 login auth r