LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView FPGA

Hi everyone!

I'm encountering an issue while making pulse width modulation on LabView FPGA using the version 2019 32 bit, with my-RIO.

Currently I'm working with an Example known as :"my-RIO 1900 Customized FPGA.vi" and "RT Main.vi" as its host vi.

In it I changed sine wave generator to square wave generator while adding a control for Duty Cycle but I'm encountering an error while running the code. 

The Error is shown below, how to resolve such an issue?

SAM_NI_0-1735797092093.png

I'll appreciate any help regarding this.

0 Kudos
Message 1 of 4
(180 Views)

Hi Sam,

 


@SAM_NI wrote:

In it I changed sine wave generator to square wave generator while adding a control for Duty Cycle but I'm encountering an error while running the code. 

The Error is shown below, how to resolve such an issue?


The code is too large after your changes.

The code cannot compiled into your FPGA because it needs too many resources…

 

Try to optimize your code to reduce the resource usage!

 

(You forgot to attach any code so we can only give this generic suggestion.)

Best regards,
GerdW


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

The code is too large to be attached. it can come in one SS.

0 Kudos
Message 3 of 4
(110 Views)

Hi Sam,

 


@SAM_NI wrote:

it can come in one SS.


What does that mean?

 


@SAM_NI wrote:

The code is too large to be attached.


The VI file is larger than 10MB or 20MB (whatever the file size limit is for the NI forum)?

Even within a ZIP file?

Best regards,
GerdW


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