Link to home
Start Free TrialLog in
Avatar of bcrotaz
bcrotaz

asked on

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...
Avatar of BoRiS
BoRiS

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

Avatar of bcrotaz

ASKER

I'll take a look....
Avatar of bcrotaz

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of k6__
k6__

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial