VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7 while Deploying a Custom Device for CAN

Solved!
Go to solution

Hello everybody,

 

I have a new big problem. I created a custom device for reading all streamed CAN Messages.

While Deploying I always get this ERROR7:

 

• Loading System Definition file: C:\Users\z0024mhy\Desktop\test\test.nivssdf
• Initializing TCP subsystem...
• Starting TCP Loops...
• Connection established with target Controller.
• Preparing to synchronize with targets...
• Querying the active System Definition file from the targets...
• Unloading System Definition file...
• Connection with target Controller has been lost.
• Loading System Definition file: C:\Users\z0024mhy\Desktop\test\test.nivssdf
• 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 FTP session to IP 10.113.10.27...
• Processing Action on Deploy VIs...
• Deploying XNET database: SPA0310_20130131_PropulsionCANhs 2
• Gathering target dependency files...
• Closing FTP session...
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error 7 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s):

LabVIEW:  Datei nicht gefunden. Die Datei wurde eventuell verschoben oder gelöscht, oder der Pfad ist falsch angegeben. Verwenden Sie zum Beispiel unter Windows zwischen den einzelnen Verzeichnissen einen umgekehrten Schrägstrich (\), unter Mac OS X einen Doppelpunkt (:) und unter Linux einen Schrägstrich (/). Überprüfen Sie anhand des DOS-Eingabefensters oder Datei-Explorers die Richtigkeit des Pfads.
=========================
NI-488:  GPIB-Schnittstelle existiert nicht.
=========================
NI VeriStand:  NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi >> NI VeriStand Server.lvlib:NI VeriStand Server.vi >> System Definition Deployment.lvlib:Deployment Dialog.vi >> System Definition Deployment.lvlib:Deploy Target Files.vi >> System Definition Deployment.lvlib:Get Target Dependency Files.vi
<append>=========================
NI VeriStand:  Source: C:\Users\Public\Documents\National Instruments\NI VeriStand 2011\Custom Devices\CAN_Frame\CAN_Frame Engine.llb
System Explorer Path: Targets/Controller/Custom Devices/CAN_Frame

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
• Unloading System Definition file...
• Connection with target Controller has been lost.

 

 

------------------------------------------------------------------------------------------------

In Attachments you can see my custom device and the veristand project

 

 

PLEASE HELP, I need that till next week.

 

Regards,

YesB

 

Download All
0 Kudos
Message 1 of 14
(8,080 Views)

Hello,

 

nobody can answer this Problem?

 

 

0 Kudos
Message 2 of 14
(8,068 Views)

Hi YBilgin,

 

the problem is in additional exclusion. You need to include it into build, because vis are loaded in Ni VeriStand.exe context, so all the dependencies has to be in library.

 

scr.jpg

 

You can consult more: CD Dev Guide

 

Regards,

 

Jiri

 

NI SE RTT&HIL

CLA, CTA

0 Kudos
Message 3 of 14
(8,057 Views)

Hello Jiri,

 

I removed the three exclude seetings, and I have the same error-message 😞

0 Kudos
Message 4 of 14
(8,054 Views)

Hi YBilgin,

 

it runs on my computer. Make sure that you change anything in System Explorer, that forces new compilation of the system definition. Otherwise the already compiled one is used.

 

Jiri

CLA, CTA

0 Kudos
Message 5 of 14
(8,046 Views)
Hello Jiri,

Which Veristand and LabView Version did you use?? What should I change on System Explorer?

Best Regards,
YB
0 Kudos
Message 6 of 14
(8,037 Views)

Hi YBilgin,

 

I used NI VS 2011 SP1, specifically 2011.1.0.32. And LV 2011 SP1. 

As a first try I run the custom device on the localhost (Windows) and it run. 

So would recommend this as a first step to check if the CD doesn't have missing dependencies.

 

Jiri

CLA, CTA

0 Kudos
Message 7 of 14
(8,022 Views)

I have the same problems in localhost 😞

0 Kudos
Message 8 of 14
(8,017 Views)

Hi,

 

can you attach your compiled llbs?

I will compare them and try to run it here.

 

Jiri

CLA, CTA

0 Kudos
Message 9 of 14
(8,013 Views)

Hi,

 

in attatch you can take my compiled llbs

0 Kudos
Message 10 of 14
(8,005 Views)