Database with Labview
This practice is to create and read a database Access Database using Labview and then display the data table in a chart, in addition to insert, delete or update data in the database that we created. In practice the graph representing the evolution of the temperature in a given period of time we will choose.
The first thing you have to do to make this practice is to create an Access database.
After creating the database, we have to go Labview and create a UDL file, which files are associated database with data binding.
The following video shows how you performed.
Once you associate the UDL file in the same folder we will place our saw, for the simple fact that if we want to export our lead or saw will always be associated.
We will have to create a SubVI to create the table of the database.
We also need to create a SubVI to read the table of the database.
The SubVI we've created the go getting into each of the events we've created.
Once we are in the program we see as we create the stepper table.
The first is to look for the file location.
Then we put the name to the table and columns.
Press the create button to create the table.
Press the read button to read the table.
Press the display to display the table in the graphic button.
Once the graphics displayed will press the reset button to restart the program.
No hay comentarios:
Publicar un comentario