Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   CIN code - LabVIEW Stops on run (http://www.chiefdelphi.com/forums/showthread.php?t=97316)

linkhyrule5 12-09-2011 16:41

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.

Joe Ross 12-09-2011 16:58

Re: CIN code - LabVIEW Stops on run
 
Is your code compiled for vxworks on ppc?

linkhyrule5 12-09-2011 17:53

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.

jhersh 13-09-2011 00:41

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

linkhyrule5 18-09-2011 22:53

Re: CIN code - LabVIEW Stops on run
 
Ah, I see! Thanks! (And sorry for the slow response; for some reason the email-alert failed.)


All times are GMT -5. The time now is 09:26.

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