04-15-2009 01:26 PM
I tried running the C API genator again, the header file generated has the same signature constant as before, and CVI still can't load the lvbitx file. I will try recompile the FPGA VI to produce a different signature. But i believe it may still not solve the problem since i have done that process before.
In the NiFPGA.h, the description for the error code is 'The parameter to a function was invalid'. Do you know any other possible reasons that may lead to this error? Thanks
Regards
04-15-2009 05:25 PM
Hi koutnym,
Thanks for the reply. It seems that the integer types defined in vxTypes.h are conflicting with those in stdint.h. vxTypes.h must be included before stdint.h, at least indirectly. I'm glad you got it working, though.
You actually should be using the vxworks-6.3 package, since the VxWorks kernel used by LabVIEW RT nowadays is version 6.3. You may run in to other problems, perhaps at runtime, if you continue to use the vxworks-6.6 package.
04-16-2009 04:35 PM
05-29-2009 09:50 PM
hi,
I plan to use the FPGA labview interface for our signal processing lab to get some experience with the software.
i have following questions:
1) the C interface allows programming the real time processor on RIO type system or does it allow programming the FPGA usin C?
2) if the 2nd option is correct, does labview have a mathsript type feature for writing HDL codes ,and using them direcly in labview with FPGA I/O incorporated in front panel,and programmed graphically?
thanks
sidharth
06-01-2009 12:21 PM
sidharth,
1) The C Interface is for writing applications in C/C++ that run on the processor and interface with the LabVIEW FPGA VI running on the FPGA. It is not a "C-to-gates" feature.
2) The LabVIEW FPGA Module does have something called the HDL Interface Node, which you can read more about here: http://zone.ni.com/reference/en-XX/help/371599D-01/lvfpga/hdl_input_node/
06-01-2009 12:53 PM
hi
thanks a lot.just by chance, u have any information about such tool. i searched through xilinx DSP generator toolkit,and mentor graphics Catapult C. they dont serve the purpose
sid
06-01-2009 03:40 PM
sid,
I don't know anything about such a tool.
06-30-2009 10:03 AM - edited 06-30-2009 10:07 AM
I like the C interface idea.
What development software is required to program NI-cRIO-9012 in C/C++?
I prefer to use C/C++ over Labview...but there not much information or support.
Why develop a C interface for cRIO....when C is not supported by the NI Developer Suite.
Are there any plans to futher support C in the future.
Thanks.
06-30-2009 01:00 PM
You need WindRiver Workbench 2.3 (or later) OR GNU Toolchain for VxWorks (see this tutorial).
The C API was created to give embedded customers another option when developing applictions for Compact RIO hardware. LabWindows/CVI is a great way to do this within an National Instruments environment.
The NI-Labs release of the C Interface has been very successful, and we expect to release this feature in the near future. Watch for an announcement in this forum.
Thanks for the feedback!
07-01-2009 02:52 AM