08-09-2012 03:30 AM
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
08-09-2012 03:41 AM
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