SCSI and TCL
Posted by solomon (solomon), 23 September 2003Hello All,
Does anybody know about SCSI extension to TCL? I need to be able to send low level SCSI commands (like inquery/read10/read16 etc) from TCL.
Any help will be appreciated.
Posted by admin (Graham Ellis), 23 September 2003Goodness - what on earth are you doing? I would tend to look at hooking in some C routines to Tcl and using Tcl as the controlling command language - the sort of thing that Tcl was designed for. I don't personally know of anyone who's done it with SCSI already though
Posted by solomon (solomon), 24 September 2003Hi Graham,
Thanks for the answer.
I try to have a multiplatform tool to test SCSI low level. I do have some "home made" C library that implements such commands and it is hooked with tcl. Two problems with that: 1. The library is not complete and doesn't cover the whole range of commands. 2. Non-portable.
I already have quite a few scripts written on this "hooked" tcl, so if I could find some standard extension, it'd be very helpful.
Posted by admin (Graham Ellis), 24 September 2003I would persevre with your C; sorry - but device drivers are not going to be portable across operating systems. I know it would be nice if someone had already written complete different suites for each major OS, but if they have I haven't come across it .... but then, I'm a specialist on open source languages and not SCSI
Other Forum Posts
SCSI and TCL
Follow us on ...
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: email@example.com • WEB: http://www.wellho.net • SKYPE: wellho