Functions | |
WIC Generic Functions | |
Common functions used in the WIC project | |
bool | wicGenericFunctions_init (const dyn_string dsDevices) |
bool | wicGenericFunctions_checkConfigurationMain (const string sSystem, const dyn_string dsDevices) |
void | wicGenericFunctions_scriptCounter (const string sDpe, const int iDelay) |
void | wicGenericFunctions_Busy (const bool bBusy) |
void | wicGenericFunctions_SendBinaryOrder (string sDevice, string sKey, string sDpe) |
void | wicGenericFunctions_SendValueOrder (string sDevice, string sKey, string sDpe, int iValue) |
void | wicGenericFunctions_SendIntegerOrder (string sCIWRA, string sDevice, string sAlias, string sDpe, int iValue) |
string | wicGenericFunctions_AliasToolTipText (const string sString) |
string | wicGenericFunctions_CircuitName (string aliases) |
void | wicGenericFunctions_setCIWLayer (const int iLen) |
void | wicGenericFunctions_setCIWRALayer (const int iLen) |
bool | wicGenericFunctions_Result_OK (const dyn_bool dbState) |
string | wicGenericFunctions_getWICType (const string sDpN) |
void | wicGenericFunctions_PeriphAddress_set (const string sPLC_name, const int iDriver, const string sDp, const string sDB, const int iBit, const int iMode, const int iType, dyn_string &exceptionInfoTemp) |
void | wicGenericFunctions_Status (const string sEl, const bool bVal, const bool bLogic, const bool bInvalid=FALSE, bool bForced=FALSE) |
void | wicGenericFunctions_Label (const string sEl, const string sText, const bool bVal, const bool bLogic) |
string | wicGenericFunctions_getColor (const bool bState, const bool bLogic, const bool bForced, const bool bInvalid) |
void | wicGenericFunctions_StatusDisconnection (string sShape) |
void | wicGenericFunctions_SendMultiBinaryOrder (string sDevice, string sKey, dyn_string dsDpe, dyn_bool dbPulse) |
void | wicGenericFunctions_SendMultiPulse (string sAlias, dyn_string dsDpe, dyn_bool dbPulse, dyn_string &exceptionInfo, bool &alreadySent) |
void | wicGenericFunctions_getInfoFromXML (const string sItem, const string sType) |
int | _wicGenericFunctions_getMagnet (const string sPowerConverter, dyn_string &dsMagnets) |
int | _wicGenericFunctions_getPowerConverter (const string sMagnet, dyn_string &dsPowerConverters) |
void | wicGenericFunctions_openLinkView (const string sItem, const string sType) |
int | wicGenericFunctions_get_PCMAGNETS_def (const string sFileName) |
bool | wicGenericFunctions_getWICTypeInfo (const string sDpN, bool &bCIBU, bool &bPoweringFailure, bool &bPowerSupply, bool &bSafety, bool &bCommand, bool &bFM352_1, bool &bFM352_2) |
bool | wicGenericFunctions_WICType (const string sType, const string sDpN, bool &bCIBU, bool &bPoweringFailure, bool &bPowerSupply, bool &bSafety, bool &bCommand, bool &bFM352_1, bool &bFM352_2) |
bool | wicGenericFunctions_isFM352_2 (const string sDpN) |
bool | wicGenericFunctions_isBeamPermit (const string sDpN) |
bool | wicGenericFunctions_isPowerSupply (const string sDpN) |
bool | wicGenericFunctions_isSafetyPLC (const string sDpN) |
bool | wicGenericFunctions_isPoweringFailure (const string sDpN) |
bool | wicGenericFunctions_isTestCommands (const string sDpN) |
int | wicGenericFunctions_checkValues (dyn_string dsValue) |
void | wicGenericFunctions_getValues (string sDpe1, string sPLCSWCONFIG, string sDpe2, string sPLCVERSION, string sDpe3, string sPVSSSWCONFIG, string sDpe4, string sPVSSVERSION) |
string | wicGenericFunctions_intTohex (int iValue) |
void | wicGenericFunctions_MenuConfiguration (string sDpName, string sDpType, dyn_string dsAccessOk, dyn_string &menuList) |
void | wicGenericFunctions_HandleMenu (string deviceName, string sDpType, dyn_string menuList, int menuAnswer) |
void | wicGenericFunctions_setValues (const dyn_string dsValue) |
int | wicGenericFunctions_setDefaultUser () |
int | wicGenericFunctions_sendAckPass (const string sDp) |
int | wicGenericFunctions_setDefaultMenu () |
int | wicGenericFunctions_upgrade () |
void | wicGenericFunctions_getTestModeAddresses (string sAddressA, string sAddressB, const string sAddressTest, dyn_string &dsAddresses) |
void | wicGenericFunctions_convertNanoSeconds (int iNanoLong, int &iMilli, int &iMicro, int &iNano) |
int | wicGenericFunctions_upgradeSPS () |
int _wicGenericFunctions_getMagnet | ( | const string | sPowerConverter, |
dyn_string & | dsMagnets | ||
) |
Get Magnet
int _wicGenericFunctions_getPowerConverter | ( | const string | sMagnet, |
dyn_string & | dsPowerConverters | ||
) |
Get Power Converter
string wicGenericFunctions_AliasToolTipText | ( | const string | sString | ) |
Get ToolTipText
void wicGenericFunctions_Busy | ( | const bool | bBusy | ) |
Manage Busy bar
bool wicGenericFunctions_checkConfigurationMain | ( | const string | sSystem, |
const dyn_string | dsDevices | ||
) |
Init the Check Configuration functions in background
int wicGenericFunctions_checkValues | ( | dyn_string | dsValue | ) |
Verify Version numbers
string wicGenericFunctions_CircuitName | ( | string | aliases | ) |
Get Circuit Name (vertical)
void wicGenericFunctions_convertNanoSeconds | ( | int | iNanoLong, |
int & | iMilli, | ||
int & | iMicro, | ||
int & | iNano | ||
) |
Get Milli, Micro, Nano seconds
int wicGenericFunctions_get_PCMAGNETS_def | ( | const string | sFileName | ) |
Get PC MAGNETS def
string wicGenericFunctions_getColor | ( | const bool | bState, |
const bool | bLogic, | ||
const bool | bForced, | ||
const bool | bInvalid | ||
) |
Get Color
void wicGenericFunctions_getInfoFromXML | ( | const string | sItem, |
const string | sType | ||
) |
Get Info from XML
void wicGenericFunctions_getTestModeAddresses | ( | string | sAddressA, |
string | sAddressB, | ||
const string | sAddressTest, | ||
dyn_string & | dsAddresses | ||
) |
Get Test mode address (ONLY FOR WIC LHC - CIBU test) !!! Transform the DB97.DBB88 to different DB97.DBX... addresses (used for the CIBU Tests)
void wicGenericFunctions_getValues | ( | string | sDpe1, |
string | sPLCSWCONFIG, | ||
string | sDpe2, | ||
string | sPLCVERSION, | ||
string | sDpe3, | ||
string | sPVSSSWCONFIG, | ||
string | sDpe4, | ||
string | sPVSSVERSION | ||
) |
Get Version, CRC
string wicGenericFunctions_getWICType | ( | const string | sDpN | ) |
Get WIC Type
bool wicGenericFunctions_getWICTypeInfo | ( | const string | sDpN, |
bool & | bCIBU, | ||
bool & | bPoweringFailure, | ||
bool & | bPowerSupply, | ||
bool & | bSafety, | ||
bool & | bCommand, | ||
bool & | bFM352_1, | ||
bool & | bFM352_2 | ||
) |
Get WIC Type Info
void wicGenericFunctions_HandleMenu | ( | string | deviceName, |
string | sDpType, | ||
dyn_string | menuList, | ||
int | menuAnswer | ||
) |
Handle Right Click Menu
bool wicGenericFunctions_init | ( | const dyn_string | dsDevices | ) |
Init values
string wicGenericFunctions_intTohex | ( | int | iValue | ) |
Convert int To hex
bool wicGenericFunctions_isBeamPermit | ( | const string | sDpN | ) |
Does Beam Permit OK ? Does the WIC system connected to a BIC system ?
bool wicGenericFunctions_isFM352_2 | ( | const string | sDpN | ) |
Does a FM352_2 = a second FM352 module exists ?
bool wicGenericFunctions_isPoweringFailure | ( | const string | sDpN | ) |
Does Powering Failure ?
bool wicGenericFunctions_isPowerSupply | ( | const string | sDpN | ) |
Does PowerSupply OK - Does the Redundant Power Supply monitored ? Need a specific card in the PLC
bool wicGenericFunctions_isSafetyPLC | ( | const string | sDpN | ) |
Does Safety PLC ?
bool wicGenericFunctions_isTestCommands | ( | const string | sDpN | ) |
Does Test Command ?
void wicGenericFunctions_Label | ( | const string | sEl, |
const string | sText, | ||
const bool | bVal, | ||
const bool | bLogic | ||
) |
Set Label
void wicGenericFunctions_MenuConfiguration | ( | string | sDpName, |
string | sDpType, | ||
dyn_string | dsAccessOk, | ||
dyn_string & | menuList | ||
) |
Manage right click menu configuration
void wicGenericFunctions_openLinkView | ( | const string | sItem, |
const string | sType | ||
) |
OpenLinkView
void wicGenericFunctions_PeriphAddress_set | ( | const string | sPLC_name, |
const int | iDriver, | ||
const string | sDp, | ||
const string | sDB, | ||
const int | iBit, | ||
const int | iMode, | ||
const int | iType, | ||
dyn_string & | exceptionInfoTemp | ||
) |
Set WIC S7 PeriphAddress
bool wicGenericFunctions_Result_OK | ( | const dyn_bool | dbState | ) |
Get Boolean result
void wicGenericFunctions_scriptCounter | ( | const string | sDpe, |
const int | iDelay | ||
) |
Increment Counter Dpe
int wicGenericFunctions_sendAckPass | ( | const string | sDp | ) |
Send Ack Pass command to the Safety PLC
void wicGenericFunctions_SendBinaryOrder | ( | string | sDevice, |
string | sKey, | ||
string | sDpe | ||
) |
Send Binary Order
void wicGenericFunctions_SendIntegerOrder | ( | string | sCIWRA, |
string | sDevice, | ||
string | sAlias, | ||
string | sDpe, | ||
int | iValue | ||
) |
Send Integer Order
void wicGenericFunctions_SendMultiBinaryOrder | ( | string | sDevice, |
string | sKey, | ||
dyn_string | dsDpe, | ||
dyn_bool | dbPulse | ||
) |
Send Multi Binary Order
void wicGenericFunctions_SendMultiPulse | ( | string | sAlias, |
dyn_string | dsDpe, | ||
dyn_bool | dbPulse, | ||
dyn_string & | exceptionInfo, | ||
bool & | alreadySent | ||
) |
Send Multi Pulse
void wicGenericFunctions_SendValueOrder | ( | string | sDevice, |
string | sKey, | ||
string | sDpe, | ||
int | iValue | ||
) |
Send Value Order
void wicGenericFunctions_setCIWLayer | ( | const int | iLen | ) |
Set Layer for CIW
void wicGenericFunctions_setCIWRALayer | ( | const int | iLen | ) |
Set Layer for CIWRA
int wicGenericFunctions_setDefaultMenu | ( | ) |
Set Default Menu
int wicGenericFunctions_setDefaultUser | ( | ) |
Set Default User
void wicGenericFunctions_setValues | ( | const dyn_string | dsValue | ) |
Set CRC, version values in panel
void wicGenericFunctions_Status | ( | const string | sEl, |
const bool | bVal, | ||
const bool | bLogic, | ||
const bool | bInvalid = FALSE , |
||
bool | bForced = FALSE |
||
) |
Set Status
void wicGenericFunctions_StatusDisconnection | ( | string | sShape | ) |
Status Disconnection
int wicGenericFunctions_upgrade | ( | ) |
Upgrade Dpe configuration (ONLY FOR WIC LHC - CIBU test) !!! used only to manage compatibilty between versions
int wicGenericFunctions_upgradeSPS | ( | ) |
Upgrade Dpe configuration (ONLY FOR WIC SPS)
bool wicGenericFunctions_WICType | ( | const string | sType, |
const string | sDpN, | ||
bool & | bCIBU, | ||
bool & | bPoweringFailure, | ||
bool & | bPowerSupply, | ||
bool & | bSafety, | ||
bool & | bCommand, | ||
bool & | bFM352_1, | ||
bool & | bFM352_2 | ||
) |
Get WIC Type