Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

sick lms

Hi,

 

I met a problem when I'm using the LabView program downloaded from NI developer zone to control LMS291.

 

I have to get the scan rate as high as possible, and I know the scan period of the sensor itself is about 53 ms for the resolution is 0.25 degree. In this program the time between reading in two scans is about 1 s. I monitored the system time and found the most time-consuming step is at VISA Read vi (commented as Read data) in Read Continuous Measurement.vi, which costs about 0.85 ms. Is there any way that I can improve it? Attached is the program.

 

I am using RS232...does it matter?

 

Thanks in advance

0 Kudos
Message 1 of 2
(2,887 Views)
You must use the SICK interface at 500k to get all of the data.  I am not sure what you downloaded, but I posted some VI's that got all of the data(at 500K).  They are here.
0 Kudos
Message 2 of 2
(2,873 Views)