Main Content

opc.daSupport

(To be removed) OPC data access troubleshooting utility

Support for the OPC Data Access (DA) standard will be removed in a future release. Instead use OPC Unified Architecture (UA). See Version History.

Description

opc.daSupport('localhost') returns diagnostic information for all OPC data access servers installed on the local machine, and saves the output text to the file opcsupport.txt in the current folder. Then the file opens in the editor for viewing.

example

opc.daSupport('HostName') returns diagnostic information for the OPC servers installed on the host with name HostName, and saves the output text to the file opcsupport.txt in the current folder. Then the file opens in the editor for viewing.

example

opc.daSupport('HostName','FileName') returns diagnostic information for the host with the name HostName, and saves the output text to the file FileName in the current folder. Then the file opens in the editor for viewing.

example

opc.daSupport('HostName',Fid) appends its output information to the file already opened with fopen. The Fid argument must be a valid file identifier.

outFile = opc.daSupport(___) returns the full path to the generated file and does not open the file in the editor for viewing.

Examples

collapse all

opc.daSupport('localhost')
opc.daSupport('area1')
opc.daSupport('area1','myfile.txt')

Input Arguments

collapse all

Machine hosting OPC servers, specified as a character vector or string.

Data Types: char | string

File name for output text, specified as a character vector or string.

Data Types: char | string

Example: Fid = fopen('MyOPCSupport.txt')

Output Arguments

collapse all

Path to file of results, returned as a character vector.

Version History

Introduced in R2013a

expand all

See Also

Functions