Open topic with navigation

# Generate Diagnostics

You can configure all speaker identification-related tasks to generate a diagnostics file. The diagnostics file logs the task initialization, processing, and completion, along with any warnings.

To return diagnostic information for a task

- Include the `DiagLevel` and `DiagFile` parameters when you send the `AddTask` action. Set `DiagLevel` to a value greater than `0` to enable diagnostics. The higher the value, the more information is given. The largest value is `3`. Set `DiagFile` to the name of the file to write the diagnostic information to (if you do not set this parameter, HPE IDOL Speech Server automatically generates an output file name).

For example:

`http://localhost:15000/action=AddTask&Type=SpkIdEvalWav&File=C:\Data\Speech.wav&TemplateSet=speakers.ats&ClosedSet=False&Out=results.sid&DiagLevel=3&DiagFile=results.diag`

This action uses port `15000` to instruct HPE IDOL Speech Server, which is located on the local machine, to perform the `SpkIdEvalWav` task on the `Speech.wav` file and write the results to the `results.ctm` file and the diagnostics information to `results.diag`.

Note: The `SpkIdFeature`, `SpkIdSetAdd`, `SpkIdSetDelete`, and `SpkIdSetInfo` tasks do not support the creation of diagnostic files. However, the `SpkIdSetAdd`, `SpkIdSetDelete`, and `SpkIdSetInfo` tasks all generate a log file.

© 2013-2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm