LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

If I write a waveform file to lev to send to a databas e how can I convert it back to see a waveform?

Hello

I created several virtual instruments to go along with my ecg circuit that I created for my senior project. The last step of our senior project is to send the data to a database were it can be retrieved later. I was saving the data as a binary file and than reopening it and displaying the waveform as a graph. I tried to do the same thing saving it as a lvm file because our database guy said that it would be easier to save a text file to a mysql database. But I am having trouble dispalying the data back as a waveform. IIf you open the read file menu and display the data there it wiil show all the text written. So I know the data is saving and being retrieved. After the data is retrieved I send the signal to the create a waveform from dynamic data block and than onto the graph but I do not recieve anything at all on the waveform graph.

Ray
0 Kudos
Message 1 of 2
(2,626 Views)
It is unclear whether or not you are creating a new LVM file when you fetch from the database or trying to read the text from the database and parse it directly.  The LVM read Express VI expects an LVM file.  If you are creating the LVM file and it is not working, please post a copy of the created file.  It is quite possible the database save/fetch is adding or removing a few things.  In particular, the LVM read will probably not function well if the header info is not restored correctly.

On a related note, you can probably use the database the return the specific LVM fields without having to go through the create file step.  See the LVM file specification for details of the format.  Talk to your database admin about how to retrieve things.  Let us know if need more help.
0 Kudos
Message 2 of 2
(2,603 Views)