-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
Get start time of a signal
Accueil > Community > Automation and VBA > Get start time of a signal
- This topic has 2 replies, 2 voices, and was last updated 20 years, 1 month ago by paulwarshawsky@yahoo.com.
-
AuthorPosts
-
November 23, 2004 at 1:31 am #12435paulwarshawsky@yahoo.comMember
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 at 2:12 am #8116paulwarshawsky@yahoo.comMemberI 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
December 21, 2010 at 7:35 pm #8728serin thomasMembertry this
dim factor = 30
signal(data.y,data.x*factor) -
AuthorPosts
- You must be logged in to reply to this topic.