Put the report into shape for custom step type

Hi All,
I created a custom step type and also managed to get the results logged into the report file.
In the report file(See ‘[15 33 14][22 10 2007].xml.vi’ please remove the 'vi' extension) the 'StepResult' (created by my custom step type) appears just below the status. Is it possible to get it displayed somehow the cell(measurement column) next to it, like in a Numeric Limit Step? I’m using the ‘horizontal.xsl’ stylesheet and Teststand 3.5.
Furthermore, is it possible to change the name of the column headers? Or the structure of the header?
Cheers
Attila
Attachments:
[15 33 14][22 10 2007].xml.vi ‏17 KB

Hi again Attila,
Further to my above post, I've collaborated with colleagues here and have been able to modify the horizontal.xls stylesheet such that it is suitable for what you require. This modification will ensure that all properties named StepResult will be displayed as you described, in line in the table.
To ensure compatibility with your results in TestStand, a small modification to your sequence file is required. In your sequence file, right click the value for your custom step, go to Advanced > Edit Flags and uncheck all boxes. The text in the bottom of the window should now read "0x0". This should mean that your data is displayed correctly.
I am attaching the modified horizontal.xls for you to use [remove the .vi extension]; please make sure a backup is created before you replace it. The file should be placed in your TestStand directory under Components\NI\Models\TestStandModels\StyleSheets. Modifications to column headers as described in the above post can be made to this file.
I hope this soultion is satisfactory and that you are able to implement it. If you have any further questions please don't hesitate to reply.
Regards,
Tom
Applications Engineering, NI UK
Attachments:
horizontal.xsl.vi ‏84 KB

