<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Instrument classes > class PSTATSELECT > Pstatselect.CreatePstat() |
Create a class PSTAT object of the appropriate type for the potentiostat selected by the user during Setup().
In order for the user to be able to select a potentiostat, a call to Pstatselect.Selector() needs to be passed to the Setup() function.
Pstat = Pstatselect.CreatePstat(Tag, Key)
Tag |
STRING |
The Tag associated with the Pstat object. Used by Setup(), Save/Restore. |
Key |
STRING |
The Key in the GAMRY.INI file which contains the information regarding the class of the selected potentiostat. |
Pstat |
PSTAT |
The PSTAT object. |