Isasanalyzer::activatedevicebyboard – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 34

Advertising
background image

Teledyne LeCroy

SASAnalyzer Object

28

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

ISASAnalyzer::ActivateDeviceByBoard

HRESULT ActivateDeviceByBoard (
[in] BSTR bstrFileName,
[in] nBoardIndex)

This function activates the target/device emulator.

Parameters

bstrFileName
BoardIndex (zero base)

Remarks

This activates the target/device emulator on the given board index using the give target/
device project. If the device is already activated on the given board, an error will be 
returned. 

Notes

1. You should set the port configuration by the SetPortConfiguration function before 

calling ActivateDeviceByBoard. 
If no port configuration is set, the default value is the running configuration.

2. This function is applicable when you want to activate the target/device emulator 

when you cascade Seirra (or STX) boards. When using only one Sierra (or STX) board, 
you can call the ActivateDevice function.

Advertising