The Managed Datasources grid blade contains the connection information for the CM4D Databases managed by a CM4D Site Database. You can create a new Managed Datasource, add an existing datasource, edit connection information and test connections. There can be one or more Managed Datasources within a Site, but a Managed Datasource cannot belong to more than one Site. Each Managed Datasource has its own settings relating to what/how data is generated for the CM4D Results database.
What is a CM4D Managed Datasource?What is a CM4D Managed Datasource?
Managed Datasources created in Site Manger (desktop CM4D application) appear here on Refresh, and Datasources created here in the CM4D Config plug will appear in Site Manager the next time the desktop application is opened.
![]() |
|
Actions | Click the three dots
to open the menu of available actions for the selected row.
|
Datasource | The label assigned to the Datasource. This may or may not be same as the label assigned as the database object in SQL Server. |
Version | The current schema version of the CM4D database. If no value is present, the database is new and must have scripts run before it can be used by CM4D. |
New Datasources can be added to the Site by clicking the Add button in the top right of the Site Management card. Enter the properties of the new Datasource in the form blade. The Add Datasource blade contains the same fields as the Datasource Properties blade, only in a more compact format.
A new complete CM4D datasource can be generated for you when you add a new Managed Datasource.
When adding a Managed Datasource you have the option to generate a new database. By checking the box Generate new DB, a database object is created using the information entered in the Add Datasource blade when you click Save. Creating the database requires sufficient user privileges, whether it is the user logged in to Security Manager (Windows Authentication) or the user entered in the fields (SQL Authentication).
The new Datasource is added to the Site database automatically, but without any user access privileges/rights. Assign access to the new database to the appropriate Groups/Roles.
Assign Rights to Database via Groups in Site Manager (Desktop Application)
Assign Rights to Databases via Roles in ATS Security (Web Application)
For alternate methods of creating/maintaining CM4D databases, see the topic Database Utilities.
The Datasource blade contains the connection details and Results database settings for the Managed Datasource.
To open the properties blade, use the action menu ( Open) or click directly on the grid row.
The Properties tab contains the connection details for the CM4D database. Modify properties as needed, check the connection and save the changes.
![]() |
|||
Check Connection | Once you have entered all required information, you can test the connection to the DataSource to verify that your information has been entered correctly.
If on save/check connection, the connection fails: Check the information for accuracy/typos - server name, database name, user login (if SQL) Check the authentication type is correct and is valid to access SQL Server |
||
Database Name | The label of the CM4D database, as defined in SQL Server. | ||
DataSource Name | A unique label to identify your CM4D datasource connection. This label is displayed in CM4D applications when selecting a datasource connection; it can be the same as the database name or something that would be more recognizable to users. | ||
Generate new DB | Enable this check box when adding a new Managed Datasource to the Site database. The user logged into the Configuration Manager must have sufficient privileges to run scripts in SQL Server. | ||
Image | Assign an image to the datasource. | ||
Server name | The name of the computer hosting the CM4D database. If using a named instance, include the instance name with the server name (servername\instancename). | ||
Site | Select a Site database from the dropdown. This is the Site that will manage the CM4D database. Typically, only one Site is used, but there may be more than one listed. | ||
Windows Authentication | Determines the connection security used by CM4D applications to connect to the CM4D database.
|
||
SQL Authentication | The following are only required if using SQL Authentication. | ||
SQL Username | Enter the user name of the SQL Login. This user login is used by the CM4D desktop applications to access the database. | ||
Password | Enter the password for the SQL user. | ||
Confirm Password | Re-enter the SQL user password to confirm it is correct. |
The Results Database tab contains settings related to how the Managed Datasource interacts with the Results Database, including excluding specific Routines and setting the Subgroups (default for the database or specific per Routine).
This section allows you to enable the transfer of data from CM4D to the Results database and select which Routines, if any, are to be completely excluded from the results generation and data transfer. This is enabled by default.
See the topic Configure Results Exclusions for more information.
Each Routine or Subroutine is assigned a Subgroup Size that is used when calculating statistics. The Results database is precalculated data, so settings like Subgrouping are applied at the time the Sample enters the Results database.
If you need to modify the Subgroup settings, all Sample data that is already in the Results database is not effected by any change until the relevant Sample data is removed from the database and regenerated using the new configuration.
The subgroup settings can be applied at two levels:
See also:
Subgroups in the Results Database
Select one of the following settings according to the requirements of the data:
If you have ten samples with three different creation dates (Build One, Build Two, Build Three and Build Four were created on 14-05-2016, then Build Five, Build Six, Build Seven, Build Eight and Build Nine are created on 28-05-2016, and Build Ten is created on 28-06-2016) and the Maximum Subgroup Size is set to four, then the data will be grouped into multiple subgroups of up to four, because of the specific order of the samples loaded.
The minimum number of subgroups for calculating Cpk is three, and the minimum number of values needed to calculate Cpk is ten.
Subgroups as related to statistical calculations; how subgroups are handled for calculating statistics. The subgroup settings and exceptions are applied when the results data is generated and the calculations are done. This means data subgroups are fixed and may give different calculations than CM4D Classic. Applications like Peruse rely on pre-calculated data, whereas in CM4D Classic/Interactive the calculations are done on the fly. Therefore, it is important to understand which rule set you want to have configured for the data going into your Results database, as this effects your final calculated values.
There are two options for determining how the statistics rules are calculated (although some rules share the same methods):
To see a comparison, click on the Rule name below:
With the exception of Ford Rules, CP values will be calculated using estimated standard deviation where appropriate when subgroups are used. Otherwise, calculated standard deviation is used which, will make CpK the same as PpK. In all cases, the appropriate equation values must be available for CM4D to calculate CP or PP values.
Default | Ford |
CM4D will calculate all CP and PP values having appropriate equation values present, such as specification limits, etc. |
Ford has both Run CP and Process Control CP values. Run CP values are calculated when:
Process CP values calculated when:
|
This is the value that will indicate a unilateral limit value. When the high or the low limit value is set to the implied unilateral value, then only the other value is valid. CM4D allows for document specific selections for the use and implied value of unilateral values that will override the defaults below. These defaults can be changed via the Document Default properties.
Default | Ford |
The default implied unilateral value is zero | The default implied unilateral value is -99999.99 |
Default | Ford |
CM4D will not calculate or supply zero for control limits for any control limit that can not normally fall below zero and the calculation for that control limit is below zero or cannot be calculated due to insufficient subgroup size. This applies to control limits for range, moving range, and standard deviation. This is a common sense change from prior versions of CM4D because establishing a control limit at zero for values that will never go below zero (such as range) does not make sense. | CM4D will not calculate or supply zero for invalid lower control limits for Range. |
Default | Ford |
The mid-third 40% rule is violated when more than 40% or fewer points are in the upper and lower third of the control limit region. | The mid-third 40% rule is violated when more than 40% or fewer points are in the upper and lower third of the control limit region. |
Default | Ford |
The mid-third 90% rule is violated when more than 90% of points are in the middle third of the control limit region. | The mid-third 90% rule is violated when more than 90% of points are in the middle third of the control limit region. |
Default | Ford |
1 or more points | 30 points |
Default | Ford |
1 or more points | 30 points |
Default | Ford |
1 or more points | 30 points |
Default | Ford |
1 or more subgroups are required | 20 subgroups are required |
Default | Ford |
1 or more subgroups are required | 20 subgroups are required |
Default | Ford |
The MSA% will not be displayed if the MSA has failed. | The MSA% will be shown even if the MSA has failed. |
Default | Ford |
CM4D will use a run sequence count of seven points in a row to flag an out of control condition for points on one side of the mean or points trending in an up or down direction. The default side of mean sequence count can be changed to 14 or 21 via the Routine or DataSet Properties. | CM4D will use a run sequence count of seven points in a row to flag an out of control condition for points on one side of the mean or points trending in an up or down direction. The default side of mean sequence count can be changed to 14 or 21 via the Routine or DataSet Properties. |
Default | Ford |
The multiplier is 3 | The multiplier is 2 |
Default | Ford |
CM4D will not supply missing subgroup values. | CM4D will supply missing subgroup values by substituting the mean of the subgroup for missing values when at least two values in the subgroup are valid and less than three values are missing or invalid and less than five percent of the values for all subgroups in a process are missing or invalid. Substituted values will be flagged with a "%" indicator when displayed in CM4D's grid. As masked values will appear as missing, they are treated as missing for the purpose of substitution. Values are masked when they are assigned a cause and the user chooses to mask the assigned value or values. |
See also:
Can we improve this topic?