10-27-2009 01:26 PM
10-29-2009 02:22 PM
John,
Some info for you in case it helps...
The current value in a front panel control is treated as a constant when we compile for the NXT.
Front panel controls and indicators, though not typically useful on the NXT side of things, are required by our debugging feature. When you run a VI on the NXT using the Debug button, we do some extra work during the compile process so that we know the addresses of the values that came from FP controls/indicators so that we can write/read them while the program is running.
10-29-2009 04:00 PM
Bart, greetings
Thanks for your post. I suspected I must be missing something and, experimenting earlier this afternoon, I discovered that the settings of FP controls become constants. My expectations were too low by trying to emulate this!
Thanks even more for mentioning the debug mode functionality. That is astounding for debugging embedded code. I would not have even thought to try it without a prompt.
LV2009 with the NXT is going to be a great tool for teaching the principles of LV and simple mechatronics at undergraduate level. A step change up from the LV8 toolkit.
I think I would have got going quicker if the new NXT Getting Started Manual had a few more details (20 pages say) and so far as I can see, the NXT Help does not suggest debugging remote code by running connected to a PC using front panel controls/displays.
Thanks to the development team.
John Prentice
11-23-2009 04:35 PM
Hi John!
You're right, you get the direct part of the toolkit if you are targeted to the computer. there are two solutions of the problem:
1. Open the file menu. If, on the fifth selection it stands Target to NXT, select this one, and then you will find the NXT native I/O.
2. When yout come to the main menu of LabVIEW, select Blank VI Targeted to NXT.
Hope this helps
Svein-Tore
12-06-2009 05:15 AM
Hi
Thanks for a really nice release - I think that Mindstorms fits way more into LabVIEW now, then before.
But i still have one issue:
I reported a bug in the Quitient & Remainder in the thread: http://forums.ni.com/ni/board/message?board.id=460&thread.id=116&view=by_date_ascending&page=10
As far as i can see, in the new version of the Mindstorms Toolkit, you have not fixed the problem with "Quotient and Remainder" you have just made som new code around the "Divide", which is way more calculating intensive. I think that the "NXT Quotient and Remainder" is more then 4 times slower then the native "Quotient and Remainder". (which is buggy, with negative numbers)
This is not good enough! - Can it be fixed?
Regards
Steffen