02-13-2006 10:21 AM
02-14-2006 02:47 AM
02-14-2006 09:54 AM
To add to what David said... the Database Connectivity Toolkit converts any datatype that doesn't have a direct equivalent in the database management system to a binary format. Each database management system does have a binary datatype -- Access has an OLEObject, Oracle has BLOBs, etc. Arrays, clusters, complex numerics, pictures, waveforms and others don't have a direct equivalent in the database apps, so they are all flattened to binary strings and saved into binary fields. The reason the variant displays "non-displayable" is that it doesn't know how to interpret a raw binary string. You need to use the Database Variant To Data function to convert that variant to whatever it was originally. The data is still there, you just need to know how to convert it back.
02-16-2006 06:45 PM
To add to what David said... the Database Connectivity Toolkit converts any datatype that doesn't have a direct equivalent in the database management system to a binary format. Each database management system does have a binary datatype -- Access has an OLEObject, Oracle has BLOBs, etc. Arrays, clusters, complex numerics, pictures, waveforms and others don't have a direct equivalent in the database apps, so they are all flattened to binary strings and saved into binary fields. The reason the variant displays "non-displayable" is that it doesn't know how to interpret a raw binary string. You need to use the Database Variant To Data function to convert that variant to whatever it was originally. The data is still there, you just need to know how to convert it back.
Eureka may have been my answer if it worked for me as simple as you imply (I am not being sacrastic). But the problem is it does not work for me. Can you please show an example with variant and without variant going to MS Access as the data that is "converted back" as the original number garned from LabVIEW subVI using the logging example by NI even.
Thanks.
02-17-2006 02:03 AM
02-17-2006 01:53 PM