LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send data from VI to the Database

Hello everybody
                         I am competely new to LabView software and how it is used.  I was working with an existing VI i got from a friend of mine.  He made an ECG vi and i will be using his VI to send data to a Database.  I do not know how to accomplish this task.  If anyone can point me in the right direction it will be greatly appreaciated.  I am using LabView 8.0 on our school computer. Along with this i am attaching the VI my friend created.


Thank you in advance

Raj
0 Kudos
Message 1 of 7
(3,146 Views)
I tried to use STM_1_0_32 which i found on NI website, but when i tried to install it, it fails.  I am guessing this is because STM is for 8.2 and my school only has 8.0,  Is there another one for 8.0, and another way completely so i can send data to from an existing VI to database
0 Kudos
Message 2 of 7
(3,141 Views)

First, you need to design and create the database. Do you have any experience with that? Do you actually need a database?

If the answer to the first question is no, then you will also need to learn about databases and SQL.

If the answer to the second question is that you do need it, then after you create the database you need to access it using LabVIEW. In Windows, this is usually done through ADO and there are several free tools on the web for doing this. Searching for LabSQL should provide one example. Searching these forums for Mike Porter's posts should reveal some more VIs. Searching the LAVA forums for "ADO" should get you at least one more.

As for what to do in LabVIEW itself, this depends on your actual setup, but it seems to me that you can use the Get Waveform Components primitive to get the raw data in an easy to use format and then convert it to a string and create a relevant SQL query using the Format Into String primitive.

To learn more about LabVIEW, I suggest you try looking at some of these tutorials.


___________________
Try to take over the world!
0 Kudos
Message 3 of 7
(3,140 Views)
I actually do have database done, and i need something that will communicate with the VI and the database.  So that's what i want to do, i need to talk to the database and send my data to my database.

Raj
0 Kudos
Message 4 of 7
(3,124 Views)
Well, you have some pointers in my previous post. Searching for these should help you.

___________________
Try to take over the world!
0 Kudos
Message 5 of 7
(3,122 Views)
Do you have the LabVIEW Database Connectivity Toolkit?  If not, I suggest purchasing this toolkit or upgrading to the NI Development Suite. 

The database tools are very nice.


>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 6 of 7
(3,115 Views)
i don't have toolkit, and i can't upgrade because i am using school's computer and they won't upgrade it just for us.
0 Kudos
Message 7 of 7
(3,089 Views)