Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Compact rio not being able to use C (http://www.chiefdelphi.com/forums/showthread.php?t=68801)

kenethare 08-12-2008 06:34 PM

Compact rio not being able to use C
 
I may sound like an idiot here but awhile back a person from NI came to my team and told us that the compact RIO can't use C programing. I was not at that meeting and want to know for sure if this is true. Can you guys give me and other sources than FIRST and NI, because they have so far been non-conclusive. It would be great if someone had a link to a place where this was announced, so i can show my team.
Thank You.

Tom Line 08-12-2008 06:38 PM

Re: Compact rio not being able to use C
 
I suggest you look around. It has been clearly stated a number of times that the compactrio WILL be supporting C and that WPI will be handling the C library coding to keep it on equal footing with what NI releases for Labview.

kenethare 08-12-2008 06:45 PM

Re: Compact rio not being able to use C
 
Thank you i thought so i just need a way to prove it to my team because this guy was a pretty smooth talker and has them all convinced.
this is good news for me thanks for the fast reply.

jtdowney 08-12-2008 06:48 PM

Re: Compact rio not being able to use C
 
Quote:

Originally Posted by kenethare (Post 761369)
Thank you i thought so i just need a way to prove it to my team because this guy was a pretty smooth talker and has them all convinced.

On the WPI FIRST page regarding the new control system which is linked from the FIRST website it says:

Quote:

The cRIO from National Instruments can be programmed in LabVIEW or C.

Joe Ross 08-12-2008 07:02 PM

Re: Compact rio not being able to use C
 
National Instruments has not yet released anything for C with the Compact Rio to the general public. We are one of the guinea pigs.

It's very likely the person you spoke to is not aware of the development of the FIRST controller and the C interface.

Here is the NI press release, which mentions C programming: http://digital.ni.com/worldwide/bwco...25742B00737DF5

BJT 08-12-2008 10:01 PM

Re: Compact rio not being able to use C
 
Does anyone know if we can use EasyC with the new controller? Forgive me if that's a stupid question, I'm no programmer. The last thing I programmed was an Apple 2 using Basic.

Richard McClellan 08-12-2008 10:10 PM

Re: Compact rio not being able to use C
 
Quote:

Originally Posted by BJT (Post 761404)
Does anyone know if we can use EasyC with the new controller? Forgive me if that's a stupid question, I'm no programmer. The last thing I programmed was an Apple 2 using Basic.

No, currently there is no plan for EasyC or any program like it to be available for the new controller. However, if you're used to using EasyC, using LabVIEW might not be too difficult since LabVIEW is a graphical programming environment, where you place blocks on a block diagram and wire them together.

EHaskins 08-12-2008 10:10 PM

Re: Compact rio not being able to use C
 
Quote:

Originally Posted by BJT (Post 761404)
Does anyone know if we can use EasyC with the new controller? Forgive me if that's a stupid question, I'm no programmer. The last thing I programmed was an Apple 2 using Basic.

I haven't heard anything about EasyC being adapted to be used with the new controller, but I expect someone to release a comparable IDE for the new system.

BJT 08-12-2008 10:18 PM

Re: Compact rio not being able to use C
 
Thanks.

whytheheckme 08-13-2008 02:17 PM

Re: Compact rio not being able to use C
 
Intelitek hasn't given an official statement regarding easyC, (imho) it sounds like they are either working on it, or they are not. So I wouldn't rule it out (just quite yet.)

My $.02
Jacob

slavik262 08-15-2008 12:32 AM

Re: Compact rio not being able to use C
 
From my understanding, the cRIO would be programmable in C++. Is this still the case? I remember quite a buzz about finally being able to use C++ as opposed to C.

Lowfategg 08-15-2008 01:11 AM

Re: Compact rio not being able to use C
 
Quote:

Originally Posted by slavik262 (Post 761666)
From my understanding, the cRIO would be programmable in C++. Is this still the case? I remember quite a buzz about finally being able to use C++ as opposed to C.

I heard that to, or was that dealing with using C++ inside of labview.

Pat Fairbank 08-15-2008 04:09 AM

Re: Compact rio not being able to use C
 
Quote:

Originally Posted by slavik262 (Post 761666)
From my understanding, the cRIO would be programmable in C++. Is this still the case? I remember quite a buzz about finally being able to use C++ as opposed to C.

From what I remember from the mentor presentation in Atlanta, the compiler that will be used is GCC (with an IDE provided by Wind River). So since C++ is mostly a superset of C, if the base code is provided in C it will compile in C++ as well. (I suppose this implies that you can also write a module or two in Fortran, Objective C, Ada, etc. if you really want.)

slavik262 08-15-2008 02:21 PM

Re: Compact rio not being able to use C
 
I realize the base code will compile in C++ if you can compile in C. However, I'm looking forward to using the features presented in C++ that aren't in C such as being able to use Object-Oriented Programming techniques and templates. My question is: will we be able to write/compile code in C++? I thought that this was the case.

Michael Hill 08-15-2008 09:35 PM

Re: Compact rio not being able to use C
 
I haven't done much work with Compact RIO, but can you not use Code Interface Nodes with them?


All times are GMT -5. The time now is 06:59 AM.

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