Go to Post This tee-shirt collecting gets kind of addicting, doesn't it? - Chief Hedgehog [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 12-09-2011, 16:41
linkhyrule5 linkhyrule5 is offline
Registered User
FRC #1072
 
Join Date: Oct 2009
Location: California
Posts: 12
linkhyrule5 is an unknown quantity at this point
CIN code - LabVIEW Stops on run

I seem to be having an issue using Code Interface Nodes on the cRIO. The C code itself has been tested within the environment, and works when running on my laptop. However, after loading code onto the robot, the program terminates during or immediately after the CIN - a breakpoint placed immediately after the node does not trigger. My guess is that there are problems importing and xporting variables - I am using a one double and one two-dimensional double array.

Thank you for your time.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-09-2011, 16:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CIN code - LabVIEW Stops on run

Is your code compiled for vxworks on ppc?
Reply With Quote
  #3   Spotlight this post!  
Unread 12-09-2011, 17:53
linkhyrule5 linkhyrule5 is offline
Registered User
FRC #1072
 
Join Date: Oct 2009
Location: California
Posts: 12
linkhyrule5 is an unknown quantity at this point
Re: CIN code - LabVIEW Stops on run

Probably not. I just followed the general CIN directions for LabVIEW. I don't know if it matters, though, since I'm running directly from my laptop for now, though it'll be something to think about for competition.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-09-2011, 00:41
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: CIN code - LabVIEW Stops on run

The CIN is not appropriate for the cRIO. You should be using the Call Library node to accomplish the same thing. Use the wind river tools to compile a .out file and call it's entry-points with a call library node.

Look here and here.

-Joe
Reply With Quote
  #5   Spotlight this post!  
Unread 18-09-2011, 22:53
linkhyrule5 linkhyrule5 is offline
Registered User
FRC #1072
 
Join Date: Oct 2009
Location: California
Posts: 12
linkhyrule5 is an unknown quantity at this point
Re: CIN code - LabVIEW Stops on run

Ah, I see! Thanks! (And sorry for the slow response; for some reason the email-alert failed.)
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 20:40.

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