Hi Garett,
You're going to need to make a single "File.Get...()" function call for each property stored in that 80 bytes. While it is possible to read those 80 bytes into a variable and parse the values from the variable, it's actually much simpler and no slower to request one property value after another directly from the file. Note that the File.Position moves automatically when you call a "File.Get...()" function.
When you call the method "File.GetNextBinaryValue(eDataType)" to read out numeric information stored in binary format, it returns the stored numeric value in a variant variable of the correct subtype (I32 or DBL). You can then happily MsgBox that value, as in:
MsgBox File.GetNextBinaryValue(eR64)
will output the numeric value stored in the file at File.Position as a binary 64 bit real (double).
If you want to read the raw ASCII characters directly from the file, for instance in the case of string properties, you just have to know how many bytes the string property is and use the
"File.GetCharacters(Bytes)" method. Again, this returns the string value in a variant variable of string subtype. You can also happily MsgBox this value also, as in:
MsgBox File.GetCharacters(10)
will output the 10 character string value stored in the file at File.Position.
Note that the DataPlugin API has 4 examples of how to create DataPlugins, with specific directions and helpful screenshots-- I recommend you look through these examples when getting started with DataPlugins.
Ask as you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments