You can create a shortcut you can click to have GainSeeker automatically open charts and execute other functions such as printing or emailing them. This topic applies to charts in the GainSeeker Charts module.
Contents [Hide] |
Include only parameters in the command line that you want GainSeeker to automatically execute.
For example, if you want to a create a shortcut in which GainSeeker opens a specified chart and leaves it open on the GainSeeker Charts window, you would not include the ExportType= or the Close parameter.
Replace words and characters shown in italics with the name of the item you want to open, and enclose the name with quotation marks as shown in the table.
For example, standard P-123 Length would be written like this with the Keys= parameter: Keys="P-123 Length"
Insert a blank space between parameters in the command line, similar to this example:
OpenType=1 Charts="201,207,210" ExportType=Printer Close
To have GainSeeker automatically: |
Add to target line: |
Notes |
|
OpenType=1 |
|
|
Charts="#,#,..." |
Replace each # symbol with a number representing the chart type you want. For multiple chart types, separate the chart type numbers with commas. For example, do this: Charts="1,4,6" to open a Control Chart, a Data Table, and a CuSum chart. Charts="1" would open only a Control Chart. See SPC Chart type numbers. |
|
Keys="Part Number" |
Keys="Process" will retrieve data for all part numbers associated with that process. Keys="Part Number||Process" will retrieve all data for only that part number/process combination. |
|
ShortRunIndex=# |
Replace # symbol for ShortRunIndex= with a number between 0–6 representing a traceability you have defined as a short run index, such as ShortRunIndex=4 . |
|
|
See Export parameters. |
|
ExportType=Printer |
|
|
ExportType=HTML |
|
|
ExportType=Email |
|
|
ExportType=EmailHTML |
|
|
ExportType=PowerBI |
Only available with GainSeeker Publish. See Power BI parameters. |
|
Export="filename" |
|
|
Export="emailaddress" |
Only available with GainSeeker Publish. See ExportList= to specify a list of email addresses. |
|
View |
See View. |
|
Silent |
|
|
Close |
|
To have GainSeeker automatically: |
Add to target line: |
Notes |
|
OpenType=2 |
|
|
Charts="#,#,..." |
Replace each # symbol with a number representing the chart type you want. For multiple chart types, separate the chart type numbers with commas. For example, do this: Charts="200,210,212" to open a Control Chart, aDPU chart, and a Cost chart. Charts="200" would open only a Control Chart. See DMS Chart type numbers. |
|
Keys="Process" or |
Keys="Process" will retrieve data for all part numbers associated with that process. Keys="Part Number||Process" will retrieve all data for only that part number/process combination. |
|
See Export parameters. |
|
|
ExportType=Printer |
|
|
ExportType=HTML |
|
|
ExportType=Email |
|
|
ExportType=EmailHTML |
|
|
ExportType=PowerBI |
Only available with GainSeeker Publish. See Power BI parameters. |
|
Export="filename" |
|
|
Export="emailaddress" |
Only available with GainSeeker Publish. See ExportList= to specify a list of email addresses. |
|
View |
See View. |
|
Silent |
|
|
Close |
|
Use this |
...for this SPC Chart type |
Use this |
...for this SPC Chart type |
1 |
Control Chart |
8 |
Scatter |
2 |
Histogram |
9 |
Trend |
3 |
Statistics List |
10 |
EWMA |
4 |
Data Table |
11 |
Moving Average |
5 |
Combination Chart |
12 |
Time Axis |
6 |
CuSum |
13 |
Normal Probability |
7 |
X-Bar/Moving Range/Range |
14 |
Performance Chart |
Use this |
...for this DMS Chart type |
Use this |
...for this DMS Chart type |
200 |
Control Chart | 211 |
DPU Yield |
201 |
Control - Detail | 212 |
DPU Cost |
202 |
Statistics List | 213 |
Pareto - Detail |
203 |
Data Table | 214 |
DPU - Detail |
204 |
Pareto - Defects as % of total defects | 215 |
OEE (overall) |
205 |
Pareto - Defects as % of total Sample size | 216 |
OEE Availability |
206 |
Pareto - Cost as % of Defect cost | 217 |
OEE Performance |
207 |
Pareto - Cost as % of Total cost | 218 |
OEE Quality |
208 |
Pareto - Defects per Unit | 219 |
OEE Combined |
209 |
Pareto - Sigma | 220 |
OEE Detail |
210 |
DPU |
If you use ExportType=Email or EmailHTML or HTML or Printer, GainSeeker creates the export file in your Windows TEMP path. This parameter is used to tell GainSeeker only the type of export to execute. If you select Printer, you do not need to additionally use the Export= parameter.
ExportType=Email
and ExportType=EmailHTML
will only send email if you have GainSeeker
Publish.
These parameters do not tell GainSeeker to direct the email to a specific
recipient. See the Export=
parameter below for information about sending the item to a specific
email recipient or the ExportList=
parameter for information about sending the item to a saved file listing
multiple email recipients.
When emailing charts, the email subject line will be the chart window
caption for the last chart drawn.
The difference between Email
and EmailHTML
is that EmailHTML
does not include attachments. Both formats include charts in the body
of the email message.
For ExportType=PowerBI, see Power BI parameters.
If you use Export="filename" and have
GainSeeker Publish, GainSeeker
exports the chart to the path and filename you specify (for example:
Export="Q:\reports\PN422.charts.htm").
Valid filename extensions are .htm,
.rtf, and .jpg.
If you do not have GainSeeker Publish, GainSeeker ignores the file
path and file name you specify, and a file of the specified type is
automatically created in your Windows TEMP path.
If your ExportType= is email, enter a valid email address for a single recipient after Export= (for example: Export="gainseeker@yahoo.com"). For multiple recipients, use ExportList= instead.
To send the item specified in the Open= and OpenType= parameters to multiple email recipients:
Fig. 1
Use the ExportType=Email parameter followed by the ExportList="filename" parameter. Include the name of the file you created that lists your email recipients, and include the path to that file.
Example: The parameters for emailing an item to a list of email names saved in a file as in Figure 1 above, would read similar to this (the location of the file name in this example is "c:\Users\bob\desktop\" and the file name is "email recipients list for PN61011.txt"):
ExportType=Email ExportList="c:\Users\bob\desktop\email recipients list for PN61011.txt"
(This would send emails to John, Betty, and Joan using the example above.)
Using the command line to send data to Power BI requires GainSeeker Publish.
If ExportType=PowerBI, you must use additional Power BI Account parameters:
PowerBIAppClientID=your_Application_Client_ID
PowerBIUsername=your_PowerBI_login_email
Please Note:
If your Power BI Account uses multi-factor authentication, you will
be prompted for your Microsoft login credentials once per GainSeeker
Charts session (unless your computer is already logged in to the Power
BI service). This may prevent you from running this command line unattended.
PowerBIPassword=your_PowerBI_login_password_encrypted
If your Power BI Account uses log in with password / single sign-on
(instead of multi-factor authentication), you should include this
parameter. Otherwise you will be prompted to enter a password.
Use the Password
Encryption utility to get the encrypted version of your Power
BI login password.
The encrypted password is a very long value, and
the resulting command line will be longer than the character limit
for a shortcut Target or Windows
Run window. To run this command
line, place the entire command line string into a Windows batch file
and then use the shortcut Target
or Windows Run window to run
this batch file.
You can also include these optional parameters:
PowerBIDataset=your_Dataset_name
This specifies the Power
BI Dataset where you want to send the data.
If not used, GainSeeker will use the default dataset name for the chart.
You can manually send the chart to Power BI to find this default dataset
name.
PowerBIAppend=option_number
This sets the Existing
dataset behavior.
For Add data to existing data,
you can omit this parameter or set this to 1.
For Replace existing data,
set this to 2.
Add the View parameter to your command line to have GainSeeker use Windows to launch the file executed by the ExportType= or the Export= parameter using the program that is associated with that file type.
Between your "Part Number" name and your "Process" name, you need to insert double pipe symbols like this: ||
Hold the SHIFT key and press the Pipe/backslash key (shown below) twice to create double pipes: