beautypg.com

Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 76

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

67

block size: Logical block length in bytes. Combined with the last lba parameter defines the
drive capacity. Default value is 512.

drive index: Specifies the zero-based index of the drive that is being emulated, so it can be
referenced in the future. Default value is 0. Note: Current version supports only one emulated
drive/device.

device index: Specifies the zero-based index of the device for which the drive is being
emulated. Default value is 0. Note: Current version supports only one emulated device.


The instruction accepts the Standard Inquiry Data for the drive as a Packet structure variable with an
array of data. The structure has to be declared in the script.
For an example of using the AddDrive instruction please refer to the DriveEmulation.usb3g sample script
included with the USB Protocol Suite.