ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple peak values

Hi,

 

I am using an R&S FSH 4 to take measurements from a BTS at ever 4 channels.

 

I max hold to save all measurements for each channel across the frequency range and then export the Trace from the FSH to labview. 

 

Here is the output i get: (A small section).

 

-42.224823,-42.224823,-42.17175293,-41.0411911,-41.8143158,-42.5691452,-41.6384201,-42.08651733,-41.71299744,-41.40740967,-42.19120789,-40.78675079,-41.76891327,-41.85759735,-42.08852386,-42.37558746,-40.84484863,-40.8841095,-40.69558716,-39.60231018,-41.07516479,-39.59376526,-40.12723541,-40.44311523,-38.54497528,-38.54320526,-33.63446808,-26.89083099,-20.84805679,-14.86684799,-9.389907837,-4.093383789,0.05590820313,4.377807617,8.165039063,11.11349106,13.54896164,16.24689865,17.86689186,19.02541351,19.90497589,20.32657623,20.48230553,20.6004982,20.58214188,20.4001503,20.17729378,19.25190735,18.31835938,16.9225769,14.88358879,12.22845078,9.509654999,8.562664032,11.46613503,14.10092926,16.50485992,17.97167206,19.38118553,

20.07951736,20.39107132,20.58688736,20.56002998,20.56434631,20.37879944,20.08117676,19.43192863,18.26476669,16.6280632,14.49747849,11.78139687,8.547523499,9.08379364,11.96588898,14.56108665,16.47121048,18.30899429,19.3255043,20.09314156,20.37875366,20.57717896,20.56416321,20.51559258,20.29325485,20.04833603,19.04310226,17.91346169,15.87836456,14.22527313,11.55690765,7.894309998,9.635730743,12.2736702,14.99716568,16.96074104,18.39141846,19.24125671,19.95274353,20.34904289,20.49360275,20.51229477,20.4133873,20.29825783,19.80945587,19.05692291,17.74259186,15.87450218,13.51884842,10.95700455,6.916843414,10.12738228,13.14822388,15.52780151,17.33984375,18.72852898,19.63122177,20.19384384,20.45057297,20.52952003,20.5411911,20.47652435,20.24111176, 10.67228699,13.09521294,15.64060593,17.43043137,18.72756577,19.78487587,20.20529938,20.38973236,20.48480988,20.3599453,20.30344009,20.12257767,19.43362808,18.43443489,16.58056641,15.14561462,12.48612976,9.479917526,8.006542206,10.96119308,13.62324142,16.11281586,17.73113251,19.14487457,19.86684418,20.21999168,20.40489578,20.46655464,20.44866943,20.25309944,20.06869507,19.36235046,18.33584595,16.91732597,14.83863449,12.29256821,9.332057953,8.248847961,11.51232147,13.86211205,16.04152298,18.01443863,19.21435928,19.79397774,20.27934265,20.47064209,20.46292114,20.43171501,20.26168442,19.95769882,19.31397438,17.94664955,16.48571014,14.43463898,11.52553368,8.765861511,9.004871368,12.10516739,14.54600716,16.6087513,18.40686035,19.32592773,20.08517265,20.28555107,20.52262497,20.5559806819.79450035,18.75011063,17.37521744,15.31502151,13.31907845,10.43034363,7.347091675,

 

Each channel is clearly seen.

 

What i would like to do is to take the Max value of each peak and export this to a file. Could anyone help me with finding the Max values per peak??

 

Muchos gracias!

 

Alex

0 Kudos
Message 1 of 6
(3,341 Views)

Sorry attached a copy of exported data complete.

0 Kudos
Message 2 of 6
(3,339 Views)

http://www.ni.com/white-paper/3770/en/

 

http://www.medicollector.com
0 Kudos
Message 3 of 6
(3,338 Views)

Hi thanks,

 

I have had a read and a play with the various peak vi's to no avail.

 

Could you give me an example? Or does anyone else have any other methods?

 

Thanks

 

Alex

0 Kudos
Message 4 of 6
(3,314 Views)

The standard Peak Detector.vi seems to work fine. I used 90% of the span of the data as a threshold and the default width = 3.

 

You did not say which version of LV you are using so I saved this back to version LV 2010.

 

Lynn

0 Kudos
Message 5 of 6
(3,293 Views)

Thanks Lynn,

 

That looks great, i will have a play with it and see how i get on.

 

The versions i am using are 2012 and 2014, thanks again!

 

 

Alex

0 Kudos
Message 6 of 6
(3,273 Views)