HP 50g using datasets from SD card
|
05-17-2020, 01:21 AM
Post: #3
|
|||
|
|||
RE: HP 50g using datasets from SD card
You may find it possible to put your data in an ascii file on the SD card, and then recalling the data as a string onto the stack. You could then execute the RPL command STR→ to convert it into something that could then be accessed in a program, either iteratively or by index.
If your data is a series of numbers, you could perhaps use a list format or possibly an array or matrix format as appropriate. You may need to split the data up into several different string objects, depending on how much memory is required for the combination of the ascii representation + the converted data. Some general formats for possible data formats are as follows. LIST: "{ obj1 obj2 obj3 ... }" ARRAY: "[ num1 num2 num3 ... ]" MATRIX: "[ [ num1 num2 num3 ] [ num4 num5 num6 ] [ num7 num8 num9 ] ]" Once compiled by STR→, the object could be stored in native format as needed to a variable (either in main memory, flash, or SD card). While it's possible to write the data in the appropriate binary format (the object formats are fully documented), it would almost certainly be easier to just have the calculator do it for you with STR→. In any event, you will be limited by the amount of addressable memory in the calculator, which may end up being your largest obstacle if the dataset is very large. How large is the dataset you are converting? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP 50g using datasets from SD card - Cristi Neagu - 05-16-2020, 11:29 PM
RE: HP 50g using datasets from SD card - cdmackay - 05-17-2020, 01:19 AM
RE: HP 50g using datasets from SD card - DavidM - 05-17-2020 01:21 AM
RE: HP 50g using datasets from SD card - Cristi Neagu - 05-17-2020, 01:40 AM
RE: HP 50g using datasets from SD card - DavidM - 05-17-2020, 02:30 AM
RE: HP 50g using datasets from SD card - Cristi Neagu - 05-17-2020, 10:49 AM
RE: HP 50g using datasets from SD card - John Keith - 05-17-2020, 09:37 PM
RE: HP 50g using datasets from SD card - Cristi Neagu - 05-17-2020, 09:43 PM
RE: HP 50g using datasets from SD card - brickviking - 05-19-2020, 04:44 AM
RE: HP 50g using datasets from SD card - cyrille de brébisson - 05-19-2020, 05:50 AM
RE: HP 50g using datasets from SD card - grsbanks - 05-19-2020, 06:08 AM
RE: HP 50g using datasets from SD card - John Keith - 05-19-2020, 05:16 PM
RE: HP 50g using datasets from SD card - DavidM - 05-20-2020, 05:02 AM
|
User(s) browsing this thread: 1 Guest(s)