LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -363011 occurred at myRIO v1.0 Wrie I2C.vi

Solved!
Go to solution

Hello all,

 

When I am trying to run the program. I encountered this mistake.

how can I solve this problem?

 

And I pray you can help me!捕获.PNG

0 Kudos
Message 1 of 6
(1,690 Views)

There is probably (or almost certainly) an error in your code.  The best way for us to help you find it is for you to attach all of your code (which means compress the folder containing the entire Project and attach the resulting .ZIP file).  It would also help (a lot) if you described what you are trying to do.

 

Bob Schor

0 Kudos
Message 2 of 6
(1,659 Views)

Thank you very much!

This is my code.If you have time, please check it for me.

0 Kudos
Message 3 of 6
(1,645 Views)

Thank you for including your Project.  It appears that you are trying to control a myBOT, which seems to come with some of its own software that was not part of your Project (you probably, and correctly, loaded the Drivers into LabVIEW itself).  The "missing pieces" have names like "myBOT-initialize", "myBOT-controller", "myBOT-gyroscope", and others.  These routines appear to be doing most of the I/O with the myBOT (using I²C?), and might possibly be related to your error.

 

Do you have a manual for the myBOT (preferably in English, if possible)?  I tried to look up myBOT on the Web, but I'm not sure I found it!

 

While I'm thinking about it. I'm curious about your LabVIEW configuration.  Since you are using the myRIO Software Toolkit, whose most recent version is 2019, I hope you are running LabVIEW 2019 (32-bit), and have the Toolkits and drivers for LabVIEW 2019 installed, as well.  Please let us know if you have some other configuration.

 

Bob Schor

0 Kudos
Message 4 of 6
(1,638 Views)

Thanks again for your help.

I am running LabVIEW 2018 (32-bit),I have a munal about wiring and program instructions, but it's in Chinese.I hope it can make my problem clearer.

This problem has really bothered me for a long time😭.

0 Kudos
Message 5 of 6
(1,636 Views)
Solution
Accepted by topic author 面包怪兽

My ability to reach Chinese is much worse than yours -- at least you know Tooyoo Kanji (whereas I am not as good as a student in the sixth grade).

 

There are three "problem areas" you need to consider.  One is Hardware, one is Software, and one is "understanding the Problem and the Physics".

 

Hardware -- You are using a myRIO, which has three sets of connectors (MXP A and B, and MSP C).  The (Chinese) manual shows how to wire the myBOT to these three connectors, but you should also think about what the connectors mean (for example, an A/D input reads voltage, while a D/A output delivers a voltage).

 

Software -- You are running LabVIEW 2018.  For working with the myRIO, you should also have the myRIO Software Toolkit 2018.  It is often important that the Software Toolkit "match" the version of LabVIEW you are running, particularly for equipment running LabVIEW Real-Time Operating Systems (and hosting the LabVIEW Real-Time Module).  You also need to make sure that you have installed the 32-bit version of LabVIEW 2018.

 

The Hardware + Software + myBOT can work together, but now you need to consider what you want the system to do.  This is where the really interesting part comes in -- figuring out "what you want to do".  I'm guessing that you have a two-wheeled Robot that you want to program to do two basic tasks -- "balance" and stay upright, and once that is accomplished, be able to move on various surfaces and follow various routes (which involves being able to turn and follow a specified heading).  This is an interesting application of physics and mechanical engineering (I'm not an engineer, mechanical or otherwise, but I do know some math).  It is also an interesting problem trying to figure out what sensors you have available, and how to use them to make your Robot stay upright.  Does your Robot come with a "guidance chip" (I forget what they are called, but they include a 3-axis accelerometer, which the myRIO also has, a 3-axis Gyro, and a 3-axis magnetometer (so you know "which way is North").  Now all you have to do is code the "Stay Upright" algorithm in LabVIEW, and master the intricacies of LabVIEW Real-Time.  I hope you have really good teachers and mentors to guide you with this -- I would estimate it will take 6 months of hard work, but you'll learn a lot!

 

Bob Schor

0 Kudos
Message 6 of 6
(1,577 Views)