?
Solved

Sending SCSI Commands

Posted on 1998-06-15
4
Medium Priority
?
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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