07-25-2015 11:54 AM
Hi,
I am acquiring ECG signal wirelessly and displaying it in in waveform chart. And simultaneously i need to save it in Text format for 5 mins. The problem i am facing is that for saving the signal i am using Write to Measurement File which saves the file in text format..... but while saving the plotting speed decreases.
i am very new to labview.. so plz can any one tell me whether i am missing any thing in it... plz help.....
Solved! Go to Solution.
07-25-2015 12:00 PM
07-25-2015 12:24 PM
ok.. thank you...
can u plz help me to create consumer/producer loop in my vi.
i have attached vi ... so plz can u help me in making consumer loop in it.....
i am using microcontroller for analog to digital conversion of ECG signal and via bluetooth iam acquiring it in Visa... then displaying real time signal and trying to save it....
07-25-2015 12:55 PM
Why do people always post pictures of their VIs rather than the VIs themselves or at least Snippets? We can't tell from the picture what Version of LabVIEW you are using (so if we post code, you might not be able to open it), and we can't "play with" your code and try it out without, ourselves, by hand, trying to recreate it from your (sometimes very tiny) diagram. Please Help Us to Help You!
Here's help anyway to get you started with the Producer/Consumer Design Pattern.
The Producer would be anything that Generates data. Once you have the data, you put it on the Queue and send it to the Consumer for all the rest of the processing. The idea is that the Producer has an inherent timing that it has to meet, otherwise you lose data points. The Consumer, on the other hand, just needs to "more or less" keep up (actually, the Queue can/will expand, so if the amount of data isn't megabytes, the Consumer can really be quite slow, though you usually want the Consumer, on average, to be at least as fast as the Producer).
Bob Schor
07-25-2015 03:07 PM
07-25-2015 05:13 PM
Very good point, Dennis, as if Pictures weren't bad enough ...
BS
07-25-2015 10:00 PM
i am really sorry... Actually my vi was not getting attached
I am using LabVIEW 2013 for programming
07-25-2015 10:47 PM
My Vi is not getting attached...
Plz can you help me in including Producer and consumer loop in my vi
i have attached an image of wireless acquisition were i am using labVIEW 2013
07-25-2015 10:50 PM
And i need the aquired signal to be saved in an array as well for 5 mins without disturbing the plotting
07-26-2015 12:22 PM
Here's how you embed your VI as a Snippet:
The thing about Snippets is that they look like an ordinary PNG Image file, but if you have LabVIEW open and drag the image from the Forum into a (blank) Block Diagram, it will magically become LabVIEW code that we can edit, modify, and execute. And you won't get so many complaints from whiners (such as I) who hate code submitted as pictures ...
Bob Schor