Main Content

opcsupport

OPC HDA troubleshooting utility

Description

opcsupport('localhost') returns diagnostic information for all OPC HDA servers installed on the local machine The function saves the output text to the file opcsupport.txt in the current folder and opens it in the editor for viewing.

example

opcsupport(hostName) returns diagnostic information for the OPC HDA servers installed on the host with name specified in hostName.

example

opcsupport(hostName,fileName) saves the text output to the file specified in fileName in the current folder.

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

example

Examples

collapse all

opcsupport('localhost')
opcsupport('area1')
opcsupport('area1','myfile.txt')

Input Arguments

collapse all

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

Data Types: char | string

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

Data Types: char | string

Output Arguments

collapse all

Path to file containing the diagnostic information, returned as a character vector.

Version History

Introduced before R2006a

See Also

Functions