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! Macros.zip (1.35 MB)
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.
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.
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 Macros.zip (1.35 MB)
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!
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. macros.zip (1.43 MB)
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)