From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,254 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,242 Views)

Hello Mike,

 

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

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