软件版本:NI VeriStand 2016
运行环境:Windows7 旗舰版 SP1
宿主机配置:i7处理器,8G内存,固态盘
仿真机配置:i5处理器,4G内存,固态盘
实时仿真机的系统:PharLapETS实时操作系统
工程内容及相关配置:在VeriStand中添加了4个自定义的Custom Devices,C语言模型,MATLAB模型以及Calculated Channels等内容,并且之间的信号线有相互连线几百条。在User Interface的Workspace上添加了约9个Graph,其中在Graph中的设置中Rate为1000Hz、UDP Buffer Size为65536、History Length为50 sec、Update Rate为10Hz。
问题现象:然后运行该工程到仿真机中,界面一开始就会出现卡顿的现象,Graph中的图像出现断断续续的不连续的图像,实际上这些图像应该是连续的曲线。必须等待仿真机运行大约一两分钟后现象才会得到缓解,曲线才变成连续的图像。而且,刚开始运行的时候界面上的一些参数输入框也无法使用,无法设置参数值。界面上的其他控件也都处于不可使用状态,只有等待卡顿过程结束才可以。
希望各路大神能够帮忙排查问题出现原因以及提供解决方案!
Software version: NI VeriStand 2016
Running environment: Windows7, ultimate, SP1
Host configuration: i7 processor, 8G memory, solid-state disk
Simulator configuration: i5 processor, 4G memory, solid-state disk
Real time simulator system: PharLapETS real time operating system
Project contents and related configuration: add 4 custom Custom Devices in VeriStand, C language model, MATLAB model and Calculated Channels, the signal line and the mutual connection between hundreds of. In the User Interface Workspace added about 9 Graph, in which the settings in Graph, Rate is 1000Hz, UDP Buffer Size is 65536, History Length is 50 sec, and Update Rate is 10Hz.
The problem: then run the project to the simulation machine, the interface will start to appear Caton phenomenon, the image in the Graph appear intermittently not continuous images, actually these images should be continuous curve. You must wait for the simulator to run for about one or two minutes before the phenomenon is alleviated and the curve becomes a continuous image. Also, when you start running, some parameters on the interface cannot be used and cannot set parameter values. Other controls on the interface are in use, only waiting for the end of the process can carlton.
Hope that the great God can help troubleshoot problems, reasons and provide solutions!
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
从你的配置参数来看,各种参数都被调高了。给系统压力还是很大的。
可以尝试把Steam Rate降低,把UDP Buffer Size提高。因为图像断断续续可能是由于Buffer溢出造成的数据丢失现象。
如果还是不行,可以再尝试把其他参数降低。