Hi,
I am fairly new to the NXT. We bought it for my son's 10th birthday. I think it is too early for him to start with NXC, but I would like to incorporate own hardware to our creations.
I don't have any labview, but I do have plenty of low level coding experience. Would it be possible to write a or a few generic NXT-G blocks which could be used to call externally compiled code?
The idea is that I could write code in NXC which my son could call using a NXT-G block.
Any ideas?
Mike
NXT-G block which calls e.g. NXC routine, lib, or executable
Re: NXT-G block which calls e.g. NXC routine, lib, or executable
There is no such thing as "dll" or something to that effect on the NXT. You can't link NXC and NXT-G stuff together, unfortunately.
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 224
- Joined: 30 Oct 2010, 04:10
- Location: 127.0.0.1
- Contact:
Re: NXT-G block which calls e.g. NXC routine, lib, or executable
You might like to look at the Extreme NXT book.mdege wrote: but I would like to incorporate own hardware to our creations.
It's a wonderful resource for NXT hardware hackers AND it has nearly all of it's examples in NXT-G
-Tim
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/
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Re: NXT-G block which calls e.g. NXC routine, lib, or executable
Hmmm... You may want to look at RXEDumper and beg John Hansen for help. I think it may be possible*, but I don't really know how.
*Unlikely, but this would be the method, if it were possible
*Unlikely, but this would be the method, if it were possible
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Re: NXT-G block which calls e.g. NXC routine, lib, or executable
Hi,
Thanks for your replies. I was just wondering whether it would be technically possible or if just nobody had thought of this before. I guess I will have to dig deeper into the system and learn more about it. I will put the Extreme NXT book on my wish list that sounds interesting.
Mike
Thanks for your replies. I was just wondering whether it would be technically possible or if just nobody had thought of this before. I guess I will have to dig deeper into the system and learn more about it. I will put the Extreme NXT book on my wish list that sounds interesting.
Mike
Who is online
Users browsing this forum: Semrush [Bot] and 13 guests