26 sendtaskmgmcommand(), Ommand – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual
Page 50
Advertising
![background image](/manuals/353604/50/background.png)
50
9.26 SendTaskMgmCommand()
This function specifies to send a selected Task Management Command event to the script.
Format :
SendTaskMgmCommand( Function, Field Name, Field Value, Nexus Info);
Parameters
Function
Function code of the Task Management Command event:
_ANY
0x01 : Abort Task
0x02 : Abort Task Set
0x04 : Clear Task Set
0x08 : Logical Unit Reset
0x10 : IT Nexus Reset
0x40 : Clear ACA
0x80 : Query Task
0x81 : Query Task Set
0x82 : Query Asynchronous Event
Field Name
Refer to
Field Value
Refer to
Nexus Info
Refer to
Example
…
SendTaskMgmCommand (_ANY);
SendTaskMgmCommand (0x01); # Abort task.
Advertising