Solved

Sending SCSI Commands

Posted on 1998-06-15
4
321 Views
Last Modified: 2010-04-04
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...
0
Comment
Question by:bcrotaz
  • 2
4 Comments
 
LVL 4

Expert Comment

by:BoRiS
ID: 1352730
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
 
LVL 1

Author Comment

by:bcrotaz
ID: 1352731
I'll take a look....
0
 
LVL 1

Author Comment

by:bcrotaz
ID: 1352732
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
 
LVL 2

Accepted Solution

by:
k6__ earned 100 total points
ID: 1352733
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question