LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set up multi-session on one lidar in one vi?

Hi all

 

I want a lidar to work on different referece( like cluster count, range) for multi functions.

 

Should I creat more than 1 conncet session to a lidar at same time? see the picture.

 

or any other method please give a tip.

 

cheers

 

 

0 Kudos
Message 1 of 4
(2,467 Views)

Hi jeff-rmit,

 

Looking at your screenshot, I have a couple of questions:

 

What is the HKYURG (i see you circled what seems to be the read functions) in your block diagram?

Also, do you know where the drivers for the lidar you are using came from?

 

Hopefully the answers to these questions will help narrow down an answer to your original question.

Justin M.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(2,399 Views)

HI Justin

thanks for your reply

 

the model is urg-04lx-ug01

 

driver downloaded from hokuyou website for this model.

0 Kudos
Message 3 of 4
(2,385 Views)

Hi jeff-rmit,

 

I think what you are trying to do is set different parameters for a single lidar as you are scanning different things. Unfortunately, there is not a way to do this unless you do it programatically. If you open two sessions, and try to connect to the lidar, you will get errors. Also, it looks like you have your loops running in parallel, and therefore cannot have two different settings for one lidar running at the same time. If you do want to change the values, you can change them programatically by closing your precious session, and opening a new session to your lidar with new initialization settings.

 

Here are two examples i would take a look at working with your lidar so you can see some options for interfacing with it:

https://decibel.ni.com/content/docs/DOC-35698

https://decibel.ni.com/content/docs/DOC-32172

Justin M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(2,351 Views)