06-27-2017 02:44 AM
Hi everyone.
I am trying to make a school project with LABVIEW.
The main idea is to read data from datasheet(.csv) file and to show results in LABVIEW.
In LABVIEW i have to show pulse rate and oxygen level.
Do you have any ideas on how to do this?
06-27-2017 02:49 AM
Hi Gajo,
your teacher should have told you the basics for such tasks…
- To read spreadsheet data you will find ready-to-use functions in the file function palette.
- Index the data you want to "show" (aka plot) and wire them to the graph…
Hint: have the context help window open all the time. It will provide helpful comments!
In LABVIEW i have to show pulse rate and oxygen level.
How is this related to reading a file? You need to provide more information!
06-27-2017 03:00 AM - edited 06-27-2017 03:08 AM
Hi GerdW
I have to read data from datasheet. There will be no actual real time measurement. And then display results. Pulse rate and oxygen percent.
Assigment:
Realize a virtual instrument that will analyze the data obtained by pulse
Oximeter and recorded in .csv format. Calculate heart rate and Oxygen saturation.
That is all that I know about project.
06-27-2017 03:20 AM
Hi Gajo,
I have to read data from datasheet
I already told you how to do that. What have you tried so far?
That is all that I know about project.
No, you know a lot more:
- you know the format of your CSV file. So you know how to parse it!
- you know the type of that "pulse oximeter" so you can read its manual and learn about the meaning of the recorded data.
- you know which kind of data you need to present, so you can read manuals/papers (or ask your teacher) to learn how to calculate them!
I recommend to start with a pen and some sheets of paper to draw/sketch an algorithm and to finalize the formulas you need to program…
07-12-2017 05:10 AM - edited 07-12-2017 05:11 AM
Hi GerdW,
I did some homework on pulse oximeter. I manage to make a vi that read a .csv file.
And I found some example of pulse oximeter but it reads values from DAQ cards.
As I mentioned earlier I have to read it from .csv(solved) and then procces those values and show heart rate and oxygen saturation. Can you help me with adjusting the program so it can process values that is collected from .csv file? I am sending you citanje_csv.vi(reading a csv file in labview) that I made and oksimetar.vi(pulse oximeter that reads value given by DAQ cards)
p.s. .csv file that I have to take values from is also in attachment
07-12-2017 05:29 AM - edited 07-12-2017 05:33 AM
hi gajo9,
i guess part of the homework is to familiarize you with the presentation aspect of labview,
have a look at you Front Panel palette and find charts and graphs.
read up on them in the labview help.
after that play with them a little, and additionally look at the provided example vis regarding charts/graphs.
after that your homework will be done, i am sure of it
(also you could cheat and use the search function here in the forum)
learning how to debug your code, e.g. what tools to use would be the biggest win here.
as Gerd said already "ctrl+h" for the context help, and from there click the link to the long help.
find out what and where the "highlight execution" and "retain wire values" buttons are, and the execution-step-controls.
also how to use "probes" and "breakpoints"
regards
07-13-2017 01:43 AM
Hi Otis,
I know it's been a long time since this post but maybe you can help me.
I have to make a .vi that process data given by .csv file. I have saved voltage data from red and infrared diodes in excell (.csv) file. Now the problem is to process those files to get a heart rate and oxygen saturation. Can you help me with creating a vi ?
Thanks
07-13-2017 04:39 AM
Do you want to post your algorithm?
07-13-2017 04:51 AM
Hi gatorback
I am sending you a few attachments. First two are red and ir diodes voltages that I have to process. Third one is storing those data in labview. And the fourth one is real time pulse oximeter. I dont know how to adjust it to process data from .csv file.
Kind regards
07-13-2017 05:53 AM
Hi Gajo,
please don't hijack old threads and stick with your own one!
I dont know how to adjust it to process data from .csv file.
Replace those "Analog input" ExpressVIs by subVIs to read the CSV files…
(I recommend to clean up that VI, remove the Rube-Goldbergs, obey LabVIEW style guide, reduce ExpressVI usage, implement your own algorithm using G, …)