Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3214

Get value of a Channel by row number

$
0
0

Hello,

 

I have recorded a script that calculates the N peak values of a channel and saves them into a new channel. Each channel contains the X value and the Y values of the selected peaks (PeakX and PeakY)

 

Now, I want to get the value of a channel on the PeakX values that I have saved from the Peaks calculation.

 

Groups = Data.Root.ChannelGroups.Count

Set oMyChannel = Data.Root.ChannelGroups(Groups).Channels("PeakX")

for i = 1 to Data.Root.ChannelGroups(Groups).Channels("PeakX").Properties("length").Value

' Find the row where the "[1]/Time" matches with PeakX calculated values rowToFind= pno("[1]/[1]",oMyChannel.Values(i))

'How to get the value of a 3rd channel on the rowToFind row next

 How can I get the values of a 3rd Channel on the rowToFind row?

 

Thanks in advance.

 

Martin

 


Viewing all articles
Browse latest Browse all 3214

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>