Error -50400 in LabVIEW FPGA Using Simulated IO Execution Mode

Updated Feb 26, 2018

Reported In

Software

  • LabVIEW FPGA Module

Issue Details

I am using the shipping example Sine Wave.lvproj from <LabVIEW>\examples\R Series\FPGA Fundamentals\FPGA Math and Analysis\Generation\Sine Wave. By default, the FPGA Target is set to be executed in the Simulation (Simulated I/O) execution mode. Without any modification, I run Sine Wave UI.vi and the VI stops.
If I put a Simple Error Handler after the Close FPGA VI Reference, I receive Error -50400 occurred at Invoke Method: FIFO.Read in Sine Wave UI.vi.
 

Solution

The error indicates that timeout error has occurred. Change the input value of Timeout (ms) for the Invoke Method  Sine Wave.Read to a greater value.
The default value for Timeout (ms) is set based on the expectation that one is running this under a real FPGA target. The VI will take longer to execute in simulation mode, depending on your machine configuration. For high performance machines, the simulation will run faster, the input value can be small. While on lower performance machines, the simulation will run slowly, thus you should set a larger timeout value.

WAS THIS ARTICLE HELPFUL?

Not Helpful