Invalid Repeat or Loop Count in Digital Pattern Editor

Updated Sep 3, 2024

Reported In

Hardware

  • PXIe-6570
  • PXIe-6571

Driver

  • NI-Digital Pattern Driver

Issue Details

I tried to configure my loop iterations in Digital Pattern Editor and I got the error as shown below:
Screenshot 2024-09-03 144714.png

Solution

For your information, the set_loop has its limitation which only can loop from 1 to 65535 as stated in the NI Digital Pattern User Manual - Flow Control Opcode. If you plan to have infinite loop iterations then you can use the conditional jump method. Furthermore, if you need to specify exactly how many loops you need to execute with a specific number greater than 65535, then you have no option but to use the set_loop opcode and split the loops so that the loop iteration does not exceed 65535.