Sending SCSI Commands

I have a piece of hardware hangin on a SCSI bus.  It has a SCSI API.  How do I send commands to ( and receive responses from ) the SCSI bus?

If there is an interface VCL, it would be appreciated, or just info on how to do it, as it should really be threaded...
LVL 1
bcrotazAsked:
Who is Participating?
 
k6__Connect With a Mentor Commented:
Get the Aspi Demo which it Shows How to Control ASPI and SCSI.
Work under Delphi 3 =)

Ftp Address To Get The Unit :
ftp.cdrom.com/pub/delphi/ftp/d30free/aspidemo.zip

Hope That Helped =)

0
 
BoRiSCommented:
bcrotaz

have you tried using the DeviceIOControl API Call...

The DeviceIoControl function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.

use Creatfile etc to talk to the device use DeviceIOControl...

Later
BoRiS

0
 
bcrotazAuthor Commented:
I'll take a look....
0
 
bcrotazAuthor Commented:
Sorry Boris, I have no clue how to use the command to talk to an Adaptec 2940 card to send a SCSI command to a particular LUN/ID device.
0
All Courses

From novice to tech pro — start learning today.