Gang Programmer API
The Gang Programmer API commands are available by including the gxGangAPI2.h in the script.
gxCreateGangProgrammer(string sCustomName, string[] lstExistingDeviceNames)
Creates a gang programmer from several connected programmers.
Parameters:
sCustomName - name of the gang programmer (f.i. "Gang Programmer1").
lstExistingDeviceNames - list of connected programmer names.
ragxSetCurrentEndDeviceByCustomName(string sCustomName)
Select the gang programmer by its name. The name can be obtained by a device selector inside the GalepX software.
Parameters:
sCustomName - name of the gang programmer (f.i. "Gang Programmer1").
ragxIsGangDevice(string sDocId) : bool
Checks whether the programmer attached to a certain device window is a gang programmer or not.
Parameters:
sDocId - device window name, f.i. "document0", "document1" etc.
ragxEnterGangMode(string sDocId)
Enters gang mode for the given device window.
Parameters:
sDocId - device window name, f.i. "document0", "document1" etc.
ragxExitGangMode(string sDocId)
Exits gang mode for the given device window; sets the document back to "normal" operation mode.
Parameters:
sDocId - device window name, f.i. "document0", "document1" etc.
ragxGangItemCount() : int
Returns the number of single programmers of the current gang programmer.
ragxGangItemState(int iIdx) : int
Returns the state of a single programmer in the gang programmer cascade.
Returns:
0 - idle; 1 = busy; 2 = success; 3 = failed.
Parameters:
ildx - number of the programmer, starting with 0.
ragxGangItemStateIp(string Ip) : int
Returns the state of a single programmer in the gang programmer cascade by its IP address.
Returns:
0 - idle; 1 = busy; 2 = success; 3 = failed.
Parameters:
Ip - IP address string.
ragxGangItemStartAction(int iIdx, string sActionId)
Starts an action on a single programmer in the gang programmer cascade.
Parameters:
ildx - number of the programmer, starting with 0.
sActionId - name of the action, f.i. "saVerify", "saProgram", "saErase", "saBlankCheck", "saUserCancel".
ragxGangItemStartActionlp(string lp, string sActionId)
Starts an action on a single programmer in the gang programmer cascade, by the programmer's IP address.
Parameters:
Ip - IP address string.
sActionId - name of the action, f.i. "saVerify", "saProgram", "saErase", "saBlankCheck", "saUserCancel".
ragxGangItemIp(int iIdx) : string
Returns the IP address of a single programmer in the gang programmer cascade.
Returns:
IP address string.
Parameters:
ildx - number of the programmer, starting with 0.
See also:
gxStartAction
► latest version online