DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

set cursor with VBS

Hi people,

 

I am trying to set a cross cursor at the local minumum within a defined area of a curve by VBS. In another words. I have to find the local minimum and move the cursor to there. So I guess I need a function like "set crosscursor to chnmin(interval(x-axis))". Does anyone can help me? Thanks in advance.

 

cheers, Andi

0 Kudos
Message 1 of 2
(4,459 Views)

Hallo Andi,

 

das könnte so aussehen:

dim oChn
set oChn = Data.Root.ActiveChannelGroup.Channels(1)
View.ActiveSheet.Cursor.P1 = pno(oChn, oChn.Properties("minimum").Value)

 

Bei einem X/Y Kanalpaar ist oChn der Y-Kanal.

 

 Gruß

Walter

0 Kudos
Message 2 of 2
(4,458 Views)