Error 56 Occurs and PharLaps Real Time Target Reboots when Deploying VeriStand Project which Contains Custom Device

Updated Dec 6, 2019

Reported In

Software

  • VeriStand
  • LabVIEW
  • VeriStand Custom Devices
  • LabVIEW Real-Time Module

Operating System

  • PharLap

Issue Details

My Custom Device code is developed in LabVIEW 2017 Chinese,  when I try to deploy VeriStand project which contains this custom device to RT target, however in the process of deploying, the RT target reboots. Then deploy fails, and status is Connection with target Controller has been lost as below.



And shows error 56 in Deploy Status.log as below,
?Preparing to deploy the System Definition to the targets...
?Compiling the System Definition file...
?Initializing TCP subsystem...
?Starting TCP Loops...
?Connection established with target Controller.
?Sending reset command to all targets...
?Preparing to deploy files to the targets...
?Starting download for target Controller...
?Opening WebDAV session to IP 10.144.33.83...
?Processing Action on Deploy VIs...
?Gathering target dependency files...
?Downloading DAQPlugins.llb [544 kB] (file 1 of 6)
?Downloading Serial.nivssdf [162 kB] (file 2 of 6)
?Downloading Serial_Controller.nivsdat [419 kB] (file 3 of 6)
?Downloading CalibrationData.nivscal [0 kB] (file 4 of 6)
?Downloading Serial_Controller.nivsparam [0 kB] (file 5 of 6)
?Downloading 485 comm Engine.llb [629 kB] (file 6 of 6)
?Closing WebDAV session...
?Files successfully deployed to the targets.
?Starting deployment group 1...
?Connection with target Controller has been lost.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error 56 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> Project Window.lvlib:Connect to System.vi

Possible reason(s):

LabVIEW:  网络操作超出用户指定范围或系统时间限制。
=========================
NI VeriStand:  Server TCP Interface.lvlib:TCP Connection Manager.vi:7430001中的打开TCP连接
<append>=========================
Target: 10.144.33.83

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
?Sending reset command to all targets...
?Stopping TCP loops.
Waiting for TCP loops to shut down...
?TCP loops shut down successfully.
?Unloading System Definition file...


Then I try to deploy again, RT target reboots into safe mode.

Solution

This issue may caused by the language version distinguishes between RT target and the Custom Device code deployed to the host .
To solve this issue, you can change the language of the RT target in NI MAX consistent with Custom Device. For your case, set the language of LabVIEW RT to Chinese in NI MAX- System Setting, and save.