Idea: Visual NXC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

muntoo wrote:*No offense, John. :) ...Unless you really consider yourself to be an artist. ;)
Image
John is a very famous artist. ;)

On-Topic:
I've got a lot of the internal code for handling the blocks done, as well as the code for managing the actual 'code'. (kinda confusing, I know..) Also, Mightor has had a chance to test it on Win7, so I know it works there as well. That's two OS's verified so far :)

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
jojoguy14
Posts: 155
Joined: 29 Sep 2010, 12:49
Contact:

Re: Idea: Visual NXC

Post by jojoguy14 »

sidneys1 wrote: That's two OS's verified so far :)
When you get it to work with Linux/Ubuntu (hopefully), I'll be a happy guy! I've always wanted to try to learn NXC, but always gave up, and now that I have Ubuntu and Bricxcc doesn't work on it, I'm sad :cry:

jojoguy10
Creator of LEGO-X TechN'XT! (http://lego-x.com http://techn-xt.blogspot.com)
Known as jojoguy10
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

Can you post the executables (in the SVN would be OK) so we can test it out? I don't have a C# compiler...
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

muntoo wrote:Can you post the executables (in the SVN would be OK) so we can test it out? I don't have a C# compiler...
Here you go!
Requirements:
  • Microsoft .NET 4.0 Client Profile Framework
  • Windows XP, Vista, or 7
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Some more vauge graphical changes.. Namely the skinning of the Treeviews on the right, and the addition of a toolbar that'll have a lot more stuff on it later on :)
Image
Soon I'll pick back up on the actual code code. :D A lot to do, though. At some point I'll be needing people to help me create the actual blocks, which should be stored in simple *.txt files that store stuff like name, color, and etc, as well as the actual NXC code it represents. I'm thinking the syntax will be something like this:

Code: Select all

# comments start with a "#"
#name: name of block
name=Loop Block
#container: whether or not it contains other blocks
container=true
code=
while ([a])
{
    [b]
}
endcode
var=[a],boolean
containercode=[b]
Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Idea: Visual NXC

Post by timpattinson »

it crashes on my XP SP3 when I run it.
a few seconds after i click the .exe it gives a dialog box (in picture)
screenshot
screenshot
screenshot2
screenshot2
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

timpattinson wrote:it crashes on my XP SP3 when I run it.
a few seconds after i click the .exe it gives a dialog box (in picture)...
Interesting... Is anyone else with XP getting this error?

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Idea: Visual NXC

Post by timpattinson »

is it because i am a "Power User" not admin
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

It works for me with Aero disabled on Vista. (I bet it looks better with Aero enabled, but since 99% applications don't really "need" Aero like Visual NXC uses it, I keep the memory hog disabled.)
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Tim: That shouldn't be an issue.
muntoo wrote:It works for me with Aero disabled on Vista. (I bet it looks better with Aero enabled, but since 99% applications don't really "need" Aero like Visual NXC uses it, I keep the memory hog disabled.)
Yes, but the problem is that XP doesn't actually have the DLL's that control Aero. Even when it's off, Vista still has the Aero DLL files.

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests