LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sensor Mapping

Solved!
Go to solution
I am trying to use a 3D picture control to plot a simple geometric object (a cube) and then plot measurements that occurred within that object.  So basically a 4D plot.  I read the training session located at http://digital.ni.com/src.nsf/websearch/624DF39F2EBF492E8625738A006F0D42?OpenDocument&node=203014_us which showed me how to create the cube.  I also found this example of using sensor mapping http://decibel.ni.com/content/docs/DOC-2059.  This is pretty much what I want to do but I don't have a model file.  Is there a way to add sensor values to a 3D picture control when you don't have a .wrl or .stl file?  Anybody have any examples?  Thanks.
0 Kudos
Message 1 of 6
(4,196 Views)
Solution
Accepted by topic author rohrdt

Hello,

 

You may want to review the 4D Plot example linked below:

 

4D Plot, a 3 degree of freedom accelerometer data with respect to time
http://decibel.ni.com/content/docs/DOC-9291

 

Do this seem like the task you are trying to achieve? This uses additional features of the 3D Picture control palette, as opposed to the Sensor Mapping VI. In order to correctly place and render sensor data, we would need to generate a basic model file load with the Sensor Mapping VI. 

 

Please post back any additional questions you may have.

 

Cheers!

Patrick Corcoran
Application Engineering Specialist | Control
National Instruments

Message 2 of 6
(4,168 Views)
This example works get great.  I was able to customized just fine.  Thanks for your help.
0 Kudos
Message 3 of 6
(4,151 Views)

Hello

 

I'm trying to do something similar to this you've written about, but I dont think that the 4D Picture can be my solution. I want to do sensor mapping over an articulated assembly, and to relate the assembly's joints to variables in the VI so can be manipulated from signals aquired trough DAQ. You've said that Sensor Mapping needs some kind of file to work properly, but I'm wondering, can this file be created from the 3D picture control, and updated to the Sensor Mapping in each iteration of the algorythm? or can each part of the assembly be precessed with Sensor Mapping VI, and the imported to an assembly in a 3D picture control?

 

Appreciate your help, regards

 

Jaime

0 Kudos
Message 4 of 6
(4,022 Views)

Hi Jaime,

 

I think you should be able to use the above example as a starting point and do some adjustments for your particular application.  To me it sounds as though you have X, Y and Z coordinate values that will defined the shape of your assembly.  And then you will have a 4th variable which will be your voltage measurements at each of these coordinates.

 

The X, Y, and Z coordinates will change depending on the manipulation of your joints.  So instead of those 3 variables being static, they are dynamic.  The use of the 4D plot would be the same.  Although this example is reading data from a file, this can very easily be altered to read from a DAQ device, and the plotting can be placed in a while loop so that it continuously updates to show the position of the articulated assembly.

 

I hope this helps!

Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.
0 Kudos
Message 5 of 6
(3,995 Views)
Hi Who have the source code of 3D sensor mapping? I found somthing wrong when i used 3D sensor mapping.For exemple,i want to measurement the man's temperature field . pig.1,pig.2,pig.3shows the results,we found that the temperature of hands affect the body(buttock)'s temperature field,but in my opinion,there are two parts without any connection. So i want to know the algorithm of the 3D sensor mapping. Could anyone help me? Thanks
0 Kudos
Message 6 of 6
(3,851 Views)