NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Chassis TimeSync Custom Device Feedback

OK you can uninstall a lot of that stuff and that will help.

Uninstall these items unless you are specifically sure you are using them (I don't know everything you're up to )

  1. DataSocket
  2. ECUMC 2.1.5 (that is a real old version you should use 2.2+ for veristand support)
  3. EPICS (both of them)
  4. HTTP Client (both of them)
  5. LV 2012 advanced signal processing toolkit
  6. LV 2012 digital filter design toolkit
  7. LV control design and sim
  8. LabWindows CVI Network variable for RT
  9. LabWindows CVI run time engine for RT
  10. Modbus IO server
  11. Network streams
  12. Network variable engine
  13. NI Sound and Vibration
  14. NI 488.2 RT
  15. NI 1588 Configuration
  16. NI-CAN 2.7.5
  17. NI FGEN
  18. NI HSDIO
  19. NI RFSA
  20. NI RFSG
  21. NI SCOPE
  22. NI Serial RT
  23. NI Simulation Interface Toolkit
  24. NI Timesync Plugin for Software Based 1588
  25. NI Watchdog
  26. OPC UA (both of them)
  27. Remote panel server for LV RT
  28. USB support (and its dependencies)
  29. Variable client support for LV RT (and its dependencies)
  30. Variable legacy protocol support (and its dependencies)
  31. Variable web service

I'm specifically interested if uninstalling #24 helps but I'm pretty sure you dont need any of that other stuff either

Stephen B
0 Kudos
Message 21 of 115
(5,472 Views)

Stephen,

I have uninstalled the ones you listed. Attached is the list of what is left. I am still not able to deploy and get the same error.

0 Kudos
Message 22 of 115
(5,472 Views)

OK next thing:

  1. Run the exe in the attached zip file
  2. Type in the ip address of the target in the "machine name" box at the bottom
  3. Put this path in the "vi path" controla t the top c:\ni-rt\NIVeriStand\Custom Devices\Chassis TimeSync\Chassis TimeSync Engine Pharlap.llb\RT Driver VI.vi
  4. Press the run button at the top
  5. screenshot the results and add here
Stephen B
0 Kudos
Message 23 of 115
(5,472 Views)

Attached is what I get when I run the exe. As soon as I open the exe file it shows error code 7 but changes once I run it.

0 Kudos
Message 24 of 115
(5,472 Views)

the error at start up is expected. the error 63 means we need to turn on VI server on your target.

follow this video to paste server.tcp.enabled=True into your target's ini file and reboot it.

http://screencast.com/t/mM2Vu3wXf

Wait a moment for it to reboot, then follwo those instructions again for the exe.

Thanks for your patience

Stephen B
0 Kudos
Message 25 of 115
(5,472 Views)

I did that and now I get a different error code. Its screenshot is attached.

0 Kudos
Message 26 of 115
(5,472 Views)

Can you post the contents of your ni-rt.ini file here

Can you also post your sysdef

Thanks

Stephen B
0 Kudos
Message 27 of 115
(5,472 Views)

[LVRT]
StartupDLLs=niorbp.dll;c:\ni-rt\system\mxsemb.dll;nisysrpc.dll;c:\ni-rt\system\nidevldp.dll;c:\ni-rt\system\nipxism.dll;c:\ni-rt\system\nixnets.dll;nidp_target_end.dll;NiRioRpc.dll;NiViSrvr.dll;sysstatepublisher.dll;conview.dll;
RTTarget.LaunchAppAtBoot=True
RTTarget.ApplicationPath=c:\ni-rt\startup\NI VeriStand.rtexe
RTTarget.VIPath=C:\ni-rt\startup
WebAppServer.Enabled=True
RTUseMutexOptimizations=True
SocketSendBufferSize=65535
SocketRecvBufferSize=65535
EnableCPULoadDisplay=True
LABVIEWRTDir=C:\ni-rt\system
PATH=C:\ni-rt\system\;
CDIntervalTicks=55
WebServer.Enabled=FALSE
RTTarget.IPAccess=+*
RTEnetRcvMode=2
RTCPULoadMonitoringEnabled=True
RTTarget.OlsonTimeZone=Etc/UTC
server.tcp.enabled=True

[SUPPORTED LOCALES]
chineseS=CP936
japanese=CP932
english=L1

[STARTUP]
EarlyStartupLibraries=nirtdm.dll;nimdnsr.dll;C:\ni-rt\system\lvuste.dll;C:\ni-rt\system\tsengine.dll;C:\ni-rt\system\nisl_emb.dll;/ni-rt/system/nipxibrc.dll;RTWebServer.dll;niDiscSvc.dll;
MainExe=/ni-rt/system/lvrt.dll

[NIDP_HANDLER_LOAD_ORDER]
nilvicv_deployhandler.dll=crio_expert.dll;
lvceconfig_handler.dll=nilvicv_deployhandler.dll;

[MDNSRESPONDER]
mDNSDisableAnnouncement=0
mDNSDisableDiscovery=0

[SYSTEMSETTINGS]
Host_Name=NI-PXIe8135-2F14C194
Comment=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Comment_Format=512
Protect_Reboot=FALSE

[TCP_STACK_CONFIG]
IP_Address=192.168.100.202
Subnet_Mask=255.255.255.0
Gateway=0.0.0.0
DNS_Address=0.0.0.0

0 Kudos
Message 28 of 115
(5,472 Views)

OK add these lines to the rt ini as well under the LVRT section

server.tcp.serviceName="Main Application Instance/VI Server"

server.tcp.access="+*"

Stephen B
0 Kudos
Message 29 of 115
(5,472 Views)

Stephen,

I keep getting the following error now

The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error -307673 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):

NI VeriStand:  Another VeriStand Gateway already is connected to the execution host. Only one VeriStand Gateway can be connected to an execution host at a time.
=========================
NI VeriStand:  Another VeriStand Gateway already is connected to the execution host. Only one VeriStand Gateway can be connected to an execution host at a time.
=========================
NI VeriStand:  NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi >> NI VeriStand Server.lvlib:NI VeriStand Server.vi
<append>=========================
NI VeriStand:  The target Controller is already connected to the VeriStand Gateway running on host 192.168.100.29.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
• Unloading System Definition file...

0 Kudos
Message 30 of 115
(5,472 Views)