ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data base insert for custom cluster

Hello NI,

                 I am using Data base toolkit for inserting data in to the SQL server data base, using this i need to creat a cluster then i have to convert in to the variant data type after only i can insert in to data base. for creating cluster by programtically is not a userfriendly, using manually i must to creeat a bundle, if i aquire data from array of 20 channels then i must use array to cluster, here there is some constrains to mentioned a cluster size manually, or otherwise i have  to seperate all elements from array then i need to create a bundle.

 

i requesting logic to create a cluster by programatically....  kindly help me...

 

 

Regards,
Balaji DP
0 Kudos
Message 1 of 3
(2,829 Views)

Hi Balaji,

you can use the INSERT Into command to insert different number of elements.

http://www.w3schools.com/SQL/sql_insert.asp

 

Edit: See the insert example from the example finder. There you see two other possibilities to insert your data.

 

Mike

Message Edited by MikeS81 on 07-08-2009 08:21 AM
0 Kudos
Message 2 of 3
(2,817 Views)

Hello Mike,

 

                      Thank you very much.. i will try to change my code...

Regards,
Balaji DP
0 Kudos
Message 3 of 3
(2,800 Views)