How can I tell that a default numeric format has been applied to a numeric limit step?

I am working on generating custom HTML code for our test systems in order to reduce the 'footprint' of the standard HTML entries for numeric limits, multiple-numeric limit steps etc....
For a Numeric Limit step, I can set the Numeric Format via the 'Limits' tab and select the pulldown arrow to select any format.  Does TestStand actually save this information with the step so I could possibly use this later?   I ask this because my modifications are within the 'ModifyReportEntry' Callback.   When I am modifying the code to generate new HTML within this callback, I have no idea if the developer has selected a Numeric Format for a given step OR simply left it as DEFAULT.
To make matters more confusing, here is some more information....
When I pause the execution in the callback I notice the following:
Case 1:  User has selected a Numeric Format ( this example I will say 3 digits of precision ) %.3f. for a numeric limit step.
Parameters.Result.Limits.Low = 10.000
Parameters.Result.Limits.High = 20.000
Parameters.Result.Numeric = 15.657
Notice the numeric data is ALREADY formatted! Great, I can simply use this to generate my custom HTML table for the numeric limit step.
Case 2 : User has left the numeric format to <Default> for the step.
Parameters.Result.Limits.Low = 10
Paramters.Result.Limits.High = 20
Parameters.Result.Numeric = 15.65713515155
Numeric data is NOT formatted.  I know that TestStand will apply the Default Numeric Format that is configured in the report options when it writes the report but since I am doing a custom report I am stuck.
My question is how can I possibly tell that the data has already been formatted by TestStand in the ModifyReportEntry callback?  Is there some flag that I could check or anything?
I do notice that the Parameters.ReportEntry string contains TestStand's default HTML code for the step and this is already properly formatted.. so as a possible workaround I could 'pick out' the data from this string but this is slow and time consuming.
Thanks
PH

PH,
You can find out if the numeric format has changed using the TestStand API. I use the following statement in my step's post-expression to find out the numeric format that TestStand uses for the step.
Step.Limits.Low.NumericFormat
If the string returned is an empty string, then it is the default format, otherwise, it's the one specified in the string.
Hope this helps.
Raj
National Instruments
Applications Engineer

