10-28-2008 03:17 PM
Hello tinamoli,
I'm sorry, I don't know such a function.
Uli
10-28-2008 11:00 PM - edited 10-28-2008 11:03 PM
Hello Uli,
let me explain what i want to do in here ,may be you have your own perfect suggestion as before;
in the ecg1.png below if i should calculate all these parameters PR interval ,P duration,PR Interval,QRS interval QT interval,HR.
also;
P amplitude ,Q amplitude, R amplitude,S amplitude,T amplitude.
for the moment:
in the HR.vi below how i know the location for P amplitude,in reality P amplitude is (0.1_0.15)mv,if i adjust the threshold to 0.1 ,it dosent work.
Also,
i would be very happy if you could calculate any parameter i mentioned above,except the HR ,which i could found with modification to compare80.vi,as i shown below in HR.vi
11-03-2008 03:44 AM
Hello UliB,
Is there any function to show us the value of samples which is less than threshold value and not only the value more than threshold?
11-03-2008 12:44 PM
Hello Uli,
???
11-04-2008 02:32 PM
Hello tinamoli,
to get values under a threshold you can negate the inputs to 'Peak Detector' (see example).
I took a look at the 'comparison express VI'. In the example it finds the values in a range.
Hope this helps.
Uli
11-16-2008 05:15 PM - edited 11-16-2008 05:17 PM
Hello UliB,
Thanks for the underthreshold-80.vi this is what I was looking for, really appreciate you,
11-23-2008 10:00 AM
Hello UliB,
how can I edit the control panel to have a nice appearance,since I have a presentation for next month.
for example in vi below :
1-how can I insert a picture in the picture box
2-what is the usage of windows media player
3-how can I use the decoration like raised circle or raised left triangle
4-also how can I use colors for text or frames
I would realy appreciate you if you show me some samples also,
thanks
11-23-2008 12:50 PM - edited 11-23-2008 12:51 PM
First of all, your VI is overly complicated and just contains a finite state machine after which the VI stops? Are you running this with the "continuous run" button? Don't!
It does not matter in which order your four cases execute, the four code segments can actually all execute in parallel, possibly utilizing multiple CPU cores. Here's how it could look like. (exactly (!) the same functionality, but no while loop, no shift register, no case structure, etc...).

Do you want to programmatically load an image in the picture indicator? If you just want a static image decoration on the front panel you don't need an image indicator, just place the image on the front pane directly. (E.g. In windows, you can drag it directly from the explorer window to the front panel.)
Again, what do you want to display in the media player? Maybe this can help?
What problems are you encountering with decorations? Just place them on the front panel and possibly change the order (e.g. move to back). You already placed some frames. Same difference. 🙂
You can color anything using the coloring tool. To change the text color, select the text and click on the font ring where you select the text color.
11-24-2008 01:03 PM
Hello UliB,
could you please let me know what is the function of the NAN in underthreshold_80.vi ?
11-24-2008 03:06 PM
NaN is "not a number", so if you plot an array of data, any points containing NaN (as x or y) will be skipped, giving the desired effect.
In this example, all data points that are out of range will be set to NaN and thus not plotted.
(There are many other ways to do this, for example you could create a new array that only contains the in range data.)