NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test Limits

I want to take limits from an access database table to use in a measurement step in teststand rather than entering limits locally. How do I point to the limits in the test step?
0 Kudos
Message 1 of 4
(3,251 Views)

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

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,247 Views)

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.

0 Kudos
Message 3 of 4
(3,246 Views)

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

 

 

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,242 Views)