LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom sensor configuration for sensor mapping

Hi all,

I'm developing an application that performs sensor mapping of a STL model. I analyzed Sensor Mapping Express VI, it is very useful for development of my application.

But, my application requires to change sensore position or model or other settings at run time. Hence, I need to create a custom sensor configuration editor to define sensor positions, stl file path, and so on. (See attachment)

I don't understand how can I change sensors position at run time.

 

Thanks all.

 

 

 

 

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

Convert your Express VI as in the link below.

http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/create_expvi_subvis/

You will have to do this process to get to the underlying vi. Once you have access to the underlying code, you can add a bit more programming to specify file paths / sensors etc.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 4
(2,895 Views)

I've already analyzed the underlying code. The only way to add/remove sensors or change their position is with the following procedure:

Stop the program -> open block diagram -> double click on express VI -> Sensor configuration window appears.

I'd like to create my custom sensor configuration window but the underlyng code in the express VI doesnt' show how to perform this configuration.

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

Sorry, the reply above may have been a bit vague. I am trying to say that express vis are native labview code packed with an easy to use configuration front panel. You can access the underlying code by digging a bit deeper in to it.

 

1. Right click on the express vi and select Open Front Panel

2. Click OK to the warning message

3. Repeat Step1 on the resulting block.

4. Use Ctrl+M to view the vi in edit mode.

 

Then you would have access to all the inputs, in this case its a cluster with all the information. So with some more programming, you can add the extra customisation you would like.

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 4
(2,865 Views)