02-27-2008 12:27 AM
02-28-2008 03:48 PM
Hello,
I'm not sure exactly what is causing this but if the CVI programs are as similar as you say then it seems to be the data we are passing that is causing the problem. The DS_GetDataType can handle variants (CAVT_VARIANT) but that doesn't necessarily ensure that it will work with the data you are passing. One thing that the CVI help file does mention is that this function will not work if it reads the data as an array of variants (which it shouldn't if its a single cluster) and we might be running into this restriction. I have a feeling that since you are receiving a server error not a data type error this is less likely, but still possible. We may want to try passing a simplified variant (cast an int to variant) to see if we can pass any variant data. Unfortunately, clusters are not the easiest types to work with outside of LV, so this may take some work to get it properly setup.