05-15-2014 11:42 PM - edited 05-15-2014 11:49 PM
Hi friends,
I have a database file, in that, Table consist of three columns (namely ID, Name, Sno). Using the DB toolkit I read the database and then I convert variant to data. Data type which I preferred is Array of clusters. But as a output, I dint get the database values into array of clusters. I don't know why ??? During the time when I build the database using MS access, for every column I alloted a specfic data type to them. But still its Ignoring.... Can Anyone suggest what could be the problem ????? Please find the attachment below
05-16-2014 12:02 AM
Hi vij@y,
Even i created a small MS Access database and here is the way i created a small vi to read the whole data from it..
and my database looks very similar to the database picture you attached.
For more help please go through the examples,you will know more.
Regards,
SrikrishnaNF
05-16-2014 01:07 AM
@srikrishnaNF wrote:
Hi vij@y,
Even i created a small MS Access database and here is the way i created a small vi to read the whole data from it.
and my database looks very similar to the database picture you attached.
For more help please go through the examples,you will know more.
Regards,
SrikrishnaNF
Hi srikrishnaNF,
Good to see u again. Actually U misunderstood me. I need array of clusters as output, Not 2D array of STRINGS. Even I can get 2D array of strings as output if i connect 2D array as a type to variant to data conversion. I assgined different data type for all the columns, So I am expecting the same data types as outputs. That's why I m sticking with clusters,....
05-18-2014 10:55 PM
05-19-2014 04:18 AM
Instead of the double loop variant to string, try a 1D array of cluster like in the attached picture. Just set the array to Cluster to the correct size.
/Y
05-19-2014 06:43 AM - edited 05-19-2014 06:47 AM
HI Yamaeda,
I have exactly replicate what you showed in the picture. But still the problem exist ! When I connect a 1D array of cluster with appropriate datatype values, the input variant wire became broken. Even I hav adjust the array size, but It showing some error. Once again go through with my attached VI and suggest please.
05-19-2014 06:49 AM - edited 05-19-2014 06:52 AM
Vij@y wrote:
HI Yamaeda,
I have exactly replicate what you showed in the picture. But still the problem exist ! When I connect a 1D array of cluster with appropriate datatype values, the input variant wire became broken. Even I hav adjust the array size, but It showing some error. Once again go through with my attached VI and suggest please.
Then you haven't replicated it exactly. 🙂
I dont connect a 1D array of clusters, i connect a cluster and build an array.
The 1st array was to test and generate some data for the 2D variant array.
(I cant open that VI version from here)
/Y
05-21-2014 11:34 PM
Tell me the compatible version, I ll convert and attach the VI.