11-04-2011 09:11 AM
The VI "C:\Program Files\National Instruments\LabVIEW 2011\vi.lib\Utility\GetType.llb\Get Type Code from I16 Array.vi" takes a type descriptor in and outputs an enum that indicates the type. However it doesn't handle fixed point numeric types, returning "bad wire" as the type.
11-04-2011 09:29 AM
Thats the dangerous part about digging into vi.lib. Lots of useful functions can be found but the documentation does not contain information on what the SCOPE of the functions are. I this case the vi in question is probably demoted in favor of a newer method in fxp and left for backward compatability. it likely predates the fixed point functions that were added around 7.0
11-04-2011 10:30 AM - edited 11-04-2011 10:32 AM
I think that the GetType.llb functions are now replaced with the VariantType.lvlib library.
The old library provides backwards compatability. The newer library has support for fixed point and timestamp data.
vi.lib\Utility\VariantDataType\VariantType.lvlib
The OpenG Variant library is being updated to support the newer datatypes.
http://lavag.org/topic/15029-openg-labview-data-library-41016-release/
You may be interested in this post on LAVA w/r/t rolling your own "format anything" code: