Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Logging to a Database on a Seperate Thread in TestStand 2.0.x

0 ratings | 0.00 out of 5
Print

Downloads

Filename: sequentialmodelparalleldb.seq
Requirements: View

Filename: howtosetupnewthread.txt
Requirements: View

This example is intended to show how to quickly enable database logging on a seperate thread while using the SequentialModel.seq. Since it is possible in a real world scenario that the time to log to a database can take up an equal amount of time as actually running the test, sometimes it is more efficient to have the main UUT loop proceed with the next serial number rather than always waiting for the Database logging steps to finish first. With a few customizations it is possible to have the logging (of the previous test) and the execution (of the current test) happen in parallel. Note that logging two tests simultaneously is not the aim of this example. A working process model and a text file of instructions for how it was created are attached below. To use this example, copy the process model into your /Components/User/Models/TestStandModels folder and then open the Configure>>Station Options dialog to access the Model tab. Browse to the file and press OK to make the new process model active. This example was tested with Microsoft Access.

Related Links:
Logging to a Database on a Seperate Thread for TestStand 1.0.x

Requirements


Filename: sequentialmodelparalleldb.seq

Software Requirements


Application Software: NI TestStand Development System 2.0p1
Language(s): Other

 
Filename: howtosetupnewthread.txt

Software Requirements


Language(s): Other

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).