LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to convert .m file to labVIEW FPGA targets?

Hi, I'm new to labVIEW. I'm now doing a project using NI cRIO-9075. I have a .m file for the controller and now want to intergrate it to FPGA module. Is there any converting tools to do that?

Thanks!

0 Kudos
Message 1 of 5
(2,666 Views)

Hi Ijiang,

 

<humor>".m"-files are just text, so you can convert them to an array of U8 to integrate it in the FPGA 😄 </humor>

 

MathScript isn't supported on FPGA. You have to "convert" (better: re-program) it on your own...

 

(special humor-tag to clearly indicate a joke...)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,645 Views)

I appreciate your reply:)

What about Simulink Models? Can I do convert them to FPGA except re-programming?

0 Kudos
Message 3 of 5
(2,641 Views)

Hi,

 

dunno 'bout Simulink...

 

Do you have a Simulink compiler that creates IP for the FPGA in your cRIO in a way/format you can incorporate in your LabVIEW project using the CLIP node?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,636 Views)

These models are not directly supported on LabVIEW FPGA. However, if you can find other tools which can take these models and generate VHDL, Verilog, or a netlist for the component you can integrate that core into LabVIEW FPGA using IPIN or CLIP.

0 Kudos
Message 5 of 5
(2,624 Views)