Directories on the SD card

  • Follow


I have been creating directories as outlined on page 18-4 in the
User's manual and storing data files within them.  These files are
available to the HP50 and my PC (using a card reader).  The problem
begins when I try to verify the directories' existence using 3:TEST
VTYPE.  The result should be 15 and is for the first directory
created in this manner, but the return for the rest of the
directories has been -1.  Only the first created directory returns
the expected variable type of 15. Is anyone else having this
problem, or am I misunderstanding how this should work.

0
Reply jtmoog 12/4/2006 3:42:34 PM

Sorry I can't be more detailed, but my experiments with SD card
directories indicates that things are very, very strange!  I couldn't
delete directories, run a VLIST command, etc...

I wouldn't be surprised if the VTYPE command isn't supported in this
setting.


jtmoog wrote:
> I have been creating directories as outlined on page 18-4 in the
> User's manual and storing data files within them.  These files are
> available to the HP50 and my PC (using a card reader).  The problem
> begins when I try to verify the directories' existence using 3:TEST
> VTYPE.  The result should be 15 and is for the first directory
> created in this manner, but the return for the rest of the
> directories has been -1.  Only the first created directory returns
> the expected variable type of 15. Is anyone else having this
> problem, or am I misunderstanding how this should work.

0
Reply gerheim 12/4/2006 3:48:16 PM


Hello

If you copy or move entire directory from your calculator's home (RAM) in to
SD's root
you will be able to test the type of those files by using:
:3:directoryname VTYPE

if you created DOS directories or subdirectories and put your files or HP
directory in there you must supply the correct path
:3:{directory subdir filename} VTYPE
directory and subdir should be valid names of directories where your file
'filename' is stored.

If you try to check the type (VTYPE) of DOS directory you get an error.
DOS directories are not HP objects.

At this time you can't browse trough HP directory objects on SD, like you
would with DOS directories.

i hope this helps
manjo


0
Reply manjo 12/4/2006 4:37:40 PM

oh i forgot...
(i was testing some directory names which had the same name as
commands -that's why i was getting the error)

BUT if you try to check DOS directory using path syntax :
:3:{ directory } VTYPE
-you should get : -1 for sure

Maybe your other directories are realy not the *same* after all.
(15. is type for HP directory, DOS directory is not HP object that's why -1)

manjo


0
Reply manjo 12/4/2006 4:50:09 PM

Think the SD card as an external near-line tape-drive
It's limited in functionality but ublimited as a storage device
You can even start programs from it
(they are internally "downloaded" to RAM for execution)
Manjo explained a lot more..

<gerheim@cox.net> wrote in message 
news:1165247296.586985.267480@j72g2000cwa.googlegroups.com...
> Sorry I can't be more detailed, but my experiments with SD card
> directories indicates that things are very, very strange!  I couldn't
> delete directories, run a VLIST command, etc...
>
> I wouldn't be surprised if the VTYPE command isn't supported in this
> setting.
>
>
> jtmoog wrote:
>> I have been creating directories as outlined on page 18-4 in the
>> User's manual and storing data files within them.  These files are
>> available to the HP50 and my PC (using a card reader).  The problem
>> begins when I try to verify the directories' existence using 3:TEST
>> VTYPE.  The result should be 15 and is for the first directory
>> created in this manner, but the return for the rest of the
>> directories has been -1.  Only the first created directory returns
>> the expected variable type of 15. Is anyone else having this
>> problem, or am I misunderstanding how this should work.
> 


0
Reply Veli 12/5/2006 3:08:46 AM

4 Replies
77 Views

(page loaded in 0.058 seconds)

Similiar Articles:













7/10/2012 4:07:14 PM


Reply: