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
the current folder. Then the file opens in the editor for viewing.
diagnostic information for the OPC HDA servers installed on the host
HostName, and saves the text output to
opcsupport.txt in the current directory.
Then the file opens in the editor for viewing.
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 syntaxes.
outFile = opc.hdaSupport(___)
'HostName'— Machine hosting OPC server
'localhost'| other character vector
Machine hosting OPC servers, specified as a character vector.
'FileName'— File for output text
File for output text, specified as a character vector.
Fid— File identifier for open output file
Fid = fopen('MyOPCSupport.txt')
outFile— Path to file of results
Path to file of results, returned as a character vector.