The following libraries are included with the Fluent as a Server SDK and are used to communicate between the IronPython Master running in Workbench or Simplorer and the Fluent and OLGA clients.
In order to communicate with a running Fluent as a Server session from the IronPython Master, it is necessary to load one of the pre-built .NET DLLs supplied with the Fluent as a Server SDK. Refer to Using the Pre-Built .NET Connector for additional information about the Fluent as a Server interfaces and the available DLLs.
IronPython clients running in either ANSYS Workbench or ANSYS Simplorer connect to
the OLGA OPC Connector through classes and methods defined in the file
DotNetCoOpcUnit.dll and structures defined in
AasCoOpcUnit.dll.
DotNetCoOpcUnit.dll
DotNetCoOpcServer
DotNetCoOpcServer();constructor for DotNetCoOpcServer objects
ConnectToServerFromIorFile(string
p_stringIorFile);connect to the remote OLGA OPC server with OLGA
aaS key
p_stringIorFile
getStatusReport();returns a status report from OLGA
DotNetOPCItemMgmt
AddGroup(string
p_stringGroupName);create an OPC group named
p_stringGroupName
RemoveGroup(DotNetOPCItemMgt
p_dot_netOPCItemMgt);remove the OPC group named
p_dot_netOPCItemMgt
DotNetOlgaBrowseServerCommands
getOLGABrowseServerCommands();retrieve a browser of OLGA commands
DotNetOLGACommandProperties
getOLGACommandProperties();retrieve a browser of OLGA command properties
DotNetOPCItemProperties
getOPCItemProperties();retrieve a browser of OPC item properties
DotNetOPCBrowseServerAddressSpace
getOPCBrowseServerAddressSpace();retrieve a browser of OPC Server address space
DotNetOPCBrowseServerAddressSpace
BrowseOPCItemIDs();retrieve OPC item IDs from OLGA
DotNetOlgaBrowseServerCommands
BrowseCommandIDs();retrieve a list of OLGA command IDs
DotNetOLGACommandProperties
GetCommandPropertiesReport(string
p_stringCommandID);retrieve a command properties report for the OLGA
command
p_stringCommandID
DotNetOPCItemProperties
GetItemPropertiesReport(string
p_stringItemID);retrieve an item properties report for the OPC
item p_stringItemID
DotNetOPCItemMgt
DotNetIOPCSyncIO
bool
ReadItemAsBool(int
p_iOPCHandle);
|
void
WriteItemAsBool(int
p_iOPCHandle, int
p_iComType, bool
p_Value);
|
bool[]
ReadItemAsBoolArray(int
p_iOPCHandle);
|
void
WriteItemAsBoolArray(int
p_iOPCHandle, int
p_iComType, bool[]
p_aValues);
|
double
ReadItemAsDouble(int
p_iOPCHandle);
|
void
WriteItemAsDouble(int
p_iOPCHandle, int
p_iComType, double
p_Value);
|
double[]
ReadItemAsBoolArray(int
p_iOPCHandle);
|
void
WriteItemAsDoubleArray(int
p_iOPCHandle, int
p_iComType, double[]
p_aValues);
|
int
ReadItemAsLong(int
p_iOPCHandle);
|
void
WriteItemAsLong(int
p_iOPCHandle, int
p_iComType, int
p_Value);
|
int[]
ReadItemAsLongArray(int
p_iOPCHandle);
|
void
WriteItemAsLongArray(int
p_iOPCHandle, int
p_iComType, int[]
p_aValues);
|
string
ReadItemAsString(int
p_iOPCHandle);
|
void
WriteItemAsString(int
p_iOPCHandle, int
p_iComType, string
p_Value);
|
string[]
ReadItemAsStringArray(int
p_iOPCHandle);
|
void
WriteItemAsStringArray(int
p_iOPCHandle, int
p_iComType, string[]
p_aValues);
|
string
ReadStringifiedItem(int
p_iOPCHandle);
|
void
WriteStringifiedItem(int
p_iOPCHandle, int
p_iComType, string
p_Value);
|
AasCoOpcUnit.dll
ICoOpcUnitErrorStructure for exceptions returned from the OPC connection to OLGA
long
m_iCode; |
long
m_stringDescription; |
long
m_stringInterfaceName; |
long
m_stringMoreInfo; |
long
m_stringName; |
long
m_stringOperation; |
long
m_stringScope; |
IOItemStructure for items in OLGA. To add items, see public AAS_CORBA.OPC.IOItem
AddItem(string
p_stringItemName);. To
read/write items, see public class DotNetIOPCSyncIO.
long
m_iCOMType |
long
m_iOPCHandle |
string
m_stringItemId |