Go to Post When you come down to it, FIRST is about people inspiring other people; STEM and the robots are just the subject matter. - RyanCahoon [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-01-2009, 19:30
Pneumaticsman's Avatar
Pneumaticsman Pneumaticsman is offline
Registered User
AKA: Mitch guzman
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Idaho
Posts: 69
Pneumaticsman will become famous soon enoughPneumaticsman will become famous soon enough
Send a message via MSN to Pneumaticsman
Question custom C/C++ code in LabView?

does anyone know if there is a way that you can input custom code for C/C++ in LabView?

Thanks
__________________


be prepared for the unexpected
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2009, 18:04
fordfiler6 fordfiler6 is offline
F2
AKA: Ford Filer
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2009
Location: Victor, NY
Posts: 8
fordfiler6 is an unknown quantity at this point
Re: custom C/C++ code in LabView?

I've been told there is a way, but I am yet to find it.
Looking forward to hearing if anyone has

Last edited by fordfiler6 : 14-01-2009 at 18:11.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2009, 18:14
dgraves702 dgraves702 is offline
Registered User
FRC #0702 (Bagel Bytes)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2002
Location: Los Angeles
Posts: 7
dgraves702 is an unknown quantity at this point
Re: custom C/C++ code in LabView?

You can use a "Code Interface Node" to call an external C/C++ function.

Look it up in the Help documents to get more information.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2009, 18:17
fordfiler6 fordfiler6 is offline
F2
AKA: Ford Filer
FRC #1559 (Devil Tech)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2009
Location: Victor, NY
Posts: 8
fordfiler6 is an unknown quantity at this point
Re: custom C/C++ code in LabView?

Thanks dgraves, will look into this.

Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2009, 20:42
Pneumaticsman's Avatar
Pneumaticsman Pneumaticsman is offline
Registered User
AKA: Mitch guzman
FRC #1566 (Ammoknights)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Idaho
Posts: 69
Pneumaticsman will become famous soon enoughPneumaticsman will become famous soon enough
Send a message via MSN to Pneumaticsman
Re: custom C/C++ code in LabView?

thanks, I'll definitely look into this. We're trying to figure out how to start at a set speed and accelerate until we reach full speed. we plan on using this using a delay loop, but we can't quite figure out how to do it in LabView, but we know how to do it in C
__________________


be prepared for the unexpected
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2009, 23:05
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,748
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: custom C/C++ code in LabView?

I'm not sure what you are calling a delay loop. If you are wanting a timed loop that runs in parallel, look at doing a parallel loop with a time delay that reads set points and updates motors.

If you are set on doing C code, you should look at tutorials on the Call Library Function node.

Greg McKaskle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
help me in LabView code mahmosh National Instruments LabVIEW and Data Acquisition 3 11-01-2009 00:18
LabVIEW Error Code 1055? Vince FRC Control System 11 29-11-2008 09:32
Configuring Labview code to easyC team877 LabView and Data Acquisition 6 16-01-2007 09:21
Custom Dashboard code for LabVIEW ready for download. archiver 2001 3 24-06-2002 00:49


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

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