|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Main vi help-urgent
Ok recently I deleted my old teleop cold and pasted in some new stuff. I deleted EVERYTHING from the old teleop vi and then copied and pasted the new code. The Match Info, Call Context, and LED toggle rate (ms) were copied and pasted into teleop as well. Now in Main vi there are broken wires because it says I have connected two wires of different types. How do I fix this? I have the old code and have tried copying and pasting back into teleop but nothing changes in Main. When I hover my house over the Teleop vi in Main I see no terminals for the wires to be wired into. So I need to know how to fix this because I can no longer build any code because of the broken wires and I don't think I should just delete the wires and try to load again because then I will lose the working code in the robot and frustrate people around me.
|
|
#2
|
|||
|
|||
|
Re: Main vi help-urgent
I think you have no choice but to delete and replace the wires one by one, a word of advice, copy don't delete in the future, and also if you are close with everything else in the program, i recomend taking some time and copying it by hand next time(I actually had to do that myself last night when some global data went missing).
Last edited by Ian McShane : 16-02-2011 at 17:59. Reason: re-read and understood the question |
|
#3
|
|||
|
|||
|
Re: Main vi help-urgent
Quote:
|
|
#4
|
|||
|
|||
|
Re: Main vi help-urgent
See what happens if you replace them with the ones original to the c rio project template that they give us. If you already tried that, i am not sure what to tell you.
|
|
#5
|
|||||
|
|||||
|
Re: Main vi help-urgent
When you deleted everything, you also deleted all the Inputs they represented that Teleop.vi starts out with.
You can put them back pretty easily, but you have to know what goes where. You add inputs (and outputs) to a vi from its' front panel.
Then when you delete just avoid deleting the Error cluster, the Match Info, and the Call Context. Last edited by Mark McLeod : 16-02-2011 at 18:37. |
|
#6
|
|||
|
|||
|
Re: Main vi help-urgent
ohhhhhh, i don't think i understood what you meant before, because what Mr McLeod is saying is right. you just did not reconnect the wires.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|