VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Deploy last ran project

Hello, is it possible to have versitand automatically deploy when the RT is booted?

 

I have noticed that when you start up veristand it comes back usually saying that "it couldnt find a system definition file" then it enter the state"VeriStand Engine idle. Awaiting command..."

 

I started playing around trying to get the veristand engine on the RT to automatically deploy on boot but got somehow stuck.

 

My finding is that, once the Host compiles and transfer everything to the RT, on the RT the file /ni-rt/NIVeriStand/SystemDefinitionData.nivscfg contains an absolute path to the .sdf file. So i moved my .sdf file to my host PC C:\ path, deployed (which compiles a new SystemDefinitionData.nivscfg) and at this point the SystemDefinitionData.nivscfg file contained an absolute path of C:\mysdffile.sdf

 

I then manually FTP'd mysdffile.sdf to the RT root and power cycled the machine.

 

At this point Veristand sees the file and tries loading it but than fail miserably claiming that for some reason some of my cards dont exist.

 

Does anyone know if it is possible to have Veristand automatically deploy and how?

 

This is the error I get. If i deply the same SDF from the host it deploys just fine.

 

LabVIEW Real-Time Executive
Build Time: Jan 19 2016 22:21:46
(C) Copyright 2002-2016 National Instruments Corporation

MAX system identification name: SIL1-RT-PC-2015

 

LabVIEW Real-Time SMP Kernel: CPU cores found: 6
Initializing network...
Dev|Op M|Link|Driver|MAC Address |IP Address /Mask|Adapter Mode
* 1|Int |U |i8254x|00802F1XXXXX|192.168.50.2 /16|TCP/IP (static)
System Web Server started
NI-RIO Server 15.0 started successfully.

Startup Application: c:\ni-rt\startup\NI VeriStand.rtexe
Device 00802F1402EC is now connected
Welcome to NI VeriStand 2015.1.0.76
Welcome to LabVIEW Real-Time 15.0.1

NI-VISA Server 15.0 started successfully.
Starting NI VeriStand...
Starting NI VeriStand Engine...
Loading c:\ni-rt\NIVeriStand\SystemDefinitionData.nivscfg

System Definition Details
-----------------------------
Name: mysdffile
Version: 1.0.0.328
Description:
-----------------------------
Unloading system definition...

****************************
System error encountered.
:::Details:::
Error code: -88717
Error Message: No device by the given name was found.
Device Specified: C3S6-AI-1
****************************

System awaiting new configuration from client.
Stopping system definition...
Stop time: 14:56:32
09/09/2016

Finalizing engine timing sources...
Finalizing inline custom devices...
Finalizing DAQ devices...
Finalizing FPGA devices...
Finalizing data sharing devices...
Finalizing models...
Unloading system definition...
VeriStand Engine idle. Awaiting command...

0 Kudos
Message 1 of 5
(4,294 Views)

Hey Claudio_G,

 

You can have your System Definition automatically run when the target is powered on by checking the Run System Definition option from the System Initialization>>RT Target Reboot Action tab in the System Definition.

 

VS RT Reboot Action.PNG

Hope this helps!

________________________________
Nadine H.
Certified LabVIEW Developer | Certified TestStand Developer
Message 2 of 5
(4,291 Views)

Ah!

That part where you never click on anything below the mapping 🙂

 

Thanks for the highlight!

0 Kudos
Message 3 of 5
(4,279 Views)

Haha agreed!

My pleasure!

________________________________
Nadine H.
Certified LabVIEW Developer | Certified TestStand Developer
Message 4 of 5
(4,263 Views)

Perfect, that is exactly what I was looking for! Thank you.

I usually disconnect my PC (Laptop) from the Real-Time PXI after my project has been deployed and running. But I would like the PXI to resume running the project on it own in case there was a power interruption.

0 Kudos
Message 5 of 5
(3,014 Views)