Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 09:59:36 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Controlling Mach with Powerpoint? Is this possible?
Pages: « 1 2 3 4 5   Go Down
Print
Author Topic: Controlling Mach with Powerpoint? Is this possible?  (Read 1838 times)
0 Members and 2 Guests are viewing this topic.
AndrewM
Support Tech
Administrator
*
Offline Offline

Posts: 185




View Profile
« Reply #40 on: May 27, 2011, 01:55:03 PM »

Im not sure how you would do that in VB, Sorry.
Logged

watsonstudios
Active Member

Offline Offline

Posts: 43


View Profile
« Reply #41 on: May 27, 2011, 01:59:40 PM »

No problem, Thank goodness I don't need that now since I finally got PPT to add the fades in where I need them.
Thanks again.
Logged
AndrewM
Support Tech
Administrator
*
Offline Offline

Posts: 185




View Profile
« Reply #42 on: May 27, 2011, 02:11:34 PM »

NP, Glad you got it working ^_^
Logged

watsonstudios
Active Member

Offline Offline

Posts: 43


View Profile
« Reply #43 on: May 30, 2011, 12:46:26 PM »

Thanks again for all your help!  Here's a video I made of the macro in action.

http://www.youtube.com/watch?v=Kc0pd-WNfqI
Logged
watsonstudios
Active Member

Offline Offline

Posts: 43


View Profile
« Reply #44 on: May 30, 2011, 06:20:30 PM »

Andrew, I have a question:  Right now, when I run the macro, the machine moves at the start of (before) the first slide. Is there a way to start the Zmovement "after" the first slide? The first slide needs to be shown when Z is still at zero(Const ZStartPoint) then I need it to do the first move before the second slide, then continue as is. How can we edit the macro to do this?  Thanks.
Jon
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #45 on: May 30, 2011, 08:57:53 PM »

Not Andrew but you may want to try it this way.



For s=1 To numSlides

 objPresentation.SlideShowWindow.View.GotoSlide (s) 'show the next slide
  sleep exposureTime

  Code "G1 Z" & ZIncrement + ZIncrement 'lift Z a couple of tads
  While IsMoving()
    sleep 10
  Wend
  Code "G1 Z-" & ZIncrement 'lower Z a tad
  While IsMoving()
    sleep 10
  Wend

NEXT

Just a thought (;-) TP
 
« Last Edit: May 30, 2011, 08:59:33 PM by BR549 » Logged
watsonstudios
Active Member

Offline Offline

Posts: 43


View Profile
« Reply #46 on: May 30, 2011, 10:05:58 PM »

Thanks TP, That did the trick!
Logged
AGAVE
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #47 on: June 09, 2011, 04:12:18 PM »

BR549

Why the  Code "G4 P2" was omited in your last reply (#45)? That is no longer necessary?  Huh
What is the final version of the macro?

Thanks for sharing, this is really amazing.

Regards,




For s=1 To numSlides

 objPresentation.SlideShowWindow.View.GotoSlide (s) 'show the next slide
  sleep exposureTime

  Code "G1 Z" & ZIncrement + ZIncrement 'lift Z a couple of tads
  While IsMoving()
    sleep 10
  Wend
  Code "G1 Z-" & ZIncrement 'lower Z a tad
Code "G4 P2"  
While IsMoving()
    sleep 10
  Wend

NEXT
Logged
watsonstudios
Active Member

Offline Offline

Posts: 43


View Profile
« Reply #48 on: June 09, 2011, 11:05:55 PM »

The final configuration is this:

For s=1 To numSlides
  Code "G1 Z" & ZIncrement + ZIncrement 'lift Z a couple of tads
  Code "G4 P2"
  While IsMoving()
    sleep 10
  Wend
  Code "G1 Z-" & ZIncrement 'lower Z a tad
  While IsMoving()
    sleep 10
  Wend

The G4 is not really necessary, it just gives a slight delay between the moves. I will know if it needs to be there or not once I start experimenting.
Logged
AGAVE
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #49 on: November 10, 2011, 01:42:11 PM »

Hello,

Would be possible edit the macro in order to activate & sync a second axis (..X or Y..) during the time when the screen is black (...machine moves up, pauses, then moves back down)...?
This is for a tilti-action system that I try to implement.

How can I edit the macro to do this?   

Any help will be greatfully appreciated.
Logged
Pages: « 1 2 3 4 5   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!