Time stamp control dialog kills System Exec.vi !

Hello!
I just experiance a really strange behaviour in my application. I managed to reduce it to a much smaller VI, please do not look at the framework but at the actual problem, this test MAIN vi looks like this since it is a skeleton of a bigger application (i had to remove many non-relevant and confidential parts).
So. I have a USB watchdog relay from a 3rd party company, which I can use perfectly in my application via a supplied EXE. I call this exe from LabVIEW using the System Exec.vi , and it works perfectly and the Watchdog functions as it should. However I see a strange bug (?): if I launch a Time stamp control dialog browser window, it "pauses" somehow the System Exec.vi. So my watchdog command setting stops, relay opens, problem!
I zipped my test application and I can reproduce this same problem even if I just call a command line PAUSE win command. Note that, in my real application, the Time stamp control is located in a separate, dynamically callled (call and forget method) VI, but I get the same bug!!!
Steps to reproduce the bug:
start my application
observe as the bottom loop iterates
Click on the Time Stamp control's browser to pop-up the dialog window.
You can see the iteration of the bottom loop stopped (DAQ loop iterations)
if you close the dialog window, the bottom loop continues execution
What the heck is this???
How is this possible, why there is "interference" between a totally separated control and a bottom loop System Exec.vi ???
Thanks for any suggestion!
In my real app, as a workaround, I just hide the browser element of the Time stamp control...
Solved!
Go to Solution.
Attachments:
HYDE_loop_software.zip ‏348 KB

Thanks! Yep, I can do a workaround, like create my own time stamp dialog window to pop-up if i wanna be "fancy".
But this is important to keep in mind, if we use the SystemExec vi!
If someone can explane this issue/feature deeper, I will be happy, but I mark this above post as solution, thanks!

