Getting Started - Medium Level
This How-To aims at describing how to set up one
system on one
PC. Before starting, install a minimalistic CS
system according to Getting Started - Basic Level
. The main difference to the basic level is the setting up of the configuration database. The connection to the database is realized via ODBC. Therefore, the actions in THIS How-To require a Windows OS.
Download and Installation
- Download and install the following packages.
- If desired, copy the file ...\LV820\GPL\Projects\cs-framework\CS_process.mdb to a folder where you keep other setting files as well.
- Configure the ODBC Data Source. At this step, just do the following.
- Choose a unique name for your CS system.
- Add a configuration of one object of the SuperProc class "SYSTEMNAME\Super" into the database. Example: if your SYSTEMNAME (in the CS_Start.vi you enter this at the control "systemID") is "mySystem", your SuperProc object must have the name "mySystem\Super". Most conveniently, you use the CSDBTools -> mark the "SuperProc" class -> mark the the demo object "TestSystem\Super" -> do "Create instances with default values" to create a copy of "TestSystem\Super"->Change the name to "mySystem\Super".
- Add the configuration of a few objects of the class BaseProcss into the database.
Check for DIM installation and configuration before you continue!
- Make sure that your SQLServer is running
- Browse to "ROOTPATH\binaries\CSSqlServer"
- Run CSSqlServer.exe
- For runtime systems:
- Browse to "ROOTPATH\binaries\CS"
- Run CS.exe
- For development system:
- Open LabVIEW
- Open the "ROOTPATH\LV820\GPL\Projects\cs-framework\CSClass\CS_Start.vi"
- Clear the text field "domainName"
- Enter the SYSTEMNAME in "systemID"
- Enter the name of your ODBC data source
- Enter the node of your CSSqlServer (if empty it will be assumed to be the local node)
- Press "Set"
- CS will now start
- Have a look at the Object Inspector
- Have a look at the General Object GUI. Try to add and create the objects of the BaseProcess class you have configured previously.
- 15 Sep 2006