06-24-2016 04:46 AM
Hello everyone,
I would like to calculte distance using my ultrasonic sensor MB1040 (http://maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf) with my NI myRio.
The connections that i have made with the sensor and NI myRIO MXP Connector B are shown below:
1. VCC: A/+3.3V (pin 33)
2. GND: A/GND (pin 30)
3. TX: A/UART.RX (pin 10)
But my code has the error -1073807253
Any help is much appreciated !
Thank you for your time.
06-24-2016 04:58 AM - edited 06-24-2016 05:01 AM
Are you really using myRIO??
https://decibel.ni.com/content/docs/DOC-36001
Also you can post it here to get quick reply for issues related to academic hardware.
If its just a serial communication give some time to read data in the loop(add wait) - Else refer Find example for basic serial read write
06-24-2016 05:52 AM
First of all thank you for your answer. I tried to give some time to read data in the loop but i still have the same error.
06-27-2016 03:30 PM
Hi,
Have you taken a look at this document?
http://digital.ni.com/public.nsf/allkb/F3E0621CB71AA16786256F970000FC57
I hope this helps!
Best Regards,