comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Tape drives and Sun UNIX
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Tape drives and Sun UNIX [message #1857] Thu, 24 March 1994 00:19 Go to previous message
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
In article qhn@nps.navy.mil, olsen@physics.nps.navy.mil (Chris Olsen) writes:
> In article 72u@paperboy.gsfc.nasa.gov, dug@aol7.wff.nasa.gov (Doug Vandemark 2038) writes:
>>
>> An Idl I/O question:
>> Is it possible to read data from a tape device
>> under the SUN 4.1.1 OS (UNIX) by using standard
>> IDL IO functions open,read etc..?
>>
> I've done it on my sgi - just treated '/dev/tape' as a fileneame,
> and had no problem doing the following:
> openw, 2, 'filename'
> printf, 2, .....
> close, 2
>
> openr, 2, 'filename'
> readf,2, .....
> close, 2
>
> this was with the built in DAT drive - i have not tried the sun cartridge tape
>
> rc olsen
>


I did the same, but it did NOT work when reading/writing records
exceeding 8 kb. However it will work with
openr, unit, '/dev/rst1', /get_lun, /nostdio
readu, record, transfer_count=transfer_count

Karl

____________________________________________________________ __________________
__ ____ __
/ // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922
/ // /_/ // / University of Hannover fax: +49 511 - 762 2483
/ // ____// / Institute for Photogrammetry
/ // / / / Nienburger Str.1
/_//_/ /_/ FRG 30167 Hannover 1 email: knipp@ipi.uni-hannover.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Interface, Widget, Motif questions
Next Topic: Positioning PostScript ouput, IDL Widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:24:53 PDT 2025

Total time taken to generate the page: 0.16065 seconds