VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Fails Occasionally

Occasionally, I'm getting a couple errors regarding my FPGA which is configured in my VeriStand System Definition.  These errors never occur after first booting up my real-time controller.  It happens when I deploy a system definition for a subsequent run, it just doesn't happen every time.

 

The errors are -61207 and -63195 (in that order).  The log can be found below.

 

 

Preparing to run system definition...
Loading c:\ni-rt\NIVeriStand\SystemDefinitionData.nivscfg

System Definition Details
-----------------------------
Name: <Name of System Definition>
Version: 1.0.0.377
Description: 
-----------------------------
Loading parameter file : c:\ni-rt\NIVeriStand\ParameterData.nivsparam
Loaded 0 scales.
Initializing DAQ devices...
Initializing DAQ waveform tasks...
Initializing engine timing sources...
Initializing FPGA devices...

****************************
System error encountered. 
:::Details:::
Error code: -61207
Error Message: LabVIEW FPGA:  Internal error: DiagramReset did not clear within the timeout period.
Please contact National Instruments Technical Support at ni.com/support.
****************************

System awaiting new configuration from client.
Stopping system definition...
Stop time: 12:09:33
05/09/2016

Finalizing engine timing sources...
Finalizing inline custom devices...
Finalizing DAQ devices...
Finalizing FPGA devices...

****************************
System error encountered. 
:::Details:::
Error code: -63195
Error Message: NI-RIO:  (Hex 0xFFFF0925) The handle for device communication is invalid or has been closed. Restart the application.
****************************

System awaiting new configuration from client.
Finalizing data sharing devices...
Finalizing models...
Unloading system definition...
VeriStand Engine idle. Awaiting command...
VeriStand Engine idle. Awaiting command...

 

 

 

We know that our application works because we have [ideally] identicaly hardware setups that also runs this system definition.  So, I'm leaning toward some sort of driver and/or hardware issue.  Rebooting just the real-time controller clears the issue but this is not an acceptable workaround.

 

Real-Time Controller: RMC-8354

FPGA:  NI-9159

LabVIEW/VeriStand 2013 SP1

 

0 Kudos
Message 1 of 6
(4,484 Views)

Current drivers:

 

NI-RIO 15.0

NI-DAQmx 14.2.0

NI-VISA 14.0.0

0 Kudos
Message 2 of 6
(4,479 Views)

How about this article?

 

Error -63195 While Running FPGA VI in Interactive Mode

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 3 of 6
(4,472 Views)

I saw that article but that doesn't apply to my situation.  NI VeriStand is a deployed application and does not run interactively.

0 Kudos
Message 4 of 6
(4,454 Views)

Do you have a custom device that is accessing the FPGA?  I have had problems like this if I stop or abort the FPGA reference in the Custom Device rather than letting VS do it as part of its shutdown process.  

Aaron Smith
0 Kudos
Message 5 of 6
(4,451 Views)

We do not use any custom devices, just the default setup for FPGA.

0 Kudos
Message 6 of 6
(4,443 Views)