Similar Messages

  • Detect if Time Stamp control user dialog has been pressed

    Hi,
    I have to make some changes to my project. I can't modify existing program blocks, so I must figure out a way to detect if user has pressed  user dialog icon for setting up time (control type is Time Stamp). I now I can compare current values with the values from previous loop pass, but that is not a option.
    I'm looking for some kind of property node like active control or something similar.  
    Message Edited by _thomas on 10-31-2009 07:19 AM
    Solved!
    Go to Solution.
    Attachments:
    Timestamp user dialog icon.JPG ‏3 KB

    There isn't.  You can create your own time stamp control (like an XControl), or you can simply monitor to see if the window appears. You can do the latter using the VI Server functions or you can use the operating system API. For Windows you can use the LabVIEW Windows Utilities library.

  • Why does Time Stamp Control not produce a Absolute Time output?

    I have used the the Time Stamp Control for manual input of measurement information. However, this control produce a time stamp in relative time which is unwanted. I thought that Time Stamps always are in Absolute Time. Is this not true? The control is very handy for time and date inputs. Is there a way of changing the output to relative time?

    I will try to be more specific:
    There is a Time Stamp Control available in the controls palette for use on the front panel. This can be used to set a variable called Time Stamp with values of time and date. It has a time and date browser which is very convenient to use and I like to use it. The time format I prefer in this case is Absolute Time which is time-zone-independent and it is the number of seconds elapsed since 12:00 a. m., Friday 1, 1904, Universal time according to LabVIEW help. However, the output from the Time Stamp Control is in Relative Time which I think is the Absolute Time compensated with Dayligth Saving Time and the local Time zone setting in your system.
    Time Stamps are always in Absolute Time I think but not in this case.
    My problem may be solved with a VI similar to "Format Date/Time String Function" but with a time stamp input and output, since this VI converts from Absolute time to Relative time. Even better is of course having a Time Stamp Control where you can select between absolute and relative time.

  • Time stamp control

    I am using the Time stamp control to allow a user to enter a date easily. How do I convert the time stamp data to a string?
    Using V7.1 on Win2000.
    thanks.

    Greg,
    Use the "Format Date/Time String" function from the Time & Dialog palette. You can either stick to the default output format, or you can produce an arbitrary date/time format by wiring in a format string of your own (see the help). For example, "%I:%M:%S %m/%d/%y" would produce an output like "00:14:41 01/29/04".
    --John

  • Can't show 7PM with Time Stamp Control

    Maybe it's just me, but I can't seem to get any time stamp controls to accept 7PM as an entry.  
    ....this is kind of a problem for the data entry I'm supposed to be doing this weekend.  
    Any workaround?
    Patrick Allen

    Thanks for the reply Guenter.
    It's very strange.  Even after shutting down LabVIEW and starting with an entirely new VI, the time stamp control always displays 00:00:00 when I try to enter 7PM.  
    I've tried changing the defaults to just about everything.  But it's always the same behavior.
    For my work around I decided to just use Excel for all my raw data entry.  I'll write program to stuff it all in the database later.
    *edit*
    I just downloaded the attachment on your reply.....and it worked just fine.  
    I'm uploading the entire .vi now.   This is bizare.  
    Message Edited by pallen on 10-03-2009 05:44 PM
    Patrick Allen
    Attachments:
    time stamp weirdness.vi ‏6 KB

  • Time Stamp Error: Cannot display system date and time. My VI display "YYYY-MM-DD" instead of "2014-08-02".

    Hi All,
    I am using Labview8.5 and Windows XP OS.
    My Problem is my Labview TimeStamp cannot display current system date and time.
    Please see my attachment for the screentshot.
    The TimeStamp or ever Format Date/Time String display "YYYY-MM-DD" instead of  "2014-08-02".
    I tried other computer machine and it works. There are some computer machine has this problem.
    How can I resolve this issue? Please advice. Thanks.
    Best Thanks,
    Jessie
    Attachments:
    Time Stamp error.JPG ‏68 KB

    Bill,
    reviewing the thread Dennis linked (thanks for that) reveals that it is the same account which opened this thread here three month later.
    What bothers me is the fact, that the past thread is marked "solved" even though it obviously isn't. Or the OP is trolling us.....
    Nevertheless, it seems like systematic error. Connected to specific machines.
    What makes the machines where the time stamp issue occurs "unique"? If there are several, is that source really "unique"?
    Most obvious reasons would be:
    - Language settings (possibly the infamous "dot-comma-issue")
    - Time zone settings (e.g. what happens if you switch Ulaanbaatar to Perth or maybe even some US time zone?)
    - Missing hotfixes for Win and LV
    - Is the system running as virtual machine vs. "native"?
    Not so obvious differences:
    - Specific CPU type
    - Motherboard/BIOS
    - LV ini settings
    There are tons of other possible reasons (e.g. corrupt LV installation), but these are the ones i came up with within a couple of minutes....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Time stamp control size

    Hello,
    I need to change size of time stamp at runtime.
    I can set width at edit time:
    Have been looking for that property and can't find it...

    I can't find a writeable property node for the variant width.
    Do you truly need that?  A variant indicator or control is one of those ones that users can't really interact with and really isn't all that presentable to a user.  They are mainly used for programmatically passing any kind of information fron one VI to another, not for user interaction where'd you care about how it looks.  The would generally be hidden from a user.

  • Time stamp in S&OP system

    Guys,
    Our S&OP servers are running in EST timezone but out  Data Integration shows UTC timezone...I remember reading some thing about UTC timestamp  in Data integration HANA procedures but I can't recollect now.
    I have few questions and any insights appreciated.
    1)  Are there are any app or user level settings for timezone (I did check global parameters and didn't find any clues) in S&OP.
    2) How to determine what time stamp being used by WEB UI or Excel UI?
    Thanks,
    Krishna

    SAP released a OSS Note for On-premise customers...Note number 2114605 and SAP will add this to next patch..
    Thank you SAP for  release fix for this...
    Thanks,
    krishna

  • Time Stamp Control and DST

    I'm sure there's a way around this, but I can't find it...
    I need to set a timestamp to 01:59:00 on the day DST starts. Unfortunately, LABVIEW recognises this as within the missing hour, and changes the timestamp back to 00:59:00
    Is it possible to configure a timestamp control to ignore DST? Or is there some way of getting Labview to ignore DST all together?
    Thanks for any help,
    Jon.

    Tournifreak wrote:
    I'm sure there's a way around this, but I can't find it...
    I need to set a timestamp to 01:59:00 on the day DST starts. Unfortunately, LABVIEW recognises this as within the missing hour, and changes the timestamp back to 00:59:00
    Is it possible to configure a timestamp control to ignore DST? Or is there some way of getting Labview to ignore DST all together?
    Thanks for any help,
    Jon.
    Try shutting off "Automatically adjust clock for daylight..." under "date and Time Properties" if you are on a Windoze machine.
    The Timestamp control uses the OS to translate times so shutting that option off MAY help (no I have never tried it).
    "Under the hood" the "real time" (number of seconds since ...) is still the same. The issue is just how that value is interpreted and displayed. Under to definition of DST that time of day simply does not exist! This really goofs with you when you are trying to do something at the same time every day since one day has 23 hours and another day has 25 hours! But now i digress.
    I hope that helps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Custom Time stamp control

    Hi,
     I'd like to know if it is possible to customize a timestamp wich have this format 00(H):00(M):00(S) to a format  that could use and print  hundred of hours 000(H):00(M):00(S).
    What should I do to get that ?
    Thanks.
    Olivier

    Hi Olivier,
    It appears that you cannot do this directly from a built in function. What you may want to do is create a custom timestamp that keeps track of minutes and seconds. Then you may want to have a counter that increments when the minutes reaches 60 and concatenate the entirety as a string. I hope this helps point you in the right direction.
    Best regards,
    Steven

  • How to get system time format in time stamp

    Hello All,
    I have one problem regarding Time stamp. I want system time stamp format in Time control. If my system date/time format change then automatically my time stamp format should also change.If my system Time stamp format is hh:mm:ss AM/PM dd/mm/yy so in my LabVIEW time stamp format should also same. If System time stamp format hh:mm:ss AM/PM mm/dd/yyyy so in my LabVIEW time stamp format should also same.
    So Please help me its a very important for my automation application.
    Thank You.
    Vinal Gandhi
    Kudos are always Welcome.... :-)
    Vinal Gandhi, CLD
    Software Engineer

    Hi Vinal,
    have you tried the FormatDateTimeString function with a standard string indicator and the "%c" formatcode as described in the help instead of the generic timestamp indicator?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • What logs are effected by "Ignore Time Stamp in Client Messages " rule?

    Hello,
    We're considering whether we can set "Ignore Time Stamp in Client Messages" system rule to false.
    Now we're implementing 2 functionality and use them at the same time.
    One is to change equipment status immediately and log the record to RESOURCE_TIME_LOG table.
    The other is to log equipment status change reason code. That's recorded into PRODUCTION_COMMENT table.
    We already find "Ignore Time Stamp in Client Messages" system rule. It's explained in HELP site like following and plan to set it to false.
    =====
    true: Ignores time stamps from the client during validations for starts, completes, nonconformances, and parametric data. Use this rule in cases such as when the client clock does not match the rest of the system (the client clock is "out of synch").
    false (default): Uses time stamps during validations
    Can override at: site, resource
    =======
    However, we're a little confused becasue above help says the default value is false and the default value in our customer's ME is true. When we try with the rule as true,  these time stamps are sometimes different. (I guess the reason, these tables can't handle smaller time than 1 second.)
    Which ME tables will be effected if we set "Ignore Time Stamp in Client Messages" to false?
    As I mentioned, we'd like to set equal time stamp into There're RESOURCE_TIME_LOG and PRODUCTION_COMMENT.
    In the other hand, we concern the rule may make bad effect with other functionality and/or tables (e.g. PRODUCTION_LOG, ACTIVITY_LOG , and so on).
    Best Regards,
    Takahiro Uesugi

    Takahiro,
    From the beginning the system rule was introduced with default value of Fasle which was described in the online help. However, later the customers started using XML Production Interface more intensively which caused the problem of data inconsistency due to abuse of timestamp fields and sending messages with delays and not in chronological order. The solution in that case was to switch the rule on. And sicne that time the default value has been changed to True.
    So, the system rule should control timestamp fields of XML Production requests where the actual time of activity execution is specified
    Regards,
    Sergiy.

  • Problem with time stamp

    Hello,
    I got mistake in ODS manage like this:
    The time stamp in the source system is 24.09.2007
    The time stamp in the BW is 23.05.2009.
    I have problem to load data in ODS.
    What should I do ?? Replicate the data source ? But then it's possible to get double data. What to do ??
    THX

    I replicated data source, source system and loaded data one more time and I have got the same mistake.
    this:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System response
    An error occurred in Service API .
    Check the error message.
    Procedure
    The procedure for removing errors takes place depending on
    the error message:
    Note
    If the source system is a Client Workstation, then it is possible that the file that was to be loaded was being edited at the time of the data request. Make sure that the file is in the specified directory and is not being edited, and restart the request.
    AND ALSO mistake WITH TIME STAMP

  • Time stamp does not update automatically

    Hi, All. I want include the time stamp (yyyy-mo-dd-min-sec) in the file name. However, the value of the time stamp does not update automatically/synchronizes with the computer clock at each new run. I need to do it manually with the right click and update the time to the current.
    How can I solve this? Thanks a lot in advance.

    What does this have to do with NI counter/timer hardware?
    What language are you using and what function are you using to get a timestamp? If the language is LabVIEW, then all you need is Get Date/Time in Seconds. If you are using a front panel Time Stamp control, then you are using the incorrect function.

  • SAP PI - Windows OS Generated Time Stamp

    Hi Experts,
         PI should pick the Files from FTP location based on the File create time (This is not a time stamp on file name but a windows(OS) generated one). Is it possible in SAP PI?
    Regards,
    Aniruddha

    Hi,
    This is possible in NFS protocal  Processing Sequenc By Date
    ●      Processing Sequence (for transport protocol File System (NFS))
    If you used placeholders when specifying the file name, define the processing sequence of the files:
    ○       By Name: Files are processed alphabetically by file name.
    ○       By Date: Files are processed according to their time stamp in the file system, starting with the oldest file
    (http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm)
    Regards,
    Naveen.

Maybe you are looking for

  • How to achieve (and test) the crossplatformity of an applet?

    I've written an applet which I put in jar. It is successfully being launched on my system both locally and from geocities web site. (WinXP JDK 1.4 Forte4.0) A friend of mine could not load the applet from the web site. He has XP as well, but could be

  • Reading big JTable from disk one page at a time

    Hi, I'm trying to display a JTable in its JScrollPane for a large amount of data (say 40'000 records). Scrolling is quite smart, since it does a relatively good job when the user drags the knob, e.g. in order to reach the bottom. However, it leaves s

  • Changes made in RFC is not reflected in data services

    Hi, I am using a data service based on SAP R/3 RFC in my view In my RFC i have some import parameters and some export parameters and when place a data service which is based on this RFC on the view  for the first time , I am getting the import parame

  • OSX suddenly unclickable

    OSX suddenly becomes unclickable at random times. Today it happened twice, forcing me to pull the plug. This is 10.4.8 on a 1.67 Aluminum PowerBook. Everything will be normal when suddenly my Bluetooth mouse is unable to click with either button. It

  • How do I fix a corrupt playlist on my devices?

    I've used Match on my iPhone for awhile.  Now I have a playlist on the iPhone 4 that it won't play.  It won't play any song.  It plays songs in other playlists just fine. When I hit play for any track in this particular playlist, the phone has the pl