Time stamp and skip test report

Hello, all
I am new to teststand and just beginning to do some work with teststand.
My interest is to report every step with data begin with a time stamp.
I create  subtest in the Numeric type property to report timestamp in the form of YYYY-MM-DD-HH-mm-ss
These substep are pre-step and post-step and in pre-step I get timestamp at the beginning and
post step I get a timestamp at the ens of the step.
Thing workout pretty well until I report a skip test.
A skip step does not run so a pre-step and post-step report a time stamp as 00000000000000.
how can I over come this problem since i want the skip test report as exact the same with "Normal Step"
is there any way to have a f(x) at the beginning and the end of the step type, and theses f(x) of course
should be execute even that step is skipped
Thanks
TP
Solved!
Go to Solution.

 Hello
For me that is important and for many thing I do the step carried out take a longtime than normal, especial if you test with around 20 socket and more.
I am surprised that a step type does not have some thing reserved for Pre-execution.  This can help condition further a costumed step.
The only way I can poke in there may be using "precondition" to put my time stamp.  But that mean my costumed model leaves a bunch of f(x) in there and look ugly

Similar Messages

  • Extract date/time stamp and modifier name from memo field

    I need to extract all date/time stamps and modifier name strings from the Work Log memo field - or conversely, filter out all of the comments after the date/time modifier strings.    I have the string extract but it only extracts the first one.  I need to loop until all are found - how can I do this?  The memo field will look something like this:
    3/5/2009 3:32:05 PM John Doe
    Comments - string can be any length
    3/4/2009 12:35:43 PM John Doe
    Comments - string can be any length
    3/4/2009 12:28:17 PM Jane Dough
    Comments - string can be any length and include date format 2009-06-04 14:20 CST.
    3/4/2009 12:27:47 PM Mary HadaliddleLam
    Comments - string can be any length
    3/4/2009 12:26:55 PM Lamseedivy
    Comments - string can be any length
    3/4/2009 12:15:22 PM Mareseedoes
    Comments - string can be any length.

    Here is a formula that will strip all 'comment' and blank lines and puts the datetime stamp and user names into an array.  You have to manipulate the elements of the array to further separate the datetime stamp and user name if required.
    // Declare two indices
    numbervar i := 1;
    numbervar j := 1;
    // Split each row of the memo field into an array
    // if chr(10) does not work then try with chrw(13) or chr(13)
    stringvar array x := split({Sheet1_.Comments},chr(10));
    // Declare a holding array
    stringvar array y;
    // Declare the size of the new array to be equal to the elements in array 1
    redim y[ubound(x)];
    // Copy only if the first word of each element of array 1 is neither "comments" nor a blank line
    for i := 1 to ubound(x) do
    if split(x<i>) = 'comments' or x<i> = '' then
    else
    (y[j] := x<i>;
    j := j + 1;
    // Compress the new array to eliminate the last blank element
    redim preserve y[j-1];
    // Joining the elements of the new array and the number of elements for display
    join(y,chrw(13)) & chrw(13) & ubound(y);
    With your example, this formula will return:
    3/5/2009 3:32:05 PM John Doe
    3/4/2009 12:35:43 PM John Doe
    3/4/2009 12:28:17 PM Jane Dough
    3/4/2009 12:27:47 PM Mary HadaliddleLam
    3/4/2009 12:26:55 PM Lamseedivy
    3/4/2009 12:15:22 PM Mareseedoes
    6.00
    Make sure the "can grow" option is checked to display the results and also check for case sensitivity of "comments".
    Edited by: Sanjay Kodidine on Jun 30, 2009 10:13 AM

  • GetSelectedFields()  for time stamp and user stamp using java api

    using Java API's
    getSelectedFields() returns NULL  value if values presented also, for Time stamp and User stamp
    properties in Flat tables , is there any other alternative way to get the SelectedFields values ?
    Edited by: Vijaya Sekhar Reddy Alla on Mar 19, 2008 3:16 PM

    Well, I can't say I solved the problem, because I got another one afterwards.
    As usually I created a GetFieldListCommand, set its needed attributes and executed it. Then I read all the field properties out:
    FieldProperties[] fieldProp = getFieldListCommand.getFields();
    Afterwards it is possible to do what you want. Using a for-loop.
    for (FieldProperties fp : fieldProperties) {
        UserStampFieldProperties usfp = (UserStampFieldProperties) fp; // <= Cast error
        FieldId[] fieldIDs = usfp.getSelectedFields();
    And this is what I get now:
    Exception in thread "main" java.lang.ClassCastException: com.sap.mdm.schema.fields.FixedWidthTextFieldProperties cannot be cast to com.sap.mdm.schema.fields.UserStampFieldProperties
    Why this happens, I don't know. But it should somehow be solveable.

  • Time stamp and local time stamp

    Dear sirs...
    i am a little confused about the time stamp datatype and how to handle it in my applications. i want to display the time for every user in its time zone. so the fields in the database are timestamp with local time zone. is this correct?
    i want it to be such that if one stores the time in USA time , the other can display that same data in UK time.
    best regards

    repost

  • Formatting a string with time stamp and double precision numbers

    %s\t%f\r%f
    This is a format string that I have in old code that I've decided to change.  Problem is I cannot make sense of the string codes in my own old code! Let me explain what I want, and hopefully someone can explain how to do it.
    I am using the format into string subvi to merge a time stamp (formatted as %m%d%Y%H%M%S%5u) and two different double precision numbers.  This string is then wired into the Write Characters to File subvi so that I can record data as a .txt file, and open it in either Matlab or Excel.  There is a minor problem with the string format above because in excel the first time stamp entry is blank, and the first loop only gives the two double precision numbers withouth the time stamp - the time stamp appears in the next loop (probably a looping issue and not due to the string format, but if you see differently please let me know).  Now what I want to do is 1. potentially fix that problem and 2. add some more doubles. 
    1. Is there a string format issue that is evident that I am not seeing that causes the time stamp to be formatted into the string after a carriage return?  Or should I be looking at looping issues?
    2. How do I add another one - three floating point numbers (double precision)?  Are the \'s marking different numbers in this string constant?  Or is it the %?  I can't find any information about the \'s, but I see that % begins the format specifier. 
    Ideally, I want these data in the following columns:  Date, Time(absolute), FP, FP, FP, carriage return for the next loop (FP is floating point double precision number).
    Thanks,
    Brad

    Hi JonN,
    Here there is no need of string concordinate function (in your code), the same result you can find if you connect the output of the format string to shift register, and shift register in data to initialize string connector in format into string function.
    <<KUDOS ARE WELCOME>>
    ELECTRO SAM
    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
    - John 3:16

  • Time stamp and title

    How do I add qoutes around the time stamp so the date and time can be displayed on a network analyzer? I can display a title on the screen of the analyzer but not the time stamp. When I cancatinate the title and time stamp is when I have a problem.
    Mike

    Feed your timestamp into this function
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
    Attachments:
    timestamp.JPG ‏7 KB

  • Time stamp and total no of records in ALV

    Hi everybody,
    i need to display
    Time:
    Total No of Records:
    in my excel report downloaded from ALV.
    can any body help me out as how to keep the specified above  in my ALV to get in the Exel output.

    Hi,
    For the header - pls use top-of-page event.
    For Number of records u can use - Describe table ITAB lines lv_lines. ( declare lv_lines as i). After this statement, your lv_lines will contain the number of records in your final internal table which you are using to display the output.
    For the time stamp, just pass the sy-uzeit.
    Thanks,
    Guru

  • FINDING, TIME STAMPING, AND SAVING SELECTED PORTIONS OF WAV FILE

    Hello Everyone,
    LV 6.1
    What I'm trying to do is build an app that
    captures, timestamps and saves peaks only in a *.wav file from the sound card.
    Specifically, dog barking.  My dream would be that I have a constant input
    from a mike into the sound card which LV will real time analyze. When a threshold is triggered
    (a dog bark) the app will save the bark only with a time stamp.  My case against
    my neighbors would be better exemplified is I were able to present them with a
    time-of-day graph with tic marks at each bark and a cd they could listen to of
    the barks only.
    Explorations so far:
      The sound VI's don't have time stamp outputs
      I have searched the knowledge base and found a few apps but came to a dead end with my knowledge
      I have experimented with various waveform analysis vi's but can't find the combo that gives me what I'm looking for
    I can handle the post processing of graphs / spreadsheets but the waveform analysis for capturing the bark is eluding me. If someone could just get me started I could run with it but so far I ain't smart enough.
    Thank You...........

    Hi rscully,
    I think a great starting place is the "Sound Input to File.vi" example found in the Example Finder. Since the output is waveform data, you should be able to extract the timing information from the waveform data. Try using the "Get Waveform Components" function. If that doesn't work for you, you may also want to just grab the time stamp from the system clock with the "Get Date/Time String" function.
    To record the bark, you can perform signal processing to match the bark frequency. The first thing that comes to mind, is to record a bark, analyze the power spectrum to find the peak power at a specific frequency range. Then in your program, you can find the power spectrum for that specific frequency range, and if the peak within that range exceeds a threshold, record the bark and time-stamp. This method should be simple if you have the NI Spectral Measurements Toolkit. See this tutorial.
    Once you have verified that a bark has occurred, you may want to record the previous bark sound data and the post bark sound data. This will ensure that the entire bark is captured in a sound file. I have edited the "Sound Input to File.vi" example to demonstrate this. Please see the attached picture. I hope this helps!
    Mike Lyons
    National Instruments
    http://www.ni.com/devzone
    Attachments:
    record_bark.jpg ‏105 KB

  • Forwarding text mssg so it includes date /time stamp and number sent to

    My blackberry would forward or email a text message so that it included the address sent to, and was date and time stamped.
    I see how to forward in the iphone 4 ( Verizon) but it only send sends the message with no other data.
    How can I get it to include the data ?

    dbbrass wrote:
    Improved messaging and notifications is one of the big things of which many iPhone users are hoping gets added in the next major iOS update (iOS 5).  Keep your fingers crossed.
    If enough people put an enhancement request it may happen a whole lot sooner. 

  • I used "Get Waveform Components" to separate waveform data. I need to get the time stamp and write it on file as an header.

    I am not able to solve the problem because I can't find an I/O vi that writes on file time stamp data. An error occurs, because of connecting different data types. How can I convert time stamp data so that I can use it as input in a write on file vi? Please, help me!

    The problem with the selection seems to be that you are using two different indexing tunnels on the for loop. One of them loops over every value of the first incoming waveform, the other one over all waveforms in the incoming array. The value you wire to the N terminal will be ignored, the number of loop executions will be the minimum of your indexes. Anyway, the loop doesn't seem to do what you wanted:
    - If you want to store the complete waveform: loop over all waveforms, check for the maximum of each of them and write it just like you do now.
    - If you want to store only the values of each waveform that actually exceeded the threshold: You can either use 2 nested for loops to iterate over each value of each waveform. Use shift registers t
    o create new arrays of timestamps / values for the values you want to store. You need to either convert the waveform to x-y-pairs (VI on analog waveform palette) or calculate your own timestamps. You might as well want to check out the "Search waveform" VI. Configure it so that value+-tolerance covers the band between your expected minimum value and your threshold value. The VI will give you the indices and timestamps of all fits.

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • BatchModel - 10 loops and save test report after each loop completes

    Greetings Everyone,
         We are using TestStand 2010 and presently using the BatchModel.seq for a quantity of four (4) UUTs in a Burn-In configuration.  The Client sequence loops ten (10) times.  I am wondering if there is a way to save the test data report at the end of each loop and create another one for each of the loops after that.  Is this possible or am I asking too much from the TestStand software?  Thank you in advance for your responses to this latest post.
    Regards,
    Scott
    Solved!
    Go to Solution.

    Hi Doug,
         Thank you for the reply.
         I will discuss these with my co-worker whom had a hand in the development of this client file.  This client file was developed mostly by a contractor who works for our customer.  These options sound like they will do the trick.  The client file is used for Burn-In, so there are three levels of testing at three different temperature levels.  We are trying to track down some possible bugs in this contractor's code in which the client file crashes and all data is lost.  This will at least give us some options of collecting the data in a fashion that we shouldn't have to worry if there is an error during the process and at least retain some of the data.  Thank you for your reply and if there is anything else we have trouble with I will post again.
    Regards,
    Scott

  • Write time stamp and Voltage to text file

    I am a novice 2011 LabVIEW user and am trying to build a program that will write TIME in one column and VOLTAGE in another to a text file for later interpretation with MATLAB. I started to add elements to an existing code, which I downloaded from the examples forum, because it works well for my purposes of sending a finite square signal. The code that I started modifying is attached to this thread. If somebody wants to take the time to provide me with an example of how I can do this with my existing code, it would be greatly appreciated. I learn better from example.
    Regards,
    Sean. 
    Attachments:
    Voltage - Generate and Write.vi ‏99 KB

    This is a pretty simple set of code that every 5 seconds writes to a csv file that is stored in the location shown in the code. In order to apply something similar to your code simply run the data that you wish to store into the concatenate strings in the form of a string and it should be fine. 
    Although after looking over your code a second time you should probably take a look at the convert "Array to Spreadsheet string" function, all you would have to feed it is an array of times and measurements at the completion of your program and feed it into a file and it should do everything for you.
    Attachments:
    Write to File.vi ‏20 KB

  • Time stamp and barcode into .xls spreadsheet

    Hello, I am pretty new to programming in Labview and I have a few issues I need to get worked out. I am using a "Prompt User for Input" asking for a units barcode if there is a failure. So when the message prompts I have the user scan in a barcode and this needs to be sent to a .xls file. Numbers will go into the .xls file but the barcodes I am using have dashes(-) in them and when these barcodes get scanned Labview sends a zero to the spreadsheet. If I manually send numbers they will write to the spreadsheet. I also need a timestamp of when the barcode was scanned to get written to the spreadsheet as well.  Any suggestions?
    Solved!
    Go to Solution.

    It sounds like you should be setting the Prompt User input as a string instead of a numeric if you want to preserve the dashes. Use a Get Date/Time String function along with the prompt.
    Message Edited by Dennis Knutson on 05-13-2009 12:18 PM
    Attachments:
    barcode and date_time.PNG ‏4 KB

  • Time stamp and make controls blink when waiting on user input

    I would like it to get the current time reading whenever the sequence is in frame 5 and for the format to be something like 10/4/07 3:28:17 PM or something like that (military time or whatever) and then put into the first block of the build array outside the sequence loop.  Another thing I would like to be able to do is possibly in the sequence - frame 0, when it stops, waiting for the "Polarizer value ok?" button to be clicked, to highlight or start blinking the Polarizer # numeric control indicator box to let the user to know that it is time to choose a new Polarizer # to input.  Also, in the sequence - frame 4, when it stops and waits for the "Ready for P2 reading?" button to be pressed, I would like the user to know that by possibly having the "Ready for P2 reading?" button to start blinking.  I hope I am making sense in these questions.  If you have any other ideas that may make more sense or may make it easier for the user to understand, I would love to hear those as well.
    Thanks,
    Steve
    Stephen Coward
    Northrop Grumman
    [email protected]
    Attachments:
    EPM2000 Query Reading Ch A trial.vi ‏52 KB

    Wow, that was great advice Matthew.  What if I wanted to display on the front panel in real time the values from Polarizer #, P1, P2 and the last calculated value (P2/P1 * 100) called T% in a table or something like that.  What would I have to do?  Or it could just be Polarizer # and T% at the least.  I just want to let the user know the values in a list, spreadsheet or table as they go.  I think the very last thing would be able to stop the program at any point in time instead of at the end like I have it.  The problem with what I have is that the stop button will be pressed and then an additional loop will go on afterwards.  I want the program to end as soon as the stop button is pressed no matter what sequence it is.
    Steve
    Stephen Coward
    Northrop Grumman
    [email protected]
    Attachments:
    EPM2000 Query Reading Ch A trial updated.vi ‏58 KB

Maybe you are looking for