Jianchu,
Ah yes, that little bit of LabVIEW Magic is a trick I learned from
Jean-Pierre Drolet. GOOP Refnums are single-element enums wrapped in a datalog file refnum shell. The "Read File" function is used to access the contents of the datalog file refnum, effectively unwrapping the enum type. Once we have the enum type we can get the string value of its 0th item's name, which is the GOOP object name. There are other ways of doing this. You can read the Type Descriptor of the GOOP Refnum and parse it, but that would look even more complicated than the "Read File" trick. Th
e most simple option is use the "Get GOOP Object Type" VI of the OpenG Toolkit's
LabVIEW Data Tools Library. This uses the latter mechanism, and will make more sense on your block diagram.
Cheers,
-Jim