Go to Post Easy, we use Magic. Your team wasn't given that in the kit? - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-01-2013, 19:27
adamcthorne adamcthorne is offline
Registered User
FRC #1111
 
Join Date: Jan 2013
Location: Crofton
Posts: 3
adamcthorne is an unknown quantity at this point
Trouble with Labview Simulation

I am having trouble getting the simulator in Labview to work and I am looking for help on this matter. I have no Idea how to get code to run or how to apply said code.
  #2   Spotlight this post!  
Unread 14-01-2013, 19:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Trouble with Labview Simulation

Please explain what you are doing that works and what you are doing that doesn't work.

Gre gMcKskle
  #3   Spotlight this post!  
Unread 15-01-2013, 18:14
adamcthorne adamcthorne is offline
Registered User
FRC #1111
 
Join Date: Jan 2013
Location: Crofton
Posts: 3
adamcthorne is an unknown quantity at this point
Re: Trouble with Labview Simulation

I am trying to set up a simulator on Labview and while I have been able to make a robot on it, I do not know how to impliment a code to affect the simulated robot. If you could help me that would be most appreciated.
  #4   Spotlight this post!  
Unread 15-01-2013, 20:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Trouble with Labview Simulation

Open the project that contains the simulated robot. Open the cRIO target and double click the RobotMain file to open it. If you look in the lower left corner of the window, the text selector will tell you where the RobotMain will run and will allow you to change where it will run.

By default, it will open to targeted to the cRIO. Right click on the label and choose the My Computer option. After it unloads and reloads the VIs, you can press the run button and it will automatically open the Simulator window and the VIs will communicate with the physics engine. You right click again to move the VI back to the cRIO.

The default VI with no code changes will run arcade. You can open the html document in the project to learn how the sensors are wired on the robot and practice writing code to use them.

Greg McKaskle
  #5   Spotlight this post!  
Unread 18-01-2013, 18:15
adamcthorne adamcthorne is offline
Registered User
FRC #1111
 
Join Date: Jan 2013
Location: Crofton
Posts: 3
adamcthorne is an unknown quantity at this point
Re: Trouble with Labview Simulation

How would I target a cRio, is it a virtual one or a physical one? If it is a virtual one where would a find one?
  #6   Spotlight this post!  
Unread 18-01-2013, 21:44
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Trouble with Labview Simulation

If the lower left says CompactRIO, that is the target it will download to. If it say MyComputer, it will run against the Simulator described by the files in the MyComputer section.

Greg McKaskle
  #7   Spotlight this post!  
Unread 19-01-2013, 01:29
bscharles's Avatar
bscharles bscharles is offline
Booyah
AKA: Brian Scharles
FRC #0930 (The Mukwonago BEARs)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Wisconsin
Posts: 53
bscharles will become famous soon enough
Re: Trouble with Labview Simulation

Check out this thread: http://www.chiefdelphi.com/forums/sh...d.php?t=110448

Post #3 contains the powerpoint presentations from our team's beta test presentation, which includes pictures and a step-by-step process of how to setup a simulator
Closed Thread


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 02:23.

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