LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

X-NET: Create a database programmatically

Hi!

 

Once there is a database / alias, there are VIs to create/delete/modify objects, and even a VI to save the database.

 

But I don't see a way to create new database files / aliases from scratch programmatically. They always require an existing database file.

 

Any idea?

0 Kudos
Message 1 of 3
(199 Views)

I think this example shows how to start without an existing database file. I believe the trick is to use the ":memory:" database. 

 

can_db_example.png

0 Kudos
Message 2 of 3
(167 Views)

I'm not sure you are asking the right question here. The editor or IDE you are using shouldn't dictate how you make a database. You should look for guides to ORMs like Entity Framework or the likes.

0 Kudos
Message 3 of 3
(157 Views)