This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error -61003 When Using Select Function In FPGA Programming

Updated May 14, 2023

Reported In

Software

  • LabVIEW 2015 SP1 FPGA Module
  • LabVIEW 2015 FPGA Module

Issue Details

When I put a Select function inside a For Loop that is inside a Single-Cycle Timed Loop in a LabVIEW FPGA vi,
Error -61003 is thrown when trying to compile: 

Solution

To get around this error we can use a Case Structure as shown in the image below:

Additional Information

This error occurs even though the Timed Loop (Single-Cycle) documentation states: 

"For Loops in Single-Cycle Timed Loops: You can place a For Loop in a single-cycle Timed Loop if the For Loop contains Numeric, Boolean, or Comparison operations and uses only auto-indexed tunnels. Objects that generate or contain state, such as shift registers, Feedback Nodes, or VI calls, are not allowed in For Loops within a single-cycle Timed Loop."

This is a known issue and a CAR (#592391) has been filed for this. You can watch the Fixed Issues list when new versions of the LabVIEW FPGA Module are released to check if this has been resolved. Use the workaround outlined in the Solutions section if you need to use a Select structure.