Similar Messages

  • How can I tell if a non-destructive crop has been applied when opening an image?

    I've wrapped my head around how to reclaim the stripped-out portion of an image that has been non-destructively cropped in CS6: click the image with the crop tool, or select Reveal All from the Image menu. Short of doing this every time I suspect that I may have cropped an image, is there anything in Photoshop's interface to tell me at a glance if the image has been non-destructively cropped? I guess I could check the document dimensions in the pop-up status display at the bottom of the window, but I'm looking for something more direct that doesn't make me search.
    2009 iMac 3.06 GHz Core 2 Duo; OS 10.8.1
    Jeff Frankel

    If you primarily edit files from a particular camera, then your idea to set the status box at the lower-left to show the image dimensions is a good one - just watch for dimensions that are not the norm. 
    You shouldn't have to set the readout to Document Dimensions more than once, though...  Open one image, set that field to read Document Dimensions, then close the document and quit Photoshop gracefully.  From now on it ought to read Dimensions when you open a new document.
    I wasn't aware 10.8.1 was out.
    -Noel

  • I have just bought an ipad with retina display wifi and 4g 16gb how can I check that this is what I have been supplied with please

    I have just bought an ipad with retina display wifi and 4g 16 gb - how can I check that this is what I have been supplied with

    Identifying iPad Models:
    http://support.apple.com/kb/HT5452

  • How can we send workitem after Po approval decision has been taken by appro

    Hi.
    How can we send workitem after Po approved decision has been taken by approver1 to approver2 in the same flow?
    Regards,
    Chow.

    Some kind requests from a user who is of a different opinion:
    Please create one thread for each different question, with a precise thread subject. It will make it easier to search for previously answers to the question someone has, and it will help keep each thread short.
    Please do not introduce new questions on an entirely different topic in an existing thread.
    Please always check if your answer has been answered already before you start a new thread.
    Please do not ask the same question twice just because you did not receive an answer when you asked it first. Post a follow-up to your first thread if you want to make everyone aware that you are still looking for help to solve your problem.
    Please mark questions as answered when you either have reiceived the answer, or solved the problem. It is also nice if you leave a little comment about how the problem was solved.
    I guess that was all for today...

  • How can I know if malicious spyware or malware has been downloaded to my iphone 4?

    How can I know if malicious spyware or malware has been downloaded to my iPhone 4? And if so, how do I remove it?

    If your device has not been jailbroken, there can't be viruses or malware on the phone.

  • HT2397 How can I check what region my Macbook pro has been set at.

    How can I check what region my Macbook pro has been set at?

    It will have been set for the region in which it was purchased.
    http://support.apple.com/kb/HT2397
    Once you have set the region in DVD Player five times it cannot be changed. However see tis also:
    http://support.apple.com/kb/TA25416?viewlocale=en_US&locale=en_US
    Instead, use VLC to view videos from different regions:
    http://www.videolan.org/vlc/download-macosx.html

  • How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me.

    How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me. Have just upgraded from iPhotos so don't want to lose any content.

    How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me. Have just upgraded from iPhotos so don't want to lose any content.
    Force-quit Photos as recommended by Arsenal1607.
    Make backup of your iPhoto Library and run the iPhoto Library First Aid tools to repair the permissions on your library and rebuild the iPhoto Library.
    To launch the First Aid Tools hold down the  alt/option and the command key simultaneously while double clicking the iPhoto Library to launch the iPhoto Library First aid tools. You'd to hold down both keys firmly and long enough, until the First Aid panel will appear.
    Try both the options "Repair Permissions" and "Rebuild library".  Then try again to migrate the iPhoto Library to Photos by dragging it onto the Photos icon in the Dock.
    Make sure, you have plenty of free storage. Don't try the migration, if you are running out of storage.

  • HT1438 how can you unlock an iphone 4 after is has been disabled?

    how can you unlock an iphone 4 after is has been disabled?

    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
         After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • How do I know if security hotfix APSB13-13 has been applied?  My version is 9.0.1.274733

    How do I know if security hotfix APSB13-13 has been applied?  My version is 9.0.1.274733

    With APBS13-13 applied CFAdmin System Information would report:
    Server Details 
    Server Product  ColdFusion 
    Version  9,0,1,274733   
    Update Level  /C:/ColdFusion9/lib/updates/hf901-00010.jar   
    HTH, Carl.

  • How can Apple tell that the liquid damage in my mac air was made by me?

    Apple said my five months Mac Air has liquid damage inside and I need to pay more than $400.
    I totally cannot accept it.
    Please have a look below two pictures from Apple.
    I can see corrosion, but how can Apple tell this damage was made by me?
    Actually I can easily approve this was definitely not made by me because of this part's location.
    Please have a look below picture. I circle it by black on the left above corner.
    This Part is facing to the ground and is covered by the case like below picture.
    All of above picture can easily approve I cannot put water inside to damage this part without damaging other parts.
    1. if water from keyboard, water will definitely pass by other places and damage other parts.
    2. if water from buttom, there is protected by the case. How can I put water inside?
    I believe that my case was just Hastily delt by one junior staff and later the manager just tried to cover his staff's mistake.
    I know the apple's product is very good. But if apple treats customer like me, I believe sooner or later Steve Jobs would cry in heaven.
    One of my friend told me normally there are several paper inside laptop and they will change the color if touching  the water.
    So people can tell the laptop was poured in water if several paper change the color togother.
    I think this way is fair enough. But in Apple store when I asked the manager whether Mac Air has this kind of paper inside.
    His answer is "not sure". I really do not know How can this man be manager!!
    can somebody tell me whether mac air have this kind of paper inside the body?
    Thanks,

    this:
    Did not exist at the point of delivery to the consumer.
    Nor did the white corrosive agent present exist at the point of sale.
    " exposure   of copper   alloys   to   moisture   or   salt   spray   will   cause   the formation  of  blue  or  green  salts  called  verdigris.  The presence   of   verdigris   indicates   active   corrosion."
    I see also 2 contact points with DEEP corrosion pitting not indicative of any defect from the factory.

  • HT3529 how can you tell that someone read your text message?

    How can I tell if someone has read my text message?

    Text messages, i.e. SMS or MMS, do not have a "return receipt" feature. iMessages, however, do. If you're sending via the Messages app, your friends need to turn on the "Send Read Receipts" option in the Messages settings on their iOS devices.
    Regards.

  • How can I tell that an individual product is installed rather than being a part of Creative Suite?

    Dear All,
    Sorry if this question is not appropriate for this forum, but I could not find a better one.
    When I inventory a computer's registry, how can I know that the individual product (such as PhotoShop CS5) is installed, rather than installed as part of the product suite, such as Creative Suite CS6?
    Kindest regards,
    QuietLeni

    Mylenium,
    Is this true for ALL versions of the Adobe Suites or just the latest ones?
    I seem to have a computer which is showing up in the list of machines with CS5 installed and in the list of machines with PhotoShop CS5 installed.
    Kindest regards,
    QuietLeni

  • I can't tell if my AdobePro software upgrade has been installed properly. Doesn't seem to be working, so what do I do?

    How can I tell if my AdobePro upgrade has been properly installed?

    Thank you, but I am not good enough at uninstalling and reinstalling apps to be certain I won’t completely mess up what I already have. Do you know if there is a way to get online support directly from Adobe? I am in the middle of a very important project and can’t risk losing the use of Adobe as I had it before attempting to upgrade.
    Thank you. Really appreciate that you responded to my inquiry.
    Amy
    Amy M. Fadida
    President & CEO
    A.M. Fadida Consulting
    2006 Plymouth Street, NW
    Washington, DC 20012
    tel:  202-744-5531
    fax: 202-722-2798
    e-mail:  <mailto:[email protected]> [email protected]

  • The new Firefox opens all the old tabs it closed with, when it starts. I'd rather just start a new session. How can I make that the default setting?

    The new Firefox re-opens all the tabs it closed with; and, I'd rather just start a new session, as the default setting. How can I do this? It would make it easier on me, the machine, and the Internet feed, not to reload automatically a bunch of tabs that were just closed. There must be someway to fix this. This happens on my brother's Windows computer, as well; and, it's running Firefox 4. Thanks for your help.

    Make that "Firefox ->Preferences -> General -> When Firefox starts: "Show my windows and tabs from last time" is not selected as this is not the default.
    Basically this setting will make Firefox start with whatever windows and tabs that were last open when a user closes Firefox by way of File ->Quit/Exit as if Firefox was never closed.

  • How can I tell that TM is backing up correctly?

    I see it on the pref folder backing up, but when I hit the dock Icon all I see is today now.
    I don't see the hourly backups - I just started about 10 hrs ago. Too soon to see a history?
    Thanks

    If nothing has been changed, and if nothing new has been added, then TM will not perform the
    backup because there's nothing new to record. It will just come on, check your drive, and then
    shut back down again and start over in the next hour.
    This is very misleading for new people IMO.
    It's almost impossible for there to be no file activity during a 1 hour period even if user has done nothing such has taking a 1 hr coffee break away from the computer. TM hourly snapshots will always (I've yet to find any evidence this is not true) find some small amount of data to backup. For example, if you click Options... in TM Pref panel and then click the "+" button and then click the "Show invisible items" box you will very quickly see that the /var/log/system.log file is include in the backups. The system.log is always growing and this will mean TM hourly backups will find new data to backup.

Maybe you are looking for

  • Can we use global structure while designing a query on  a multiprovider

    hai friends,                  If i build a multiprovider on cubes for which the query design  on those cubes contains global sturctures , Can i use those global structures while designing a query on a multiprovider (which contains those cubes)

  • Selecting data from table

    Hi just have a Labview programming question that I'm not too sure how to implement. Right now I have a VI that takes in an Excel file and dumps the values onto a 2D table. I'm extracting individual columns of values from the table by using "delete fr

  • ECC6 V_TIBAN Transport for House Banks IBAN

    Hi SAPer, I wonder if you have experienced this. As I am now implementing ECC6 and  trying to transport IBAN for house bank account. The IBANs are stored in the application table TIBAN ane even though I transport House Banks, NO IBANs were transporte

  • Why is Coral option given only in some cases.?

    how come i some times can only have coral as an option to open a raw or jpg with ?

  • Protecting long text in MM01 MM02

    Hi all my requirements is to protect material basic data long text (trx MM01, MM02) for a specific user. How can I do that? Note that I can't use authority object M_MATE_MAN, cause only long text need to be protected. My SAP release is 4.6C Regards