11-13-2018 12:37 PM
I'm programming in LabVIEW since 1993, so I got a bit ahead of you.
Anyway I'm also teaching after my retirement from Philips at the mechatronics department of Fontys in Eindhoven. 7 weeks 2 hours times 4 classes. So I know a bit how you feel, when I check my students.
I'm now building in some debugging because I miss the hardware. But maybe also handy for you.
In debugging you always can switch on the lightbulb (fifth element on the left second top row in the diagram.
You can then see the data flow slowly. Sometimes it shows what you do wrong....
11-13-2018 01:24 PM
I did not find a bug in simulation mode, so look at the lighting in the room, maybe the white balance or color temperature of the lighting changed. Anyway I added this mode and extended, clarified the retreiving code a bit. here I used a sequence to go to a position and then wait long enough move out all blocks of that color.
I also miss a small piece of software that pops up when saving for LV15:
C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\NXT\Dual Mode Library\Sensors\i2c_sensors.vi (i2c_sensors.vi)
- This VI needs a driver or toolkit component that is not found. Missing resource file "NXTInputOutput.rc".
- This VI needs a driver or toolkit component that is not found. Missing resource file "EV3Primitive.rc".
But I don't have the lego hardware anyway...
11-13-2018 01:37 PM
We will check it out tomorrow morning 🙂
11-14-2018 04:52 AM - edited 11-14-2018 04:52 AM
We have some problems with creating a proper subVI with three inputs (2 motors, one position) to the retrieving part of the system... We want one just like your move motor.vi
Under i've added a doc with illustrations and also the subVi that i need to be like the move motors.vi with 3 inputs... Whenever we try to create a subVI, it doesnt work like yours...
11-14-2018 05:19 AM
Same problem occured with the cluster only storing brown as the color today aswell... tried with red, blue and green
11-14-2018 05:46 AM
11-14-2018 05:47 AM
11-14-2018 05:56 AM
Yes, im pretty sure we did actually(like 95%). Could double check but might not be able to do that until tomorrow morning...
11-14-2018 06:22 AM
11-14-2018 07:23 AM
Hmmm... we will have a thorough look at it tomorrow morning... we've got just about 4 hours at our disposal then, so that should be more than enough time to test the whole process (as long as it doesn't record them as brown though, haha)