Go to Post A wise man told me a few nights ago, that it is important to own up to all your mistakes, so that others can see you doing that and wont deny and try to hide their own. - Josh Hambright [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2015, 20:27
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Messed Up Robot Main.vi by changing something in Begin.vi?

I have not edited robot main.vi at all. This problem has occurred on two separate programs, so I know I'm doing something wrong, I just don't know what.

The error I'm seeing when building my code says
"Items with errors:
Robot Main.vi
Details Display Dialog.vi
Not Found Dialog.vi"

With Robot Main.vi, the connection stemming from Begin.vi is broken; the error says the code is trying to wire together two different data types (cluster of three elements to boolean). For Dialog.vi, it says that the function is not supported for the current target.

I'm very new to LabView; what could I have changed in the Begin.vi that would have caused this? Attached is Begin.vi
Attached Thumbnails
Click image for larger version

Name:	error.png
Views:	30
Size:	19.7 KB
ID:	18335  
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2015, 20:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

The only errors in Begin.vi that I see is PWM 1 is used twice.
Usually, an error like the one you are describing means the error out was deleted or the terminal was moved.

You can try clicking on the broken arrow for more information, but you probably already see all there is to see.
  • Open Robot Main and there should be a broken arrow on the top menu bar on the left.
  • Click on it and a list of errors should appear.
  • Click on an error and it will take you to what it thinks is wrong.
If you want to attach both the Begin.vi and the Robot Main.vi we could inspect them and probably be more helpful.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2015, 20:43
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

Attached is Begin.vi and Robot Main.vi, though I have not touched Robot Main.vi at all. I changed PWM1 once to another unused PWM, but this did not resolve the issue. How would you delete the error out?
Attached Files
File Type: vi Robot Main.vi (14.7 KB, 3 views)
File Type: vi Begin.vi (25.0 KB, 5 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2015, 00:27
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

Update: I previously thought that some sort of code I had submitted in Begin.Vi had messed this up. Teleop and Begin were the only VI's I had touched. I tried a basic mecanum with arm code and encountered the same build error. Note: it is only AFTER this error that the connection between Begin.vi and the other thingys break. I'm not quite sure what could be causing this, but hopefully will figure it out in the next few hours.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2015, 06:44
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

Update: I have managed a temporary fix (attached) but would still like help, as I'm sure it will be causing problems. However, this allows the code to at least build. The error in for Server.vi has disappeared...though I have not edited Robot Main.vi

Any suggestions?
Attached Thumbnails
Click image for larger version

Name:	tempfix.png
Views:	21
Size:	15.1 KB
ID:	18345  
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2015, 07:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

It sounds like this might be due to library mismatches, so when a project loads it is linking to an older set of libraries that have a few changes and break connections.

I assume you don't see any unusual messages when the project first loads.

Did the computer you are using have an earlier/different version of LabVIEW previously installed on it?
Do you have a second computer LabVIEW could be installed on (after uninstalling all previous LabVIEW installations)?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2015, 08:51
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

This particular classmate is brand new, we have a second from 2014 that I can try testing on when our meeting starts today, or a desktop (though these had previous versions of LabView). By libraries, do you mean previous versions of Labview? There are multiple programs I've written on this computer, though I haven't copied from one to the other. Should I try deleting some unused ones/would this help the mismatch?
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2015, 09:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

First pick one of the other machines, like the desktop.
Uninstall all National Instruments software.
Then install the new edition and see if the default code works okay.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 14-02-2015, 16:36
stopyourself stopyourself is offline
Registered User
FRC #2335 (Sargon)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Prairie Village
Posts: 35
stopyourself is on a distinguished road
Re: Messed Up Robot Main.vi by changing something in Begin.vi?

Well, it works now. Thanks for all your help!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi