Hot answers tagged labview
You can't calibrate the motors, neither mechanically or in software. There is however several methods in the software to account for this. The standard NXT firmware contains a synchronization mode which attempt to keep the two motors aligned. In NXC you can do this by using the function OnFwdSync like this: OnFwdSync( OUT_AC, 75, 0 ); First parameter is the ...
After looking around a bit in the NXT IO palette in LabVIEW, I found a few functions which will sync the motors while driving the robot. The "drive distance" and "steering on" VIs will both sync the motors appropriately to make the robot drive straight. The "motor on" and "motor reverse" blocks, which are the default options if you don't go down into the ...
The difference in speed can't be avoided. Even if the motors themselves were carefully paired, differences of friction on the axles or weight unbalance of the robot would result in speed mismatch. I am not used to LabVIEW, but the NXT firmware has a way to synchronize two motors, this functionnality should be available in LabVIEW.
This is more of a LabView answer than a Mindstorms answer, but you should be able to create a SubVI that represents a task, and then you can place that in the main VI. This help document might be useful: http://zone.ni.com/reference/en-XX/help/372962A-01/lvnxt/creatingusingsubvi/
I am not used to LabVIEW... but RIC image files, supported by NXT firmware, can also be used by LabView I guess. So nxtRICEdit may help. See also RICfont utility, more information (though targetted NXC/NXT-G, should be useful) here.
Here is a simple method to help you match up your motors as well as possible: http://www.techbrick.com/Lego/TechBrick/TechTips/NXTCalibration/
I would recommend you post this question to the National Instruments Discussion Forums. We have a dedicated board for supporting the LabVIEW for Mindstorms software. Since you are using LabVIEW, you can post the question there and NI support engineers are guaranteed to help you. http://forums.ni.com/t5/LabVIEW-for-LEGO-MINDSTORMS-and/bd-p/460
A speed in second makes no sense to me. Are there more information about this motor, like to maximum rpm/power ? If so, maybe that the scale from -100 to 100 is some sort of percentage of max rpm/power, with the positives being one rotation direction and the negatives the other ?
I think LabVIEW only works with 3 motors. You could use EV3-G instead.
Once you download the block from the Lego site, you can import it into the LabVIEW by using the Tools tab and then Block Import, but first you need to be in an open program. LabVIEW will prompt you to browse your folders to find the downloaded file, and then select Import at the bottom of the window. Finally, you will need to close LabVIEW and reopen it to ...
Only top voted, non community-wiki answers of a minimum length are eligible