Skip to content

Error when reading Ptr(s) #24

@si95mo

Description

@si95mo

Hi,
I'm trying to use this dll to write and read stdf files and I've recently incurred in this error.

  1. I write all the records to the file (this part seems OK)
  2. I read what I've previously written and here is where I get the possible error:
  • In the class StdfFile, method IEnumerable<StdfRecord> InternalGetAllRecords() I see that the strea, actually read the data correctly (converting by hand the byte array in the PTR fields seems to succeed), but when I call GetRecords() a lot of fields seems to be null, based on the values read.

Attached is the program I've used to do some tests (dummyPrt have just a couple of null fields, the realPtr many more)
StrdfDllProgram.zip


Edit:
It seems like that based on the value of optional, test and possibly parametric flag some values are not read. I mean, it seems like if test flag bit 1 = 1 then (from stdf spec) result is invalid if I'm not mistaken and this result in a null value in the field. Am I correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions