Updating system time with simple operator interface

Hello,
I need to update system time on the simple OI but when I use "Get system time and date.vi". The indicator on the front panel doesn't get updated every second, there is delay of atleast 5 secs. I tried using parallel while Loop method as well but still the problem persist
Any ideas guys?
Regards
Prav
Solved!
Go to Solution.

See attached simple OI modified to display time and date. When I run It, the update on indicator is like this 16:21:04-->16:21:09 (delay of 5 secs).I tried in time out event as well but no sucesss.
Attachments:
example.vi ‏69 KB

Similar Messages

  • Clear report in report window of simple operator interface

    Hello,
    hello I want to clear the report-window of the simple operator interface at the beginning of each UUT test.
    I want that there is nothing inside this window while testing a UUT. Only at the end of a test I want to show the actual report
    How is this possible?
    regards samuel

    Report.Reset should replace the current report data with the data in the string you specify, which in your case should be blank.
    Do you have a PreUUT Sequence in your Client Sequence File?
    If not try adding the first step in the attached sequence below the Report.Reset step in your PreUUT sequence.  You may need to add the second step as well (below both new steps).  Not sure if the second step is required.  The first step tells the teststand engine that the report has changed, the second tells it to refresh all windows.
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.
    Attachments:
    UI Update.seq ‏18 KB

  • Programatically Loading Several Sequences Using LV Simple Operator Interface

    I am playing around with the supplied LV(2009) Simple Operator Interface for running TestStand (4.2) and hoping that someone can point me in the right direction.  I know this may be too generic for a concise solution, but hopefully I can get some suggestions on the best approach for this. Here is a short description of what I am trying to accomplish. 
    I am testing 2 unique UUTs on a single test fixture that is controlled by a PCI-7831R DAQ.  Each UUT will have a unique serial number and report generated.  Therefore, I am using 2 unique sequence files created using TestStand.  Basically, I want to be able to read in a barcode on the test fixture and have the operator interface load the 2 unique sequence files based on information contained in the barcode.  The operator will then hit a button to start the sequence file executions.  I want the first sequence file to run and test the first UUT.  Once the first sequence file is finished, I want the second sequence file to load and run on the second UUT.
    I can use the simple operator interface to load both sequence files.  I then have to select the combo box to select which one I want to run.  This works fine, however, I am trying to automate this so that the operator doesn't have to open the files and continually use the combo box to select sequence files.
    Any ideas or suggestions would be greatly appreciated.

    I have figured out a solution (for my initial application at least) of programmatically loading the sequence files.  When the operator interface first starts, there is a prompt where the user will scan a barcode that is loaded on the front of the fixture.  For all of our product lines, we will have a unique format for the fixture barcode.  Included in this barcode is a product specific software ID number.  I create a folder with the same software ID number and store the sequence files there.  I then parse the barcode and open all *.seq files in that folder.  I have this working correctly now. 
    Once the sequence files are opened, the user must scan each UUT ID barcode before installing them on the fixture.  The intent is to have both UUTs installed on the fixture at the same time so they can be tested serially.  If, however, they do not scan one of the UUTs, it will not be tested.  Basically this is due to the fact that they may want to run only a single board.  Once all of the UUT barcode scanning has been completed, I have another button that will execute the sequence files using the 'Single Pass' execution entry point.  I agree that the 'Single Pass' and 'Test UUTs' points should be hidden from the user.  Once the execute test(s) button is pressed, it will check each UUT barcode to make sure that it is valid.  If both UUT's have valid barcodes, it will run the first UUT and then the second using the 2 sequence files that were previously loaded, otherwise, it will run only one or the other.  The UUT(s) will then be removed and the process starts over again from the UUT ID barcode scanning.  They will not have to scan the fixture barcode again since the correct sequence files have already been loaded.
    Currently I have the UUT/Sequence File associations hard-coded in the UI.  I will need to put my thinking cap on so that as we increase the product lines (several are already in the pipeline) we can use the same UI without any modifications.  Scalability is King!

  • Simple Operator Interface hungs up while executing a testsequence

    Hello,
    My operator interface hungs up sometimes while executing a testsequence.
    It hungs up every time after the PostUUT has passed
    The attached error description is available
    can anybody help me
    regards samuel
    Attachments:
    errors1.rtf ‏2566 KB

    Ray,
    I have created my own PreUUT.
    In this PreUUT I call the dll for the PopUp windows to enter serial numbers and to select specified UUTs etc...
    Yes I have tried to single step through the sequence but then the Problem doesn't occure. (I run it than in the Teststand developer environment) The problem only  occures when I use my modified Operator Interface on the second computer. (on my first computer it works without problems)
    My suspicion is that my modified simple operator interface makes the problem
    what can be the problem? what dlls does the simple operator interface use? Is it possible that on my second computer some standard teststand or Lab Windows CVI dlls are not up to date?
    regards samuel

  • Including Limits, Measurements in Simple Operator Interface UI

    Dear Experts,
    I am in the process of modifying OPerator Interface such at that it must also display Low Limit,High Limits,Measured Value, Units. I am sure that it is possible only through expressions. I want this Limit columns value to be updated during runtime i.e., it must display the same value as we use to enter using Edit limits for Numeric test, Measured value should be the value in Step.Result.Numeric or Step.Result.NumericArrya.
    I could just manage to create a parameters in each Sequence & Subsequence Parameters.Limits.Low, Parameters.Limits.High,,Parameters.Limits.Unit & just hard code the values in these. But for Parameters.Measurements i could get values in runtime using RunState.Sequence.Parameters.Measurement. I know this is not more efficient way. This might work only for Action, Numeric Limit.
    For reference i have attached Simple OI Top Level.vi(where i have made some modifications) all other supporting files you can find in TestExec.llb. I hope i have explained my problem. If anyone find any confusions in understanding please let me know.
    If someone tried this before please share your knowldege. Expecting your greatest support.
    regards,
    Bharat
    Attachments:
    Simple OI - Top-Level VI.vi ‏177 KB

    Hello Bharat,
    Adam is out of town right now. It looks like the error you are getting is occurring because you do not have the TestStand 3.0 UI controls installed for LabVIEW. You can check this by making sure that you have a TestStand subpalette in both your Control Palette and Function Palette. If you do not, you can go to "Start >> Settings >> Control Panel >> Add/Remove Program". Find the entry "National Instruments Software" and click "change". Find "TestStand 3.0" in the list of NI software installed on your computer. Click on "modify". This will launch the installer. Follow the steps and make sure to enable support for LabVIEW 7.0 (there is a step with a tree of features that you choose to install).
    I took the liberty of saving the latest VI that was posted to my computer. I opened it with LabVIEW 7.0. This was verified by going to the "About" LabVIEW Dialog box that displays the version. I was running on the TestStand 3.0 engine. Besides the fact that you can only have one engine active on a computer at a time, I added a message popup to my TestStand 3.0 Front End Callback so that it would display when an instance of the engine is created. I did save the VI again and am not attaching it to this post. It should certainly work with LabVIEW 7.0 and TestStand 3.0 if everything is installed correctly.
    Thank you for contacting National Instruments. Take care and good luck!
    Regards,
    Aaron B.
    National Instruments
    Attachments:
    Simple OI - Top-Level VI.vi ‏177 KB

  • Faking/Altering system time with JVM

    odd question but...
    Does anybody know of a way to fake/alter the system time read by the Data/System classes? For example, if I want to pretend it is next year. Can I alter the date for all applications running in that JVM? Feels like a jvm option (didn't find any that match up).
    Realise that the clock on the machine (solaris) could be changed but I want to isolate the time shift to a particular JVM or Unix shell instance.
    thanks / Matthew

    Use Calendar and/or GregorianCalendar classes toset
    and alter the date for a jvm.
    What?! You can't do that.
    >
    You misunderstood my reply. I didn't say "modify your
    system's clock", I said change the jvm's date - which
    is internal to the jvm ONLY.IMHO you can not even do that with the methods of the calendar class.
    you can only change the date of the calendar, not of the JVM.
    As far as i can see, there is no way to change the time/date of the JVM.
    The only thing you can do (as shankar.unni suggests) is to change the Systems date/time by using:
    Runtime.getRuntime().exec(...)the limitations here are that
    - you need to do this in a operating system specific way
    - on windows it might be possible that you even have to do it in a language specific way (german win2K takes SimpleDateFormat("dd.mm.YYYY"))
    - you have to have the privileges to change the date.

  • How to compare the current system time with two timing?

    want to get the current system time and compare with the two different timing example startwindow time as 2:00:00AM and endWindowTime as 6:00:00AM. if my current system time falls between these window i have to execute my rest of the code.
    my below code works for fine for JAVA 1.6 version when i do the same code with JAVA 1.4 i am getting different date and time
    String starTime=(String) NightlyvendorStatus[0].getPropertyValue("startTime");
      String endTime=(String) NightlyvendorStatus[0].getPropertyValue("endTime");
      Date windowStarttime = new SimpleDateFormat("HH:mm:ss").parse(starTime);
      Date windowEndtime = new SimpleDateFormat("HH:mm:ss").parse(endTime);
      Date systemdate = new Date();
      SimpleDateFormat parser = new SimpleDateFormat("HH:mm:ss");
      String systemTime=parser.format(systemdate);
      Date currentTime = new SimpleDateFormat("HH:mm:ss").parse(systemTime);
      if (currentTime.after(windowStarttime) && currentTime.before(windowEndtime)){
    --- rest logic here---}
    the output from JAVA 1.4 IS Thu Jan 01 02:00:00 GMT 1970 Thu Jan 01 06:00:00 GMT 1970 Thu Jan 01 03:23:00 GMT 1970
    HOW TO DO this logic..

    Hi,
    You can try converting dates into timestamp and compare just like as comparing two integers variables.
    Regards,
    Anshul

  • Update system time/date

    Hi,
    I would like to know if i can update the system time/date using java...
    Thanks,
    Thiago Nascimento

    From windows exec() "date" and "time"
    From UNIX exec() "date"

  • X301 post BIOS / Model Number update System Time problems

    Dear community,
      I recently updated my BIOS using the thinkvantage flash BIOS utility for no reason other than it appeared on the update utility. I also updated the model number, once again for no real reason other than update pleasure. Now, everything works perfectly fine on the system, and I have no problems EXCEPT:
    I use New York Times Adobe Air product called "Times Reader". Since the update, when I try to log into the Times Reader I get an error that states "Authentication Error. Check that your system time is set correctly." In the pre-boot set up screen the time seems to be set right, and in the windows utility the time is set correctly. So my questions is,
     after a BIOS flash / Model # update, does the system time function need some re-boot / update? 
    Thanks! 

    Well I still dunno what the problem was.  It seemed as if the system would have to be running for a day or two before it would start to speed up, as if it was actually gaining a few milliseconds cumulatively every second...
    Anyway, through other testing (OC & such) I flashed to 1.5B5 and it is running pretty good, and seems to have fixed the time problem.
    On a side note, 1.5B5 is the first BIOS that actually makes Cool 'N Quiet work (to underclock to 1GHz at idle & dynamically OC when needed).
    If anyone has experienced this time issue, please post findings!  For now, it's fixed for me, so I'm not going to worry about it  

  • Re: incrementing the current system time with 30 minutes

    hi
    in JSPinner i need to display the time but that time should be 30 min greater than system time
    is that possible
    reg
    vino

    1. Create a GregorianCalendar instance
    2. Use roll() to add 30 minutes
    3. Use getTime() to convert to a Date instance

  • UPDATING PRO TOOLS WITH NEW OPERATING SYSTEM

    i am currently using a powerbook g4 with protools le 7.1 I am going to be using an imac g5 with leopard osx 10.5.5, i was looking for the upgrade online for 7.4.2, but im having a little trouble finding the right one. I have an mbox mini...will i still be able to use my current mbox with the upgrade, if so, how do i unregister to re-register, and where do i find it to download? i was told that the upgrade would be 75.00, but all i keep seeing is 149.99. I am fairly amateur at pro tools updates and everything..can someone please help??

    Contact the makers of protools. These forums are for Apple products.

  • LabVIEW Simple operator interface deployment

    Hi All,
    I try to deploy a TS 3.1 application with a LV 7.1 Simple OI. I successfully (no errors) built the OI executable and created an installer with default options. I also built the Deploy TestStand System and created an installer with default options, except I selected only User Interface->Simple->Labview (no development system). I installed them on the target machine without any problem. The problem appeared when I ran the OI; it reported "Error 97 occured at Unknown System Error in TestStand-Set TestStand Application Window.vi->Simple OI-Top-LevelVI.vi. Possible reasons: Labview: Null Refnum was passed in as input".
    I beleive this happened because the "Application Manager", "SequenceFileView Manager" and "ExecutionView Ma
    nager" ActiveX Controls, which were required by the OI, were not present on the target PC.
    Obviously, TestStand Deploy did not distribute them.
    Does anybody know how to distribute these ActiveX controls or have a successful experience of distributing the LabVIEW Interface?
    Thanks.

    PPascal,
    We've seen this error before, and it usually fixed by a simple reinstall. You could also possibly just run a repair on the TestStand engine within add/remove programs and this should also fix the problem. Please try this and post back if this does not fix the problem for some reason. Thanks and have a good one.
    Adam B.
    Applications Engineer
    National Instruments

  • Setting the system time with only Java.

    Am trying trying to write a 100% pure java Alarm Clark. One feature I wish to have is to syncronize with the atomic clock.
    Is this possible in Java. All I have been able to find is system dependent ways to do it through exec.
    Thank you,
    Jacob

    What do you mean "atomic clock"? Do you wish to synchronize your alarm clock with GMT? If so, you can directly access the National Institute of Standards and Technology's atomic clock on-line...see the site :
    http://www.boulder.nist.gov/timefreq/service/its.htm
    You could then get the local time from the computer, thus appropriately adjusting your clock. Synchronizing your system clock to the atomic clock is system-dependent, as mentioned by the other respondent.

  • Timer problems on Linux changing system time and data

    On Linux SO,
    both with flash player plugin and standalone flash player, setting system time with command:
    date -s 11:11:11
    hang timers (flash.utils.Timer) immediately!

    I notice that updating system time (both with "date -s hh:mm:ss" and through ntpd) with a new time in the future doesn't hang up flash.utils.Timer component.
    Contrary, if I update system time with a past new one, flash.utils.Timer stops work immediately!!!
    This is huge problem for those interfaces that need to run for a long time and also need to be time updated (for examplem through ntp daemon).
    Can anyone help me?
    PS: Windows Flashplayer doesn't have this problem !!

  • Firefox prompted me to download an incompatible update that its website claims is compatible with my operating system (Mac OS 10.4.11). Why prompt an incompatible download AND claim it is compatible?

    I have an iMac and use OS 10.4.11 & Firefox 3.6.19. Firefox prompted me to download an update (to 7.0.1). I looked up the system requirements on your website, and it stated the update is compatible with OS 10.4.11. But after I downloaded and installed the update, it failed to work on grounds of incompatibility. Hence 2 questions: (1) Why did Firefox prompt me to download an incompatible update? (2) Why did your website claim the update is compatible with my operating system when it is not?

    Sorry, it's because Firefox 4+ are only compiled for the Intel processors.
    There is a separate project for PPC Macs called Ten Four Fox. You might give it a spin when you're tired of 3.6.
    http://www.floodgap.com/software/tenfourfox/

Maybe you are looking for

  • Multiclips and multiple audio tracks playing at the same time

    I've only just taken delivery of my first ever mac (only ever used PC) with FCP, and I'm loving it already! Done lots of reading and viewing of video etc etc, and it's not as daunting as I thought it might be. I have one question the books don't seem

  • Nokia N8 nosound on some online videos

    After I Anna upgrade I started to have some problem with some web pages about the sound. I used to watch live tv on N8 before the Anae and it was working fine but after the Anna there isnt sound on this web page.Is there anybody who can tell me what

  • HP DV6 1355dx- sound- IDt

    i have an IDT High Definition sound card that i am trying to set up to use for karoke . I have tried the recording and playback settings- no go. this sound card has is separate software that was preinstalled on my laptop. Please Help!.

  • Help on proper Apps uninstall. Thank you.

    Hey everyone. I own a MacBook running on 10.5.8 Leopard. This being the first Mac I ever bought and since my Mac OS knowledge at that time was limited, whenever I wanted to delete an app, I would just drag the app itself to the trash not knowing abou

  • Problem About J2EE RI and PetStore Demo

    Hello ^^ I have a problem about j2ee & petstore. I trird to set up sun j2ee RI 1.3.1 + pet store on win2000 or redhat. Everything run ok. But when I changed web port 8000 to any port (included 80), j2ee ri server showed the error message below : java