LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

accessing array elements

Solved!
Go to solution

Hello tinamoli,

 

I'm sorry, I don't know such a function.

Uli

0 Kudos
Message 41 of 58
(2,848 Views)

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

Message Edited by tinamoli on 10-28-2008 11:03 PM
Message Edited by tinamoli on 10-28-2008 11:03 PM
Download All
0 Kudos
Message 42 of 58
(2,836 Views)

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?

0 Kudos
Message 43 of 58
(2,794 Views)

Hello Uli,

 

???

0 Kudos
Message 44 of 58
(2,771 Views)

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

0 Kudos
Message 45 of 58
(2,753 Views)

Hello UliB,

Thanks for the underthreshold-80.vi this is what I was looking for, really appreciate you,

Message Edited by tinamoli on 11-16-2008 05:17 PM
0 Kudos
Message 46 of 58
(2,690 Views)

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

 

0 Kudos
Message 47 of 58
(2,630 Views)

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.

Message Edited by altenbach on 11-23-2008 10:51 AM
0 Kudos
Message 48 of 58
(2,614 Views)

Hello UliB,

 

could you please let me know what is the function of the NAN in underthreshold_80.vi ?

0 Kudos
Message 49 of 58
(2,580 Views)

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.)

0 Kudos
Message 50 of 58
(2,571 Views)