06-27-2007 04:51 AM
06-27-2007 05:29 AM
Hi,
You need to use the PropertyLoader to load your limits from a database instead of a file.
You will need to setup your link to your database either via the Configure menu or by using the DatabaseOptions callback sequence.
In the Reference Manual under the Database section (chapter 6 - 7 or 6-13) is a tutorial that takes you through setting up your link.
Hope this helps
Regards
Ray Farmer
06-27-2007 05:50 AM
Hi Ray,
I have looked through the Teststand reference manual and I managed to set up the database link and I created the result tables etc. However, I don't see any examples of how to retrieve limits from a table for a particular test step. I don't know how to configure the numeric limit test to look at the high and low limits from a database rather than entering a local value for the limits. How do I point to the table and the particular field that contains the limit within the database?
regards
Billy.
06-27-2007 06:22 AM
Hi Billy,
Here are a couple of examples but unfortunately they use the Import / Export Tool. What you need to use is the PropertyLoader StepType. The setting up of the PropertyLoader step is very similar to that detailed in one of the examples using the Import / Export Tool.
http://zone.ni.com/devzone/cda/epd/p/id/3295
http://zone.ni.com/devzone/cda/tut/p/id/4660
Hope these help
Regards
Ray Farmer