传感器进入汽车制造业行业 对于功率电感式传感器,大家都不会陌生,是用于近距离定位金属物体的通用方式。因为主要是通过霍尔效应来完成检测,所以也称为霍尔传感器。 其内部结构由两部分构成:前端由缠绕着发射、接收线圈的铁芯构成检测部
使用C++test在Tornado 2.2-VxWorks-5.5 simulator 下针对CPP代码做单元测试时,出现不能获取测试结果的问题,反复侦测问题的缘由,查看帮助文档,终于在帮助文档中找到如下一些说明:
“The default build of VxWorks-5.5 simulator (%WIND_BASE%targetconfigsimpcvxWorks.exe; Tornado-2.2) doesn't contain enough C++ features to sati电感器生产sfy C++test's C++ instru插件电感mentation needs in its default mode插件电感. Thus, to test C++ code, you eith模压电感器er need to build your own VxSim image with scaled-up C++ support (we recommend using all C++ features except complex numbers; at minimum) or you need to add the -DCPPTEST_SPECI线圈电感器AL_STD_EXCEPTIONS_HANDLING_ENABLED=0 definition to the project compilation flags. This issue does not affect VxWorks-5.4 (Tornado-2.0).”
帮助文档中说得很清楚,VxWorks5.5默认的simulator缺少C++特性支持,所以解决方案就是重新构建一个支持C++特性的image,重新执行即可。