Python command: Corrective Actions

The Corrective Actions commands in Python allow you to retrieve corrective action values from the database.

See Python commands for other commands you can use with GainSeeker.

Syntax

Example

Description/Remarks

correctiveaction.actiontakenlist(onlyde)

print correctiveaction.actiontakenlist(False)

Returns the full list of SPC Action Taken descriptions. If onlyde is True, this only returns descriptions that appear in Data Entry.

correctiveaction.causelist(onlyde)

print correctiveaction.causelist(True)

Returns the full list of SPC Cause descriptions. If onlyde is True, this only returns descriptions that appear in Data Entry.

correctiveaction.dmseventlist()

mylist = correctiveaction.dmseventlist()

Returns the list of all DMS events that contain an Event Description.

correctiveaction.eventlist(onlyde)

print correctiveaction.eventlist(False)

Returns the full list of SPC Event descriptions. If onlyde is True, this only returns descriptions that appear in Data Entry.