Parameters to open charts

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]

 

Tips

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.

For example, standard P-123 Length would be written like this with the Keys= parameter: Keys="P-123 Length"

OpenType=1 Charts="201,207,210"  ExportType=Printer Close

Command Line examples

To have GainSeeker automatically:

Add to target line:

Notes

  1. Draw SPC Charts...

OpenType=1

 

  1. ...of the types that you select...

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.

  1. ...for a specific part number (or a process in short-run mode)...

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.

  1. ...for a short-run index...

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 .

  1. ...then, send all of these charts to:

 

See Export parameters.

    • the printer

ExportType=Printer

 

    • HTML

ExportType=HTML

 

    • email with attachments

ExportType=Email

 

    • email with no attachments

ExportType=EmailHTML

 

    • Power BI

ExportType=PowerBI

Only available with GainSeeker Publish. See Power BI parameters.

    • a specific filename with file extension .htm  or .rtf  or .jpg

Export="filename"

 

    • a specific email address

Export="emailaddress"

Only available with GainSeeker Publish. See ExportList= to specify a list of email addresses.

  1. ...view (launch) the file associated with either export command above....

View

See View.

  1. ...suppress all error messages...

Silent

 

  1. ...then close the GainSeeker Charts module

Close

 

 

To have GainSeeker automatically:

Add to target line:

Notes

  1. Draw DMS Charts...

OpenType=2

 

  1. ...of the types that you select...

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.

  1. ...for a specific part number or part number and process...

Keys="Process" or
Keys="Part Number||Process"

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.

  1. ...then, send all of these charts to:

 

See Export parameters.

    • the printer

ExportType=Printer

 
    • HTML

ExportType=HTML

 
    • email with attachments

ExportType=Email

 
    • email with no attachments

ExportType=EmailHTML

 
    • Power BI

ExportType=PowerBI

Only available with GainSeeker Publish. See Power BI parameters.

    • a specific filename with file extension .htm  or .rtf  or .jpg

Export="filename"

 
    • a specific email address

Export="emailaddress"

Only available with GainSeeker Publish. See ExportList= to specify a list of email addresses.

  1. ...view (launch) the file associated with either export command above...

View

See View.

  1. ...suppress all error messages...

Silent

 

  1. ...then close the GainSeeker Charts module

Close

 

SPC Chart Types

Use this
number:

...for this SPC Chart type

Use this
number:

...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

DMS Chart Types

Use this
number:

...for this DMS Chart type

Use this
number:

...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

Export parameters

ExportType=

Export=

ExportList=

To send the item specified in the Open= and OpenType= parameters to multiple email recipients:

  1. First, create a .txt file of email recipients using a text editor such as NotePad if you have not already created one you would like to use (Fig. 1). Use a separate row for each email address recipient, then save the file:

Fig. 1

  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.)

Power BI parameters

Using the command line to send data to Power BI requires GainSeeker Publish.

If ExportType=PowerBI, you must use additional Power BI Account parameters:

You can also include these optional parameters:

View

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.

Keys="Part Number||Process"

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: