OPC Toolbox HDA troubleshooting utility
opc.hdaSupport('localhost') returns diagnostic information for all
OPC HDA 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
opc.hdaSupport( returns diagnostic
information for the OPC HDA servers installed on the host with name
HostName, and saves the text output to the file,
opcsupport.txt in the current directory. Then the file opens in the
editor for viewing.
returns the full path to the generated file and does not open the file in the editor for
viewing. This syntax can use any input arguments previously listed in earlier
outFile = opc.hdaSupport(___)
Get Diagnostics for All Servers on the Local Machine
Get Diagnostics for All Servers on Specified Machine
Save Diagnostic Information to Specified File
'HostName' — Machine hosting OPC server
'localhost' | other character vector or string
Machine hosting OPC servers, specified as a character vector or string.
'FileName' — File for output text
File for output text, specified as a character vector or string.
Fid — File identifier for open output file
file identifier for open output file, set by the MATLAB
Fid = fopen('MyOPCSupport.txt')
outFile — Path to file of results
Path to file of results, returned as a character vector.