Solved

Sending SCSI Commands

Posted on 1998-06-15
4
315 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now