10-31-2011 05:09 AM
Hi Benjamin
Thanks for your help. But seems like your file was created in the version 11 of labView whereas mine is 10. So I cant open the file.
Thanks
10-31-2011 05:17 AM
Hi Jolanta,
My apologies. Here is the vi for LabVIEW 2010.
Regards,
10-31-2011 05:23 AM
Thanks Benjamin
You have been really great. I will work on this and will get back to you shortly.
Thanks a ton again
10-31-2011 10:22 AM
Hi Benjamin I ran this file. Got the current voltage reading by my laser sensor. In case of light sensor attached to the nxt port 3, the output waveform remains stuck in 100 as scaled value and no LED is glowing. I am sure the NXT is attached and detected. didnt really understand this
10-31-2011 12:30 PM
Hi Jolanta,
Are you using USB or bluetooth to connect to your NXT? When you connected your NXT did you get a promt from LabVIEW to upgrade the firmware? You can check the connection to the NXT and upgrade the firmware in the NXT Terminal. In Labview if you go to Tools>>NXT Terminal you can see the NXT's current status. Click on the Update Firmware button to reload the firmware, this normally fixes a lot of issues.
Let me know how you get on.
Regards,
10-31-2011 01:33 PM
I updated the firmware, the results remained unchanged. The LED of the sensor does not glow, and the colour sensor waveform amplitude remains on 100 which is scaled value. and the nxt is connected via USB,
10-31-2011 01:37 PM
sorry benjamin but i think I am a bit worried as my plan was to scan the object using laser sensor and use lego midstorms as X-Y table to hold and move the sensor and acquire X,Y and Z co-ordinates of that object. I think this will be a difficult task. 😞
10-31-2011 05:12 PM - edited 10-31-2011 05:19 PM
Can you try running the NXT Motors instead of reading the light sensor value?
Maybe try and get the Lego XY table bit working separately before trying to combine everything.
11-01-2011 05:05 AM
Hi Jolanta,
Are you using a color sensor on your NXT in port 3? if you are you need to change the code i sent you to read an input from the color sensor on port 3. I have attached a screenshot on how to do this.
Please let me know if you get a reading.
Regards,
11-01-2011 09:49 AM
Thanks Benjamin. The sensor is giving the values now. I think the next task will be I should build Lego in such a way that it holds the LASER sensor and moves it in X-Y direction. But then I am not sure of how to acquire X,Y,Z co-ordinates of an object beng scanned.
Thanks
Jolanta