Setting up a Database
- Aktualisiert2025-10-31
- 3 Minute(n) Lesezeit
Before you can use PAtools to create tests, you must set up a database to store your tests.
Restoring a Database Backup
To set up a database on a SQL Server, use PAexpress to restore a database backup.
You can restore the database backup that you were given. If you want to build an application, PAtools includes a database that you can use. The PAtools base application provides modules and templates to help you start building an application. If you want to use the base application, enable the Base Application option when installing PAtools. If installed, the database for the base application is in the PAtools application folder.
If you want to use the battery application, enable the PAtools Battery Software Suite option when installing PAtools.
-
Copy the database backup file to the machine where you installed the SQL
server.
- If you are using the database for the base application, copy P17206_06_BASE_<version>.zip from C:\Program Files (x86)\National Instruments\PAtools <version>\Base Application
- If you are using the database for the battery application, copy P17223_01_BATT_<version>.zip from C:\Program Files (x86)\National Instruments\PAtools <version>\Battery Application
- Open PAexpress.
-
Click the folder icon next to the Server field.
A Connecting to SQL Server window appears.Note If you cannot connect to the database, verify with your IT department that you have access rights to connect and restore the database.
- In the Connecting to SQL Server window, enter or select your Database server.
-
Click OK.
Note To restore a database backup, you must have access rights. If you cannot connect to the SQL server using PAexpress, verify with your IT department that you have the required access rights.The SQL Server appears in the left pane of PAexpress.
- Click Restore database.
- In the Select backup file field, click ... next to the Filename field.
-
Select the database backup file that you copied to the machine with the SQL
Server.
The Restore options section automatically populates with information about the database.
- Optional: In the Database name field, rename the restored database.
-
Click Restore.
A popup confirms successful restoration of the database.
-
Use PAconfigurator to ensure the appropriate PAtools users have administrator
rights for the database.
Refer to Manage Users for more information.
Importing a Database Module
Use PAconfigurator to import database modules.
- Open PAconfigurator.
- Click Development.
-
Right-click the location where you want to import a database module and select
Import.
For example, import a database module to Application Components.
- Select the database module that you want to import.
Verwandte Inhalte
- Setting Up the SQL Server
PAtools supports the Microsoft SQL Server as a database management system. All data configured in PAconfigurator and other PAtools applications is saved in a SQL database that the Microsoft SQL Server manages.
- Manage Users
Access the Users area to create new users, update existing user information, and assign users to user groups.
- SQL Server Management Studio