Basic Micro Studio will not compile PowerPod code

Hello, I am brand new to this and trying to assemble an AH3-R hexapod with PS2 controller using this tutorial lynxmotion.com/images/html/build99c.htm .
I have made it to step 11 without much trouble, but when I load the .bas file generated by the PowerPod program into basic micro studio I run into some issues.
I can click connect and that seems to work, but when I click build, it starts to compile and then comes up with a very large number of errors. on the same set of lines.
here is the output of the build tab

Starting Compiler... Preparing files... C:\USERS\SCOTT\DESKTOP\PS2.BAS Compiling... Error: FILE C:\USERS\SCOTT\DESKTOP\PS2.BAS(LINE 162) : [TOKEN DATA] : Unknown Command Error: FILE C:\USERS\SCOTT\DESKTOP\PS2.BAS(LINE 162) : [TOKEN 64] : Unknown Command Error: FILE C:\USERS\SCOTT\DESKTOP\PS2FIRST.BAS(LINE 162) : [TOKEN ,] : Unknown Command ..... Error: FILE C:\USERS\SCOTT\DESKTOP\PS2FIRST.BAS(LINE 165) : [TOKEN 48] : Unknown Command Error: FILE C:\USERS\SCOTT\DESKTOP\PS2FIRST.BAS(LINE 165) : [TOKEN ,] : Unknown Command Errors Detected

the section of code these are all from is

;ACos data 64,64,63,63,63,62,62,62,61,61,61,60,60,60,59,59,| 59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,| 54,53,53,53,52,52,52,51,51,51,50,50,50,49,49,49,| 48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,| 42,42,42,41,41,41,40,40,39,39,39,38,38,37,37,37,| 36,36,35,35,35,34,34,33,33,32,32,31,31,31,30,30,| 29,29,28,28,27,27,26,25,25,24,24,23,23,22,21,21,| 20,19,19,18,17,16,15,15,14,13,11,10,09,07,05,00
If I just hit program it disconnects and a pop up window says that A BasicATOMPro must be connected to program.
I am not sure if I missed something or messed something up or what. I have tried reinstalling Basic Micro Studio, to no avail. I am using windows 7 professional 64 bit, with Basic Micro Studio 1.0.0.15, and a Gigaware usb to serial adapter that seemed to work fine with PowerPod. Any suggestions or advice would be very appreciated, thank you for your time.

change it to

ArcCos Bytetable 64,64,63,63,63,62,62,62,61,61,61,60,60,60,59,59,| 59,59,58,58,58,57,57,57,56,56,56,55,55,55,54,54,| 54,53,53,53,52,52,52,51,51,51,50,50,50,49,49,49,| 48,48,48,47,47,46,46,46,45,45,45,44,44,44,43,43,| 42,42,42,41,41,41,40,40,39,39,39,38,38,37,37,37,| 36,36,35,35,35,34,34,33,33,32,32,31,31,31,30,30,| 29,29,28,28,27,27,26,25,25,24,24,23,23,22,21,21,| 20,19,19,18,17,16,15,15,14,13,11,10,09,07,05,00

and…

[code];-------------Sub Arc Cosinus
ACos
TmpCos = (TmpCos max 127) min -127
if TmpCos < 0 then
TmpAngle = 128 - ArcCos(-TmpCos)
else
TmpAngle = ArcCos(TmpCos)
endif

return[/code]

Hi Scott,

Before we pick on computers and communications how about some framework. Does the green LED on the Bot Board II come on? Do you have the Atom Pro installed in the socket properly?

The tutorial was written for 8.0.1.7. It’s also linked at the top of the tutorial. We haven’t officially tested this with studio yet. It should work…

Here is a tutorial for 8.0.1.7
lynxmotion.com/images/html/build147.htm

We have a tutorial for Studio. Look it over to see if it helps.
lynxmotion.com/images/html/build157.htm

The not finding the Atom is a problem. Atom programming requires a fast serial connection, or a fast USB to serial connection. The only adapter I trust is the FTDI one. It has a property called latency that when reduced to the minimum makes the adapter run as fast as possible.

If things are pointing to the serial connection then read this.
viewtopic.php?t=4702

Hope this helps, Jim

I also noticed I think you have more than one file open. At least there are errors for more than one file. PowerPod creates a single file, so I’m not sure what’s going on there.

well spotted. :wink:

Also, if you are programming for an AtomPro there is no DATA command. The AtomPro EEProm has to be written by code. it can’t be preloaded at programming time like the Atom/Nano processors.

Hmmm! He must have clicked the wrong processor when he created the program with PowerPod. There should be no need to edit anything.

:wink: :blush: :unamused: :open_mouth: :confused: 8) :stuck_out_tongue: :slight_smile: :cry: