|
Re: Using A Scripting Language To Script Robot Behaviour
LV can do file IO, and has built-in functions to handle XML parsing, CSV and other spreadsheet-type files as well as raw binary and string files (plus a file dialog box if you are on a target that has a GUI). It has an advanced section with tons of file properties, move,delete, etc. too.
It's actually quite a powerful language once you get to know it. It can create threads like nothing (just drag and create a new loop, and it runs in a new thread, great for kicker timing and whatnot), manages locking of variables between threads for you, has calls to lots of thread operations like Notifier, Semaphore, Rendevous, Occurrences, etc, has tons of helpful interfaces like RT-FIFO, TCP-IP (or UDP-IP), remote front panels when debugging, graphs on those front panels in realtime, and a PID block.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Last edited by apalrd : 13-06-2010 at 23:24.
|