Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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,
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!