07-12-2015 10:08 AM
Hi,
I hope the question is clear enough from the title...
And I really hope for positive answer...
Tanx for advance (even for negative answer...)
Aviad
07-13-2015 09:25 AM
Here is some good information on the matter:
'C/C++ Embedded System Design Tools'
http://www.ni.com/white-paper/14623/en/
~ Q ~
07-14-2015 02:28 AM
Thanks Queue-tip!
I guess I don't clear my self...
I want to build driver for the instrument that connected to the RIO chassis, e.g: I connect NI-9211 to the NI-9149 chassis and want to read the outcome temperatures. With labView Its strait forward, Can i do it with C\C++?
Thankes again,
Aviad
07-15-2015 01:21 PM
You can program the RTOS on a cRIO using C/C++ code (e.g. using the Eclipse). The FPGA on a cRIO must be programmed using LabVIEW FPGA. The following image depicts this information:
The NI-9149 is an expansion chassis meaning that is has an FPGA backplane but no controler runnng an RTOS. Thus, if I am understanding your question correctly, you cannot directly program the 9149 using C/C++.
~ Q ~
07-15-2015 04:47 PM
Aviad,
The c/c++ api is very similar to the labview interfactace for a RIO device. You can open a reference to the FPGA reference of a remote target with the c/C++ api just as you would with LabVIEW. Once you install the C API for FPGA you should be able to create interact with a FPGA on the 9149 across the network.
LabVIEW FPGA C Interface API
http://www.ni.com/download/fpga-interface-c-api-14.0/4946/en/
Here is an example. if you look at the notes for the nifpga.h you would reference the resource by rio://mysystem/RIO .
https://decibel.ni.com/content/docs/DOC-31772
07-16-2015 04:18 AM
Thanks All!
I am little bit confuse
.
At that step of the project, I don't need the FPGA features. I only want to communicate with the modulus that connected to the NI-9149 Chassis, like NI-9211 or NI-9200.
Can I do it without the RIO FPGA?
Thanks for advance,
Aviad
07-16-2015 08:19 AM
Aviad,
There is not c interface directly to the modules. They are all affixed to the FPGA so at some level the FPGA needs to be programmed to interact with the modules.
What loop rates are you looking for?
Are you doing across network control?
Can you describe your application a little more?
07-16-2015 08:47 AM
Hi Kyle,
In general description:
My system sample:
Thankes for the help,
Aviad