Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   custom C/C++ code in LabView? (http://www.chiefdelphi.com/forums/showthread.php?t=72054)

Pneumaticsman 13-01-2009 19:30

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

fordfiler6 14-01-2009 18:04

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

dgraves702 14-01-2009 18:14

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.

fordfiler6 14-01-2009 18:17

Re: custom C/C++ code in LabView?
 
Thanks dgraves, will look into this.

:)

Pneumaticsman 14-01-2009 20:42

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 :D

Greg McKaskle 14-01-2009 23:05

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


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

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