LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI read sensor VN-100

Solved!
Go to solution

I'm trying to communicate with VN-100 IMU sensor. How can I convert the read frame to three floats?

In a normal programming lanague I'd make a record of three floats and write to the adress of each element in the record. Is  it possible to do this in LabView?

 

a.png

 

 VN-100 IMU.jpg

Download All
0 Kudos
Message 1 of 3
(3,045 Views)
Solution
Accepted by aan928

what values you get from Read frame,

Do you want to extract the output of read values into three values?

If  i am right you will get an array of 12 Indexs and Each 4 Indexes represent  value of (Yaw, Pitch, Roll).

To Make it work

Use array subset and Extract the required Number of Indexes and convert them into Respective value.

 

For Detailed Answer Provide the read values.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,994 Views)

I believe what you are after is the Type Cast Function

 

-DR2

0 Kudos
Message 3 of 3
(2,984 Views)