ACOP.NET API
|
A non-GUI component which can be attached to one or more control system elements. More...
Classes | |
class | LinkContextConverter |
class | LinkDeviceConverter |
class | LinkFlagsConverter |
class | LinkPropertyConverter |
class | LinkProtocolConverter |
class | LinkServerConverter |
class | LinkSubSystemConverter |
Public Member Functions | |
int | Attach () |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object More... | |
int | Attach (object reference) |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object More... | |
int | Attach (object DataOut, object DataIn, int Flags, int interval, object reference) |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Attach (object DataOut, object DataIn, string Flags, int interval, object reference) |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Attach (object DataOut, int Offset, int Length, object DataIn, int Flags, int interval, object reference) |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Attach (object DataOut, int Offset, int Length, object DataIn, string Flags, int interval, object reference) |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Detach (String Protocol, String Address, String Property, object DataOut, object DataIn) |
Detaches the link specifed by the link parameters from the acop control. More... | |
int | Detach (String Address, String Property, object DataOut, object DataIn) |
Detaches the link specifed by the link parameters from the acop control. More... | |
int | Detach (String Protocol, String Address, String Property) |
Detaches the link specifed by the link parameters from the acop control. More... | |
int | Detach (String Address, String Property) |
Detaches the link specifed by the link parameters from the acop control. More... | |
int | Detach () |
Detaches all links attached to the acop control. More... | |
int | Execute () |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object More... | |
int | Execute (object DataOut, object DataIn, int Flags, int timeout) |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Execute (object DataOut, object DataIn, string Flags, int timeout) |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Execute (object DataOut, int Offset, int Length, object DataIn, int Flags, int timeout) |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | Execute (object DataOut, int Offset, int Length, object DataIn, string Flags, int timeout) |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. More... | |
int | GetDataTag () |
Gets the last data tag (if any) associated with the output data. More... | |
int | GetFlags (String flags) |
Gets the integer flag representation of the input flags string More... | |
object | GetLinkOutput () |
Returns the output data object bound to the default transport link More... | |
String [] | GetLinkOutputChannelNames () |
Returns a list of discovered channel names for the data bound to the default transport link (In case the transport link is bound to a multi-channel array). More... | |
double [] | GetLinkOutputXAxis () |
Returns the appropriate X-Axis for the data bound to the default transport link (for use in the chart) More... | |
double [] | GetLinkOutputYAxis () |
Returns the appropriate Y-Axis for the data bound to the default transport link (for use in the chart) More... | |
int | GetOutputCompletionLength () |
Gets the last delivered link output completion length. More... | |
Int32 | GetOutputDataAsInteger () |
get the last transfered data as an integer More... | |
double | GetOutputDataAsNumber () |
get the last transfered data as a number More... | |
string | GetOutputDataAsString () |
get the last transfered data as a string More... | |
string [] | GetOutputDataAsStringArray () |
get the last transfered data as a string array More... | |
object | GetOutputDataObject () |
Returns the output data object appropriate to the current link address More... | |
object | GetOutputDataObject (int instance) |
Returns the output data object appropriate to the current link address and given overload preference More... | |
int | GetStatus () |
Gets the current link status as an integer value More... | |
String | GetStatusString () |
Gets the current transport link status as a string More... | |
double | GetTimeStamp () |
Get the last link timestamp (as a UTC double). More... | |
void | LinkUpdateInvoker (Control control, acopUpdate updater, object sender, Link lnk) |
An invoker helper for cases where InvokeRequired is needed More... | |
int | Reassign (String Address, String Property) |
Reassigns the current bound default link to the address parameters given. More... | |
int | Reassign (String Context, String Server, String Device, String Property) |
Reassigns the current bound default link to the address parameters given. More... | |
void | Reset () |
Closes all monitored links. If AutoAttachLink is 'true' then the link currently bound to the component will re-link. More... | |
Properties | |
bool | AutoLinkAttach [get, set] |
if set to true, instructs ACOP to automatically monitor the data provided by LinkAddress and LinkProperty More... | |
int | AutoLinkCapacity [get, set] |
if non-zero, provides the requested data size to use when AutoLinkUpdate is set to true More... | |
int | DefaultMonitorInterval [get, set] |
the default monitoring interval in msec More... | |
String | LinkAddress [get, set] |
identifies the transport link target. The target end point is given by the LinkAddress and the LinkProperty. More... | |
String | LinkContext [get, set] |
the design-time browseable link context (part of the link address) More... | |
int | LinkDelay [get, set] |
gives a delay time in milliseconds to suspend the current thread following an auto attach More... | |
String | LinkDevice [get, set] |
the design-time browseable/editable link device (part of the link address) More... | |
String | LinkFlags [get, set] |
an optional design-time browseable flags set which can be applied to the underlying link More... | |
bool | LinkGrouped [get, set] |
if set to true, then multiple assigned links will fire a single receive event when all links have completed their update cycle More... | |
String | LinkInputValue [get, set] |
optional value to use as input for automatic links More... | |
String | LinkProperty [get, set] |
the design-time browseable/editable link property (suppliments the link address) More... | |
String | LinkProtocol [get, set] |
the link control system protocol More... | |
String | LinkServer [get, set] |
the design-time browseable link server (part of the link address) More... | |
String | LinkSubSystem [get, set] |
the design-time browseable link subsystem More... | |
Events | |
acopUpdate | acopLinkUpdate |
Occurs when the underlying monitored link has updated its data More... | |
A non-GUI component which can be attached to one or more control system elements.
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object
References AcopComponent.GetFlags().
Referenced by AcopComponent.Attach(), and AcopComponent.Reassign().
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object
reference | Any reference which should be returned in the link's update event |
References AcopComponent.Attach(), and AcopComponent.GetFlags().
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags |
interval | An update interval (or timeout) in milliseconds |
reference | Any reference which should be returned in the link's update event |
References Link.GetLinkId().
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags string (i.e. one of the values in the property grid) |
interval | An update interval (or timeout) in milliseconds |
reference | Any reference which should be returned in the link's update event |
References AcopComponent.Attach(), and AcopComponent.GetFlags().
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
Offset | A specific offset into the output data object (array) reference. Output data will begin filling at this offset. |
Length | The length of the output data object (array) which is to be filled in. |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags |
interval | An update interval (or timeout) in milliseconds |
reference | Any reference which should be returned in the link's update event |
References Link.GetLinkId().
|
inline |
Attaches a transport link to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
Offset | A specific offset into the output data object (array) reference. Output data will begin filling at this offset. |
Length | The length of the output data object (array) which is to be filled in. |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags string (i.e. one of the values in the property grid) |
interval | An update interval (or timeout) in milliseconds |
reference | Any reference which should be returned in the link's update event |
References AcopComponent.Attach(), and AcopComponent.GetFlags().
|
inline |
Detaches the link specifed by the link parameters from the acop control.
Protocol | Control system protocol |
Address | The link address |
Property | The link property |
DataOut | The output data object |
DataIn | The input data object |
Referenced by AcopMagnet.Dispose().
|
inline |
Detaches the link specifed by the link parameters from the acop control.
Address | The link address |
Property | The link property |
DataOut | The output data object |
DataIn | The input data object |
References AcopComponent.Detach().
|
inline |
Detaches the link specifed by the link parameters from the acop control.
Protocol | Control system protocol |
Address | The link address |
Property | The link property |
References AcopComponent.Detach().
|
inline |
Detaches the link specifed by the link parameters from the acop control.
Address | The link address |
Property | The link property |
References AcopComponent.Detach().
|
inline |
Detaches all links attached to the acop control.
Referenced by AcopComponent.Detach().
|
inline |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields. Will attempt to discover and use the default output data object
References AcopComponent.GetFlags().
Referenced by AcopComponent.Execute().
|
inline |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags |
timeout | timeout in milliseconds |
|
inline |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags string (i.e. one of the values shown in the property grid) |
timeout | timeout in milliseconds |
References AcopComponent.Execute(), and AcopComponent.GetFlags().
|
inline |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
Offset | A specific offset into the output data object (array) reference. Output data will begin filling at this offset. |
Length | The length of the output data object (array) which is to be filled in. |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags |
timeout | timeout in milliseconds |
|
inline |
Executes a single synchronous transport call to the link target contained in the LinkAddress and LinkProperty fields.
DataOut | A reference to the output data object which is to be filled |
Offset | A specific offset into the output data object (array) reference. Output data will begin filling at this offset. |
Length | The length of the output data object (array) which is to be filled in. |
DataIn | A reference to an input data object to be sent to the link address |
Flags | Any optional link flags string (i.e. one of the values shown in the property grid) |
timeout | timeout in milliseconds |
References AcopComponent.Execute(), and AcopComponent.GetFlags().
|
inline |
Gets the last data tag (if any) associated with the output data.
References Link.GetDataTag().
|
inline |
Gets the integer flag representation of the input flags string
flags |
Referenced by AcopComponent.Attach(), and AcopComponent.Execute().
|
inline |
Returns the output data object bound to the default transport link
References Link.GetOutputDataObject().
|
inline |
Returns a list of discovered channel names for the data bound to the default transport link (In case the transport link is bound to a multi-channel array).
References Link.GetOutputChannelNames().
|
inline |
Returns the appropriate X-Axis for the data bound to the default transport link (for use in the chart)
References Link.GetOutputXAxis().
|
inline |
Returns the appropriate Y-Axis for the data bound to the default transport link (for use in the chart)
References Link.GetOutputYAxis().
|
inline |
Gets the last delivered link output completion length.
References Link.GetOutputCompletionLength().
|
inline |
get the last transfered data as an integer
References Link.GetOutputDataAsInteger().
|
inline |
get the last transfered data as a number
|
inline |
get the last transfered data as a string
References Link.GetOutputDataAsString().
|
inline |
get the last transfered data as a string array
References Link.GetOutputDataAsString().
|
inline |
Returns the output data object appropriate to the current link address
|
inline |
Returns the output data object appropriate to the current link address and given overload preference
instance | the desired overload |
|
inline |
Gets the current link status as an integer value
References Link.GetStatus().
|
inline |
Gets the current transport link status as a string
References Link.GetStatusString().
|
inline |
Get the last link timestamp (as a UTC double).
References Link.GetTimeStamp().
|
inline |
|
inline |
Reassigns the current bound default link to the address parameters given.
Address | the desired new target link address |
Property | the desired new target link property |
References AcopComponent.Attach().
Referenced by AcopComponent.Reassign().
|
inline |
Reassigns the current bound default link to the address parameters given.
Context | the desired new target link context |
Server | the desired new target link server |
Device | the desired new target link device |
Property | the desired new target link property |
References AcopComponent.Reassign().
|
inline |
Closes all monitored links. If AutoAttachLink is 'true' then the link currently bound to the component will re-link.
Referenced by AcopUtils.ResetAcopLinks().
|
getset |
if set to true, instructs ACOP to automatically monitor the data provided by LinkAddress and LinkProperty
|
getset |
if non-zero, provides the requested data size to use when AutoLinkUpdate is set to true
|
getset |
the default monitoring interval in msec
|
getset |
identifies the transport link target. The target end point is given by the LinkAddress and the LinkProperty.
|
getset |
the design-time browseable link context (part of the link address)
|
getset |
gives a delay time in milliseconds to suspend the current thread following an auto attach
|
getset |
the design-time browseable/editable link device (part of the link address)
|
getset |
an optional design-time browseable flags set which can be applied to the underlying link
|
getset |
if set to true, then multiple assigned links will fire a single receive event when all links have completed their update cycle
|
getset |
optional value to use as input for automatic links
|
getset |
the design-time browseable/editable link property (suppliments the link address)
|
getset |
the link control system protocol
|
getset |
the design-time browseable link server (part of the link address)
|
getset |
the design-time browseable link subsystem
acopUpdate acopLinkUpdate |
Occurs when the underlying monitored link has updated its data