cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Cannot read Razor IMU

¡Resuelto!
Ir a solución

Hi, I'm using this https://decibel.ni.com/content/docs/DOC-14911 example to read my Razor IMU. However, my labview can't detect the COMport. Am I missing something?

Also, I tried on another computer, and it was able to read, however, the data wouldn't appear on the graph. Please advice. 

 

Thank you 🙂

0 kudos
Mensaje 1 de 10
4.628 Vistas

Sorry. I just realized. It's because I have not downloaded the necessary driver. 

I still can't get the data to appear on the graph though.

0 kudos
Mensaje 2 de 10
4.602 Vistas

Is it because the string data from the IMU is not being converted? Help! I've been stuck on this for 2 days now.

0 kudos
Mensaje 3 de 10
4.552 Vistas

You've got an indicator on the front panel of TestVISerialIMU that shows the data from the device. What do you have in that indicator? When you probe the error wire from the VISA Read or from the ConvertString subVI, what do you see?

0 kudos
Mensaje 4 de 10
4.539 Vistas

Hi Dennis 🙂

 

They all show "0", however the IMU text does display data. And when probe error wire from the VISA Read, ït says {status => False; code => 0; source => ''}

 

0 kudos
Mensaje 5 de 10
4.518 Vistas

Is there something wrong with the ConvertString_RollPitchYaw?

0 kudos
Mensaje 6 de 10
4.415 Vistas
Why don't you actually post the VI AND that shows the data? This is simple to do. Run the VI until you have data showing in the string indicator. Go to Edit> Make Current Values Default. Save the VI. Attach it. Then someone can see if the parser is not working or you are getting incorrect readings.
0 kudos
Mensaje 7 de 10
4.409 Vistas
0 kudos
Mensaje 8 de 10
4.399 Vistas
Solución
Aceptado por 'Aliah

As you can see in the subVI ConvertString_RollPitchYaw (SubVI), the expected start of the string is !ANG:. The start of the string you are getting is #YPR=. Change the subVI to get ypr values. I have no idea if there is something wrong with you getting a different prefix.

Mensaje 9 de 10
4.393 Vistas

I changed the subVI and it worked! Thank you so much, Dennis.

0 kudos
Mensaje 10 de 10
4.382 Vistas