Isasanalyzer:: stopgenerationbyport, Isasanalyzer:: gettrainerexitcode – Teledyne LeCroy SAS_SATA Automation API manual User Manual
Page 19

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite
13
SASAnalyzer Object
Teledyne LeCroy
ISASAnalyzer:: StopGenerationByPort
HRESULT StopGenerationByPort (
[in] int nBoardIndex,
[in] int nPortIndex);
This function stops generation on specified ports.
Parameters
nBoardIndex
Zero based index of board. If you have only one board, this
parameter should be set to zero.
nPortIndex
Port index where generation should stop.
Remarks
You can stop generation files on specific ports on the connected board. The difference
between this function and the StopGeneration function is that this one stops generation
on only specified ports while the StopGeneration function stops generation on all ports.
ISASAnalyzer:: GetTrainerExitCode
HRESULT GetTrainerExitCode (
[in] int nBoardIndex,
[in] int nPortIndex,
[out, retval] BYTE*pyTrainerExitCode);
This function returns SAS/SATA Protocol Suite exit code by board and port index.
Parameters
nBoardIndex
Zero based index of board. If you have only one board, this
parameter should be set to zero.
nPortIndex
Specifies the port index.
Remarks
Receives the board and port index and retrieves the exit code of the last running
generation. This function is normally called after generation is stopped to examine the
exit code of generation execution.