Best way for using Property Loader with Excel

I am trying to architect a test system to run a variety of tests (DIO, AIO, PWM...etc) and I noticed that Property Loader can be quite handy. I am trying to find the best method to utilize NI TestStand Property Loader to load test properties from Excel into some sort of parameter database. The properties shall be loaded only once when the test sequence is opened. The parameters of the excel table will have a format like this:
TestType TestCondition  ECUPin#   Limits.High    Limits.Low  Units  PWM_Frequency  CAN_TX   CAN_RX
DI            ON                    1                                                                                      0x0102   0x0304
AI            OFF                   2                0             0.1                V                                0x1324   0x0405
The table will look much more complex than this one, but once I know how to do this I should be fine. Does anyone have suggestions for what I am trying to do ?
Thanks,
Ayman

There are a couple methods of thought here:
Property Loader-  You can use the tool to export and import properties.  The best way to do it is to export the properties that you want in the Excel file using the tool.  Then make copies of the file and change the values in there.  This will ensure that once the values come back into TestStand they will all go to the correct place.
FileGlobals Method-  You can create a large container which has all the correct variables in it in your file globals or locals.  There is an object in the TS API called a PropertyObjectFile.  This file is a simple text file that contains the properties, sub properties and values of any property object in TS.  You can easily just pass the container into it.  The problem with this is that you then have to create a VI or some tool to edit the values in it.  You can go in there and manually change them but it's not as intuitive.
Property Loader to FileGlobal Container-  This would basically be a hybrid of the two.  Pretty much what you described in your post.  Where the property loader only has to load the container in your FileGlobals.
Which method is best? It all depends on your application.  If you ever need to dynamically export the properties then you can't use the Property Loader. 
One thing to remember is that you should only Import/Export properties that need to be changed in the Excel file.  This will help reduce the number of properties. 
Hope this helps,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~

Similar Messages

  • What is the best way for sharing an iPad with 2 iPhones using different Apple acount ?

    What is the best way for sharing an iPad with 2 iPhones using different Apple acount ?

    You can't share with other devices if you are using different Apple ID's and iTunes account on them. You can only share if you use the same ID.

  • Using Property Loader with Renamed Steps

    If I have a test step in a loop where the step is renamed using RenamePreviousStep after each iteration, is there a simple way to use Property Loader to load test limits corresponding to the dynamically changing test name?
    The only way I have found to do this so far causes errors at runtime on the non-existent step names in the file which have to be ignored. Also it is not very slick to call PropertyLoader every time the loop iterates.
    Is there a more elegant way to load limits for steps which "don't yet exist"?

    How do you organise your limit file.
    Do you have a different Start/End Marker for each of your iterations
    so that you have the correctly named step(s) between the markers?
    You could try loading an array of limits into a local array(s) from
    your Limit File then index through the array as the datasource for your
    limits. Remember its a PropertyLoader, so its not limited to just
    limits. That way you only read it once and you are not tied to the Step
    name.
    I originally had all limits within a single Start-End marker pair. Having now given each limit set an individual Start-End marker and setting PropertiesListSource dynamically in the Loader Step in the loop, that works OK.  Perhaps not so elegant still as each iteration of the loop requires a Property Loader step instead of loading everything in one hit (I'm guessing there has to be some performance overhead in multiple property loader calls vs. a single load of all limits) but at least there are no errors on the loader step now I am only loading that test which exists after the loop rename.
    The alternative of loading data into arrays had ocurred to me and I may experiment with this if performance becomes an issue with the first approach.
    Thanks for your reply Ray, its much appreiated.

  • What is the best way to use EJB modules with JAX-WS?

    Hi.
    I am doing a project that returns EAN13 encoded data to external java clients.
    I think I need to use a webservice that send response, a webservice client that send the request, and other project that transforms a data to an EAN encoded data, returns it and store it in MySql database.
    It is possible that I need to authenticate users for every request made.
    -I have created a EJB module contained into Glassfish for the webservice
    -I have created a Common Java project with 3 layers: Entities, bussines and data access layer for mysql database
    -I have a project for the webservice client with JAX-WS ( is the best choice? or Would be better JAX-RPC? )
    **How would you suggest me create the structure of the project with all the java power?*
    **Could you help me with goods tutorial of design patterns about webservices using EJB and the best way for use databases for this kind of projects ( I have heard about JNDI, Hibernate, Session EJB, ... )?*
    **Would be better use other EJB module instead of a Common java project that has classes?*
    h3. {color:#333399}I shall be pleased with your help{color}

    Kappy is dead on correct about Bridge Mode as a requirement for the Time Capsule.
    Do you know how to check to see if the Time Capsule is configured this way?
    Next question.....you really should not try to have two wireless networks....one Arris and another Time Capsule.....unless it is absolutely necessary. Two wireless routers in close proximity can create wireless interference effects that can cause problems with either...or both...networks.
    Best to turn off the wireless on one router to keep the chances of wireless interference between routers minimized.
    Are both the Arris and Time Capsule providing wireless signals?

  • What is the best  way for using a  C++ in the EJB?

    What is the best way for using C++ in the EJB ie
    either 1. Socket programming
    2. JNI

    To what purpose?
    To use C++ in the client you could generate IDL from your remote interfaces and run that through your vendor's IDL-to-C++ processor.

  • HT1229 what is the best method for using a iphoto with an external hard drive for greater capacity?

    what is the best method for using a iphoto with an external hard drive for greater capacity?

    Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
    And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
    And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
    LN

  • Property Loader with Excel spreadsheet embedded into a Word doc

    I know I can load test limits from an Excel doc using Property Loader but can I load test limits from an Excel table embedded in a Word document? Has anyone ever done this?

    Jules,
    I looked into how this could be accomplished, and it doesn't look like it is possible using off the shelf methods. Please if anyone figures out how to do that, i would strongly encourage you to write a Community Example . I think your closest work around would be to have the excel document linked in the word document http://office.microsoft.com/en-us/word/HA101208101033.aspx . Unfortunately in this situation, the excel file is still seperate from the word doc, and anyone reading the word doc would have to open the excel through the link to view its contents. Also if you move the document, you have to remember to move or change the path of the link. What is your motivation behind having the Excel Spreadsheet in a word document? I agree it would be a novel Idea, but as of now when you copy the object into the word document, it gets encapsulated by the .doc or .docx, and there is no clean easy way I have found to abstract it out. I also looked into the potential of dynamically linking the excel spreadsheet and word document, so when you would update one...it would update the other automatically, unfortunately this functionality doesn't exist (that I could find). Sounds like a pretty good product suggestion for microsoft though ; ) Keep me updated if you find a better work-around.
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • [Solved] What's the best way for me to help with Arch?

    I've been using Linux for about 10 years and Arch for a little over a year.  I used to do a lot of distro-hopping but I've found that since finding Arch, I haven't been doing much of that.  I don't know why it took me so long to find it.
    Anyway, I'd like to give back a little so what's the best way for me to help?  I'm not a programmer so I'd be no help there.  I have made a couple contributions to the wiki and filed a bug.  I know that kind of stuff is easy and obvious.  Is there anything else I could be doing?
    Last edited by brianhanna (2010-04-07 02:25:34)

    I hear the Arch Linux Magazine could always use some contributions, if you're inclined towards that sort of thing. I've been wanting to write an article for a while, but I've not run into anything in my Arch experience so far that's really inspired an article out of me.

  • The best way to use 2 iphones with 1 Mac

    Can someone explain whats the best way to use 2 iphones on 1 Mac.
    2 different Calendars, 2 different adressbooks, etc., 1 iTunes Library, 1 Photo Library
    But it would be great to see each others Calendars
    Until now one mobileme Account.
    Thanks in advance
    Jan

    I'm hoonesstly not sure about the second mobile me account. My guess would be that you will need another one though. The only way to see her calendar is to log into her user account. Not a problem if you have her password.

  • What is best practice for using a SAN with ASM in an 11gR2 RAC installation

    I'm setting up a RAC environment. Planning on using Oracle 11g release 2 for RAC & ASM, although the db will initially be 10g r2. OS: RedHat. I have a SAN available to me and want to know the best way to utilise that via ASM.
    I've chosen ASM as it allows me to store everything, including the voting and cluster registry files.
    So I think I'll need three disk groups: Data (+spfile, control#1, redo#1, cluster files#1), Flashback (+control#2, redo#2, archived redo, backups, cluster files#2) and Cluster - Cluster files#3. So that last one in tiny.
    The SAN and ASM are both capable of doing lots of the same work, and it's a waste to get them both to stripe & mirror.
    If I let the SAN do the redundancy work, then I can minimize the data transfer to the SAN. The administrative load of managing the discs is up to the Sys Admin, rather than the DBA, so that's attractive as well.
    If I let ASM do the work, it can be intelligent about the data redundacy it uses.
    It looks like I should have LUN (Logical Unit Numbers) with RAID 0+1. And then mark the disk groups as extrenal redundancy.
    Does this seem the best option ?
    Can I avoid this third disk group just for the voting and cluster registry files ?
    Am I OK to have this lower version of Oracle 10gr2 DB on a RAC 11gr2 and ASM 11gr2 ?
    TIA, Duncan

    Hi Duncan,
    if your storage uses SAN RAID 0+1 and you use "External" redundancy, then ASM will not mirror (only stripe).
    Hence theoretically 1 LUN per diskgroup would be enough. (External redundancy will also only create 1 voting disk, hence only one LUN is needed).
    However there are 2 things to note:
    -> Tests have shown that for the OS it is better to have multiple LUNs, since the I/O can be better handled. Therefore it is recommended to have 4 disks in a diskgroup.
    -> LUNs in a diskgroup should be the same size and should have same I/O characteristica. If you now have in mind, that maybe your database one time will need more space (more disks) than you should use a disk size, which can easily be added, without waisting too much space.
    E.g:
    If you have a 900GB database then does it make sense to only use 1 lun with 1TB?
    What happens if the database grows, but only grows slightly above 1TB? Then you should add another disk with 1TB.... You loose a lot of space.
    Hence it does make more sence to use 4 disks á 250GB, since the "disks" needed to grow the disk groups can be extended more easily. (just add another 250G disk).
    O.k. there is also the possibility to resize a disk in ASM, but it is a lot easier to simple add an additional lun.
    PS: If you use a "NORMAL" redundancy diskgroup, then you need at least 3 disks in your diskgroup (in 3 failgroups) to be able to handle the 3 voting disks.
    Hope that helps a little.
    Sebastian

  • What is the best way to send auto mail with excel(generated by query) attachment?

    Hello,
    Need to generate first data from stored procedure and the save it to an excel file and then send mail with the same excel file.
    So am searching for the best way so that i could do all process in a single task with daily or monthly schedule.
    As per my understanding, we could it via SSIS and by sql server using
    sp_send_dbmail.
    But i have to generate excel file first by stored procedure and then end it by mail.
    So please suggest the best way to accomplish all task in a single task.
    Thanks
    Ajay 

    Hi Ajay,
    As shown in the blog mentioned by Syed, to delete records from the Excel file, you need to use Update OpenRowset command to update the corresponding rows to blank.
    Alternatively, you can also use Derived Column Transformation or Conditional Split Transformation after the OLE DB Source so that you can replace the target rows with NULL before exporting to Excel destination or just redirect the expected records to the
    Excel destination.
    Then, in the Control Flow, you can add a Send Mail Task to send the Excel file by setting it as the attachment. The following screenshot is for your reference:
    Regards,
    Mike Yin
    TechNet Community Support

  • Best way to use library movieclips with classes?

    Hi,
    I've created a carousel class which takes one parameter, an array of menu item names, these will then be displayed on the carousel. I've then created  two movieclips for the left and right controls, added them to the library and given them classes of their own.
    Within the carousel class I instantiate instances of the two control classes which then enables me to add event listeners for rollover and rollout.
    What I'd like to know is, is this the best way to do this short of creating the controls using pure actionscript?
    I'd like to not have to add the class properties for the left and right controls and have a situation where I could just give them the right name and they would work or maybe pass them in as parameters and use them that way.
    Any tips for how you would go about doing this would be much appreciated.
    Thanks,
    eb_dev

    Have you tried something that isn't working?  If I understand what your intentions are, I would think that the approach would be to create Class ID's for the clips and import the classes into the carousel class.

  • Best KVM for using 2 computers with one monitor?

    Hi. I am using a Dell U2711 monitor with a main, big, wonderful machine that has an nvidea display card and am considering to get an additional, small machine, to install Linux/GNU, and wondering, to use the one monitor for both computers.
    So, can anyone recommend the best KVM switch for these specifications, or what am i to look for in a kvm switch, assuming i'm using CS5.5 Master COllection on the big machine and dont want to lose quality by adding the switch.
    thanks

    I've been using the Rosewill RKV-2DVI for about a year with an XP 32 bit machine and a W7 64 bit machine.
    http://www.rosewill.com/products/1687/ProductDetail_Overview.htm
    http://www.rosewill.com/Mgnt/Uploads2/AttachmentForProduct/usermanual-rkv-2dvi.pdf

  • Which is the best way for iOS to communicate with the webserver SOAP or JSON

    Which one is the best for iOS to interact with the webserver.. to exchange messages like
    1. Normal NSString
    2. images
    3. audio
    4. videos
    like any other stream of bits..
    Thank you

    There is a reason why JSON took over AJAX world. I have been too busy to research this myself, but you may be interested in WebSockets.

  • HT2204 What is the best way to use iTunes Match with two Apple ID's that have purchased content?

    Hello. 
    In my early years of using iOS devices i have unwittingly made the mistake of creating a second Apple ID for my second device.  So now i have two Apple ID's with purchased content associated with them. 
    I have turned on iTunes Match with the account that has the bulk of my music linked to it.  But my second account has maybe 150-200 songs (and lots of apps) that i really like and don't want to loose.  Activating iTunes Match for the main account wiped these 150-200 songs off my iOS devices and replace them.  Is it possible to have content from both my apple id's on my devices at the same time?  Is it possible to combine the content from both of my accounts?

    I'll try to help a bit.
    ITunes match space is different to icloud space. With iTunes match you get storage for 25,000 non iTunes purchased tracks and other than a limit for individual file size, there is no memory limit.
    You can turn match on individuallyon each device (I have it turned off on my iPod but turned on on my iPad and iPhone). When you turn it on then you get access to all the tracks, and in my experience any playlists I create have transferred over very well. I understand that some people have had trouble with playlists though.
    I'm not quite clear with exactly what you mean regarding cleaning up your library, but be careful about using Match for this. There is no guarantee that matched songs will be exactly the same version as your own copy, due to some mismatches, so you could find some problems there. Personall, I am cleaning up my library before matching, but I am rather particular about keeping my library the way I want it. If you aren't as fussed then match could be the answer.
    Hope that helped.

Maybe you are looking for

  • Need solution for 2 plans, seperate bills(1 wifi, 1 DSL), 1 line and broken internet

    My brother has a plan with verizon which is the one that uses the wifi router His wifi router says Model 7500 on the front. I felt his Internet was too slow for my needs, so I figured I'd get my own plan Problem 1: My 6100G modem can only connect to

  • Removing items from overhead menu bar.

    i recently downloaded intego security which is a one year subscription. when the subscription expired, it only said renew subscription. there was no option to uninstall. so i used cleanmymac, which that failed, followed by appcleaner, which managed t

  • Sharing the internet from a blackberry via bluetooth?

    Hello, I am very excited about getting a macbook pro tomorrow! I was wondering, can I share the internet from a blackberry via bluetooth? it is a 8700c blackberry. also, how are the speakers in the macbook pro? (better than a 12" iBook?) one last thi

  • PhotoShop CS3

    Hello, Out of country, using my MacBook Pro, i forgot to install DPP from Canon to view my images taken with EOS 5D Mark II. Because Canon is giving UPGRADES, i wonder where to find downlodable original DPP ? Trying to open RAW images using PhotoShop

  • Multiselection in LOV!!!!!!!! Urgent

    Hi All, I have a requirement in which I have to enable Multiselection in a LOV. The lov should be attached to a single field and upon clicking on lov icon multiselect should be enabled. If user select multi rows then the values should be returns with