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: 

creat database automatically using labview?

I want to creat a database automatically and then wirte data to it  sevral times?Can sb give me some advices or examaples?I have no idea about this aspect.I always see that use microsofte to creat a databsefile  ,and cann't find the examples that creat database files automatically........

The engineer told me that he cann't give me support if I didn't by their   databse soft.I am so sad and worried.

0 Kudos
Message 1 of 4
(3,823 Views)

A lot depends on what your database is.  You can try this:

 

http://www.w3schools.com/sql/sql_create_db.asp

 

If that doesn't work, Google your specific database provider to see how you can programatically create the database.

0 Kudos
Message 2 of 4
(3,820 Views)

You may  find this link will helpful https://www.ni.com/docs/en-US/bundle/371525a/resource/371525a.pdf . Its not so difficult job you can do it in less than a hour. Don't worry.

---
Silver_Shaper | CLD
0 Kudos
Message 3 of 4
(3,807 Views)

There's a fantastic LabVIEW API for SQLite that you could use.  I've tried making a new database in Access, but never succeeded.  I didn't spend too much time on it, though.  Here's a quick example of how to make a SQLite database with the aforementioned API.

 

Example_VI_BD.png SQLite Database Manager_2011-10-25_06-04-27.jpg

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 4 of 4
(3,800 Views)