LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

passing parameters between c and labview

Which is the best way to pass some simple parameters (int32s and bits) to and from a C application and a Fpga LV 8 program?
 
Thank you very much.
 
Phil
0 Kudos
Message 1 of 2
(3,074 Views)

"Phil Salamone" <x@no.email> wrote in message news:1167156606541-458164@exchange.ni.com...
Which is the best way to pass some simple parameters (int32s and bits) to and from a C application and a Fpga LV 8 program?
&nbsp;
Thank you very much.
&nbsp;
Phil


Since you didn't get any answer, lets give it a try...


If you want a c application to communicate with a labview vi on the FPGA, I guess the easiest way is to make a VI that communicates with the FPGA code (with a FIFO or with controls), and make a dll of that VI. I don't think the communication protocol is open, so directly communicating with the FPGA will be hard. Perhaps there is some CVI code to do this...


If you want a labview application (you can build normal apps with LV8 FPGA) to communicate with a c program, I suggest you search the forum for memory mapping or tcp\ip communication.


If this doesn't answer your question, please specify a bit more what you want. (What is "best", the fastest, easiest, and what is your setup exactly?)


Regards,


Wiebe.
0 Kudos
Message 2 of 2
(3,013 Views)