Putting robotics at your service™

Free shipping on orders over $200

Macro Applicaton

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 11 posts ]

User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-15 01:35 
 Post subject: Macro Applicaton
Its me again!

::Update::

Attachment:
macro.JPG
macro.JPG [ 51.46 KiB | Viewed 2983 times ]


I've made a lot of improvements to the macro application!

New program features:

Buttons now light up to show which macro is being played or edited.
The send button has been removed in favor for auto send.
There is now an Edit mode, and a Play mode. The macros can be changed only when in Edit mode, and macros will only be sent to the controller when in Play mode.
There is now a pause function built into the application. To use a Pause type "D0000" at the END of the macro string. The possible inputs for the pause command are 0001ms through 9999ms. It is very important that there is FOUR DIGITS after the "D".
There is a text file now associated with the program. This file must be placed in the same folder as the exe and at the root C:\ dir.

A button call feature is still in the works so make sure to check back!


Attachment:
Macros.zip [1.35 MiB]
Downloaded 179 times


Last edited by Dev5994 on 2010-09-16 17:11, edited 1 time in total.
User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-16 17:14 
 Post subject: Re: Macro Applicaton
Hey I updated my first post!

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


User avatar
Guru ( offline )
Posts: 2120
Posted: 2010-09-16 17:31 
 Post subject: Re: Macro Applicaton
Hi,

Very interesting work! I've not had time to study your latest work but I think I recall that one of your program supported reading .csv files (the sequencer part?). Does this macro application also support .csv? I don't have Flowstone installed on the computer I'm on right now so I can't check.

Keep up the good work :D

_________________
Kåre Halvorsen, Zenta
-----------------------------------------
Zenta's blog
http://zentasrobots.com/
Zenta's YouTube channel
http://www.youtube.com/ZentaOlbaid
-----------------------------------------


User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-16 17:42 
 Post subject: Re: Macro Applicaton
The sequencer actually isn't my program, its from dsp. The way my program works is when you flip from edit to play it save all the stored macros to a text file in the same directory. It will load this text file with your macros in it every time you open the program. You can edit the text file manually with the program closed and it will load the new file.

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-17 22:39 
 Post subject: Re: Macro Applicaton
Hey Guys!

Lots of cool changed this time around!

Attachment:
macro3.JPG
macro3.JPG [ 38.01 KiB | Viewed 2945 times ]


First off you can now call other macro buttons by typing "jmpXX" where XX equals the button number, for example jmp01 would call macro number one. A really cool note to go with this is that if you create chains of macros the buttons light up through the chain so its pretty cool to watch the macro chain run. This also supports recursive loops! for example macro1= "#0 P1500 T1000 jmp02" and macro2= "#0 P1000 T1000 jmp01" this will create an endless loop for things like walking. To stop a loop all you need to do is switch to edit mode.

There is now a window which shows a short history of previous commands.

The pause command is no longer triggered by a "D" but instead "del" and then the same four digits ranging from 0001 to 9999.

Both the exe and the flowstone .fsm are included in the zip attachment.

Don't forget to put the marcos folder at the root C:\ dir otherwise this program will not work fully


Attachment:
Macros.zip [1.35 MiB]
Downloaded 172 times

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.
User avatar
Rookie ( offline )
Posts: 12
Posted: 2010-09-18 17:21 
 Post subject: Re: Macro Applicaton
Hey Zenta

I made the Brat sequencer that stores the data as .csv, you can download the FlowStone source file from the 'BRAT Trainer & Player 'thread in this forum :)

These file can be run in FlowStone and modified as you see fit, if you have the pro version of FlowStone you can also make your own standalone EXE file!


User avatar
Rookie ( offline )
Posts: 12
Posted: 2010-09-18 17:22 
 Post subject: Re: Macro Applicaton
Hey Dev

You forgot the .fsm file in your latest post :(


User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-18 23:23 
 Post subject: Re: Macro Applicaton
I guess i did didn't I? Well, here it is!


Attachment:
macros3.fsm [17.42 KiB]
Downloaded 152 times

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.
User avatar
Expert ( offline )
Posts: 253
Posted: 2010-09-21 20:57 
 Post subject: Re: Macro Applicaton
Hey! I finished what is to be called the first "Release" of the macros application!

This is the first official version.

Attachment:
Capture.JPG
Capture.JPG [ 45.66 KiB | Viewed 2794 times ]


Newest Changes!

The button push color was darkened to be easier on the eyes.
Clicking a button it edit mode will now send the macro to the SSC-32 but will ignore a jmp command if there is one present.
Buttons are disabled during a recursive loop as to prevent errors.


Attachment:
macros.zip [1.43 MiB]
Downloaded 169 times

_________________
Devon Simmons, Former Programmer for Lynxmotion.
I can try to help, but I can only offer you my best effort.


Last edited by Dev5994 on 2010-10-29 10:49, edited 1 time in total.
User avatar
Guru ( offline )
Posts: 9257
Posted: 2010-09-22 09:43 
 Post subject: Re: Macro Applicaton
Some notes on installing this program.

Click on the zip file and select save. You can save it anywhere you want.

When downloaded right click on the file and select extract all.

Click Next, then browse, then my computer, then Local disk C:, then click OK. when it's done, click Finish.

Open Windows Explorer or navigate to the C:\macros folder. You should see the following files.
LynxSimpleSEQ_Beta10.exe <- this is the program file.
macros4.fsm <- this is the source code for FlowStone.
Macros.txt <- this is where the macros are stored.
ReadMe.txt <- Some simple instructions.

Right click on the exe, select Send To, Desktop (create shortcut)

Find the shortcut on the desktop and double click to open it. Because this is a program we created, it's not digitally signed through Microsoft... If you get a message saying The publisher could not be verified, uncheck the Always ask before opening this file box, then click run.

First select the proper com port with the pull down. The first three buttons have macros already written. Clicking on macro 1 will send position commands for servos on pins 0,1 and 2. Then it will pause long enough for the servos to move into position, then jump to macro 2, etc.

In Edit Mode it will send the commands, but ignore the jumps. In Play Mode it will send the commands and do the jumps.

Let me know if anyone has any questions. 8) FlowStone rocks! and it's free. You can even pay for exe's as you need them. 8)

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


User avatar
Expert ( offline )
Posts: 746
Posted: 2010-10-07 15:18 
 Post subject: Re: Macro Applicaton
The Lynx Simple Sequencer application is now available for download here:
http://www.lynxmotion.com/p-785-free-do ... encer.aspx

All updates will be linked at this page as well.

The zip file includes a new expanded Readme.

_________________
Beth
Lynxmotion, Inc
http://www.lynxmotion.com

THANKS I COULD HELP BRO


 

All times are UTC - 5 hours [ DST ]. It is currently 2014-10-25 15:40
Feedback Form
Feedback Form