Similar Messages

  • How can I include multiple limits in the sequence file documentat​ion for custom step type?

    Hi,
    I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
    I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
    Is there any trick to do that?
    Thanks,
    Andras

    Hi Andras,
    I have made  a slight change to the sequencefile 'docgen_txt.seq'.
    In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.
    Now when you run the DocGen tool it handles your custom step type.
    Find attached my modified sequencefile 'docgen_txt.seq'.
    Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.
    Then launch TestStand and try it out on your sequence file.
    If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 05-19-2007 05:28 PM
    Regards
    Ray Farmer
    Attachments:
    docgen_txt.seq ‏184 KB

  • Creating a step type "launcher" that would insert the appropriate built-in or custom step type at edit time

    Hi everybody,
    I'm looking for tips, pointers,directions... to be able to perform this operation in TS 4.0 sequence Editor, if it's even possible...
    I'm managing a test system with a "home-made" virtual instruments abstraction Layer complementary to IVI classes for instruments which do not have classes defined, customizing the sequence editor accordingly for developpers of my department.
    So basically when the instrument is IVI, the developper uses the built-in IVI step-type type and when it is not, he uses the the custom step types that I developped for this particular class of instruments.  
    However there are classes where I do have both IVI and specific drivers available and I do need to use both in the test sequence.
    For example let's say there are two sources of DC power available in the testbench, one being a programmable IVI compliant DC power supply, and the other one composed of fixed "blocks" of DC power supply managed by externals relays and you need to use them both in the test sequence.
    What I would like to be able to do in the sequence editor is inserting the appropriate step type at edit time just by selecting the source of power supply (by a ring or enum for eg), and if the first ressource is selected, it inserts IVI step type, and if the second ressource is chosen, it inserts the appropriate custom step type.
    Any Ideas on how to accomplish this ?
    Regards,
    Cyril
    Cyril Bouton
    Active LabVIEW Developper
    Solved!
    Go to Solution.

    Hello Cyril,
    Here is an idea that could be done:
    You could create a dynamic step by having a step that holds all the properties for both configurations (the superset of the necessary variables) and an extra one that indicates which 'mode' the step is in.  Then you create the main Edit substep in whichever language you desire.  That substep window will then have a box/dropdown/etc. at the top you can use to choose between modes A & B.  When the user changes the value, you would dynamically change the rest of the window to contain the appropriate properties for mode A or B.  You then copy the property values in that window to the Step properties, and copy the mode to your variable and you can run the step in that mode.  When the step then runs, it checks the mode variable, and depending on its value, it will run the step in mode A or B.
    Now we could add a dialog that allows us to choose when we put a step down but we should still allow the user to change later via the Edit substep we create.
    I don't think we can create something that inserts a completely different step, but we can have one step that has the ability to do both and we can pick which one we execute.  Also note we still don't have the ability to edit the Panels for a step, so we have to use a new window that we call from our Edit substep to complete the step.
    Hope this helps.
    Regards,
    Olivier L. | Certified LabVIEW Developer

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can we put the report which is generated by the program into spool??

    How can we put the report which is generated by the program into spool??
    I had generated a file in Unix which had the report but now the requirement has changed.
    Regards,
    Shashank.

    Hi Shashank,
    If the program is executed in the background and it has the write statement then the spool will automatically generated.
    Reward points if useful.
    Regards,
    Atish

  • Database, custom step types, ann XML report issues...All in one

    TS3.0
    Have a number of issues to do the above. I'll try and explain them in order. I'm sure there all linked, but can't figure out how...
    The "Custom" Steps.....They are copies of the NI Numeric/Multiple Numeric tests, with a added post step to translate the error code into something meaningful.... No big deal.
    XML Issue
    When the report is generated the the Multiple numeric saves fine(See Multiple.txt, the step is of numeric type, all is well). However strange things happen in the Numeric test. see "Simple.txt" for a snipit of the result file. As you can see the "error code" contains the measurement. Why....?
    Also in the XML the result seems to be reported as a normal step(like an action) and not a numeric test....
    DATABASE Issues
    Now when loggin to the standard DB that ships with TS, with the 1 change to the tables, to record our custom types in the DB. Everything works fine and is recorded untill the 1st instance of a skipped "Custom_MultipleNumericLimit Test" , at which point the DB (Microsoft Access) throws a wobbly(error message) and states that "No such col exsists". When the DB is looked at everything is recorded upto the point where a skipped Custom Step happend(and the error message). When the custom type is run normally(ie not skipped), the resutls are recorded fine, no problems.
    Can't get my head around whats going on. I've check the property flags, and as far as I can tell every thing is in order for these custom steps(ie they look the same as the TestStand steps they are based on). It records fine in the XML.
    Attachments:
    Zip file with XML snipits.zip ‏1 KB

    Can you be more specific details about your database problem, specifically:
    1) the changes that you made to the default schema
    2) the changes that you made to the database tables
    3) the entire error message text for the logging error
    Scott Richardson
    National Instruments

  • How can I format an SD card on my mac?  I have tried the erase thing but when I put the card into my 35mm camera it says that the card has to be formatted.

    I just purchased two new SanDisk 8gb SD cards for my trail cameras.  When I put the cards into the trail cameras, the cameras will take pictures but it won't store them on the cards.  When I put the cards into my 35mm camera the camera tells me that the cards need to be formatted.  I have went through the steps in the disk utilities and erased the cards, which I assume is the same as formatting them??  I have tried this for hours and have had no luck getting these things to work at all.  It was awful disgusting when I checked my two trail cameras the first time and found out that they had taken close to 75 pictures but the cards were empty.  When I bought my 35mm camera several years ago, I bought a couple of Kodak SD cards and used them right out of the package and never had to do any of this formatting thing.  I don't understand what is going on and could sure use some help with this.  Thanks for any information anyone can give me with this problem.  I would love to have seen what animals set my cameras off 75 times in the last few days.  Thanks again.
    Respectully
    Jim

    AFAIK cameras offer their own built-in format utility for inserted SD cards.  You should use that.  Otherwise, refer to the manual that came with your camera to determine precisely how your SD cards need to be formatted to work properly.  Personally, I'd suggest Partition Scheme: MBR, and Filesystem: FAT32.
    Try to limit the number of formats you perform on the SD cards, though, as you're reducing their lifespan.  I believe formatting causes re-writes to a portion of the SD card that has fewer read/write cycles than the rest of the card as a whole.

  • I can't connect my iPod classic to iTunes, it just doesn't react when I put the USB into the PC

    hey, I have an iPod classic and it can't connect to iTunes.
    I put the USB into my computer trying to add music, but it doesn't seems to react.
    It DOESN'T say that it can't recognize the Ipod..
    - Itunes just simpely doesn't react when I put the USB-cabel into my computer.
    - when i go to the task manager the "apple device mobile" and "ipod service" is acitve in the processes
    - I've tried to restart my computer (windows XP)
    - update iTunes
    - reinstall iTunes
    - restart my apple devices mobile manager
    what I think is the problem (which I can't solve) is that iTunes doen't even react to the USB
    plz hlp me!
    - ps it really should be able to add music to my iPod without getting help from a expert.

    Hello qz0rz213,
    It would seem that iTunes has encountered or developed an issue in the process of trying to sync photos to your device. The best place to start would be removing the iPod Photo Cache (thus allowing for a new version to be created).
    Note: Deleting this folder will not remove the original images from your library.
    iTunes: Understanding the iPod Photo Cache folder
    http://support.apple.com/kb/TS1314
    If the issue is not resolved by removing the iPod Photo Cache, the following article goes into further steps that can both help you determine the source of this trouble and eliminate it.
    Symptoms
    In certain situations, iTunes may display an alert or may be unable to sync photos to an iPod or iOS device. Examples include:
    After updating iOS, iTunes displays an alert that there is not enough room to sync photos
    This error appears: "The iPhone/iPod touch '[device name]' cannot be synced. The required file cannot be found."
    This article outlines steps to resolve these issues.
    iTunes: Unable to sync photos
    http://support.apple.com/kb/TS3697
    Cheers,
    Allen

  • I got CS4 software. When the first time i install, i chose the normal installation content. Then I found that there was no photoshop on the start menu. After that I try to put the disk into the notebook again and find that there is no photoshop listed on

    I got CS4 software. When the first time i install, i chose the normal installation content. Then I found that there was no photoshop on the start menu. After that I try to put the disk into the notebook again and find that there is no photoshop listed on the "installation list"

    download the cs4 design premium installation files and install ps using them,
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • TS1463 how do you put the ipod into disk mode

    how do you put the ipod into disk mode

    iPod nano (7th generation)
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Reset the device by pressing the Sleep and Home buttons simultaneously until the display turns black. This should take about eight seconds.
    When the display turns black, press and hold the Volume Down and Volume Up buttons simultaneously until the device enters Disk Mode.
    iPod nano (6th generation)
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Reset the device by pressing the Sleep and Volume Down buttons simultaneously until the display turns black. This should take about eight seconds.
    When the display turns black, hold down the Volume Down and Volume Up buttons simultaneously until the device enters Disk Mode.
    iPod devices with a Click Wheel
    If necessary, verify that your iPod has a Click Wheel.
    Before placing the iPod into Disk Mode, verify that it is charged.
    Toggle the Hold switch on and off (set it to Hold, then turn it off again.)
    Press and hold the Menu and Select buttons for at least six seconds, until the Apple logo appears.
    When the Apple logo appears, release the Menu and Select buttons and immediately press and hold the Select and the Play/Pause buttons until the Disk Mode screen appears.
    Connect the iPod to your computer; the screen on the iPod will should say "Do not disconnect".
    If you are having difficulty putting your iPod into Disk Mode, set it on a flat surface. Make sure that the finger pressing the Select button is not touching the Click Wheel. Also make sure that you are pressing the Play/Pause button toward the outside of the Click Wheel and not near the center. If you are still unable to put your iPod into Disk Mode, use one finger from one hand to press the Select button, and one finger from the other hand to press the Play/Pause button.
    Older iPod models without a Click Wheel
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Toggle the Hold switch on and off (set it to Hold, then turn it off again.)
    Press and hold the Play/Pause and Menu buttons until the Apple/iPod logo appears, then release them. This resets iPod. When you reset iPod, all your music and data files are saved, but some customized settings may be lost.
    When the Apple logo appears, immediately press and hold the Previous and Next buttons until the Disk Mode screen appears.
    Connect the iPod to your computer; the screen on the iPod should say "Do not disconnect".
    source: Putting iPod into Disk Mode

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Set the descriptio​n value for a step by using the TestStand API

    Hi,
    to read the description of a step there is provided a method:
    Step.GetDescriptionEx
    What about setting this value via API?
    I didn't found any method like 'SetDescriptionEx' !
    Regards,
    Sunny

    There is no set method because the description is dynamically computed by evaluating the DescriptionExpr property of the step's steptype.
    If you want to make a custom step type with a settable description, add a step type subproperty of type string named MyDescription. Then set the step type's Step Description Expression to Step.MyDescription.
    Now, for any instance of your step type, you can set the Step.MyDescription property to change the description.

  • The custom step type

    How can I possibly do the custom step type with MS VB and after that to use this with ActiveX Automation Adapter?
    "Only a life lived in the service to others is worth living..." - Albert Einstein

    Hi,
    The process of generating custom steps is basically the same what every adapter you use. ( See user manual chapter 9)
    As an example I've taken the Computer Demo sequence found in the TestStand\Examples\ for VB and created a custom step for the Power On test.
    Attached is the an ini file called MyTest.ini. Places this in Teststand\cfg\TypePalettes folder.
    Then launch TestStand and you should find the new step in the palette.
    (This is for TestStand 2.0.1)
    Hope this get you started
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    MyTypes.ini ‏41 KB

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

  • Extract the report into excel file

    how to extract the report into excel file?
    which function module i have to use ?

    Hi Pavan,
    If you want to download the displayed list in the Excel file,then at the time when the list is displayed on the screen, you can go to System option on the menu bar,from there go to List and then Save.You will get a pop up which shows you all the formats of download available.Select the one you want to and mention the target path of the file on the Presentation server.
    Secondly,you can use the T-codes "CG3Y" to download the data from the Application Server to the Presentation Server and T-code "CG3Z" for vice-versa.
    Or else you can use any of the FMs to first download the ABAP list to the ASCII or the BIN format and then convert it to excel using the FM "SAP_CONVERT_TO_XLS_FORMAT" or "TEXT_CONVERT_XLS_TO_SAP
    I hope I have tried to answer your query.
    In case of any further queries,please let know.
    Regards,
    Puneet Jhari.

Maybe you are looking for

  • How do I sync one game to all my devices

    Is there a way to sync one game/progress to all my devices (ipad, Mini, iPhone, etc)? If so, how do I do this?

  • Is it possible to write 2 different project on one blu ray disc?

    I have about 23 Gb project of stills photos and still cameras video clips. But I also have some additional footage on hd from an hd  video camera. My blu ray disc are all 50 gb and I wonder if I could  add a second project to the disc and how to go a

  • Problems Viewing and Printing PDFs Created from FrameMaker

    I got no responses to this issue in the Acrobat forums (I posted 6 days ago), so since at least some of the PDFs were created through FrameMaker, I am posting here to see if anyone in this forum has seen the problem. At our company, we regularly crea

  • XI 2.0 Where do you turn tracing up ?

    How do I turn Tracing up to get the max information in the TraceDocument found within the sxmb_moni transaction "monitoring for Processing XML Messages"?

  • Lock form & email as PDF Javascript

    Hi Guys, I am using Adobe Acrobat X and creating a Forms natively. We do not use LiveCycle. So I have created a form with several fields, buttons a date picker - some of which I have found online. The forms that I will be creating will be placed on t