Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

problem about make serial data to polar plot

The serial data was read from sick LMS200,I want to make data to polar plot,like the jpeg in affix.
1,For example ,some data are :01 95 01 9F 01 9E 01 9D 01 9E 01 A5 01 AB. when plot,they were considered as 14 data,and paint 14 lines.
In fact they are 7data,low byte and high byte ,shoule paint 7 lines.how can I combination low byte and high byte and draw the polar plot.
2,Polar graphs can only draw lines between points,but I need to draw lines between center of circle and point.
please help me
0 Kudos
Message 1 of 10
(5,808 Views)
Here are a couple of VI's that I developed for an LMS291.  You can alter them to fit your application.
Download All
Message 2 of 10
(5,799 Views)

thank you for your help

I use labview7.1,but i can't open  Hex string to Decimal example.vi

can you give me the vi?

0 Kudos
Message 3 of 10
(5,794 Views)
Sorry, I should have included it.  Here it is.
0 Kudos
Message 4 of 10
(5,791 Views)

thanks for you help ,now I can make the polar polt correctly.

now my new job is to fusion the laser data with 2D CCD image to creat 3D model.

I intend to using CCD capture 2D image,laser lift and fall to obtain diatant information.

How to matching and fusion the object in image and the its range data using Labview?

please help me again.Thank you very much.

0 Kudos
Message 5 of 10
(5,738 Views)
This is pretty involved.  Can I suggest an alternative?  Some SICK models will also send back reflectivity data for each point in a scan.  You can essentially make a picture using this data and the distance data.  Even though an object is at a fixed distance, if it consists of different materials or colors, that will show up in the reflectivity data.
0 Kudos
Message 6 of 10
(5,725 Views)
 

 

Hi, I'm using SICK_LMS 291 currently.. i tried using the serial write and read file before , its works well.. but however i am not sure why it does not works suddenly, the labview file i use is the same as the above file, i tried using SICK software and it shows there is data being receive and send too.. Is there anything i can check or do to get back teh readings of SICK again? Hope someone can help asap... THanks alot.

0 Kudos
Message 7 of 10
(5,187 Views)
Are you getting any errors?  Is any data getting received at the serial read?  Is it just not parsing the data correctly?
0 Kudos
Message 8 of 10
(5,181 Views)
 
 
The file attached is what i'm using currently,  No errors so far.. No data is being received at the serial read.. However when used with the SICK software , it shows that its working..   What do u mean by parsing the data correctly?
0 Kudos
Message 9 of 10
(5,163 Views)
If it is working with the SICK software, then either the port configuration settings aren't the same, or your write string isn't being accepted.  Its been a while since I've used an LMS, but I recall that they had an ACK and NACK response, so you should at least be getting that.  By parsing I mean interpreting the data once it is received.
0 Kudos
Message 10 of 10
(5,141 Views)