-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Get start time of a signal
Home > Community > Automation and VBA > Get start time of a signal
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 13 Jahren, 9 Monaten von paulwarshawsky@yahoo.com aktualisiert.
-
AutorBeiträge
-
November 23, 2004 um 1:31 am Uhr #12435paulwarshawsky@yahoo.comMitglied
I am trying to write a macro that changes the scaling of the x-axis of a worksheet or 2-d diagram to display the first 30 seconds of a time signal. The problem is I cannot get the value of the start time:
Sub Macro()
‘
‘ Macro recorded on 2004-11-18 9:21:43 PM by (unknown)
‘
Dim StartTime as Long
StartTime = ??????????? ‘Help
ActiveDatabase.ActiveObject.CursorActive = False
ActiveDatabase.ActiveObject.Grid.Interior.Select
ActiveDatabase.ActiveObject.XAxes(1).Scaling.AutoScaleStartValue = False
ActiveDatabase.ActiveObject.XAxes(1).Scaling.AutoScaleEndValue = False
ActiveDatabase.ActiveObject.XAxes(1).Scaling.StartValue = StartTime
ActiveDatabase.ActiveObject.XAxes(1).Scaling.EndValue = StartTime + 30
End SubAlso, is there some reference for the object model for flexpro VBA? I’m using the object browser, but this provides very limited information.
Thanks,
Paul
November 23, 2004 um 2:12 am Uhr #8116paulwarshawsky@yahoo.comMitgliedI am trying to write a macro that changes the scaling of the x-axis of a worksheet or 2-d diagram to display the first 30 seconds of a time signal. The problem is I cannot get the value of the start time:
Sub Macro()
‘
‘ Macro recorded on 2004-11-18 9:21:43 PM by (unknown)
‘
Dim StartTime as Long
StartTime = ??????????? ‘Help
ActiveDatabase.ActiveObject.CursorActive = False
ActiveDatabase.ActiveObject.Grid.Interior.Select
ActiveDatabase.ActiveObject.XAxes(1).Scaling.AutoScaleStartValue = False
ActiveDatabase.ActiveObject.XAxes(1).Scaling.AutoScaleEndValue = False
ActiveDatabase.ActiveObject.XAxes(1).Scaling.StartValue = StartTime
ActiveDatabase.ActiveObject.XAxes(1).Scaling.EndValue = StartTime + 30
End SubAlso, is there some reference for the object model for flexpro VBA? I’m using the object browser, but this provides very limited information.
Thanks,
Paul
Dezember 21, 2010 um 7:35 pm Uhr #8728serin thomasMitgliedtry this
dim factor = 30
signal(data.y,data.x*factor) -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.