安装FlexLogger 2018时一切正常,但新建项目的时候报以下错误,有部分答案说是因为LabVIEW 运行环境的关系,但尝试安装LabVIEW 2018 Runtime 32位和64位均无法解决,最后通过修改环境变量的办法解决这一问题。错误信息如下:
Error:
Missing external function lvanlys.*:AxVect_head:C in VI NI_AALBase.lvlib:A x Vector.vi.
Missing external function lvanlys.*:InvMatrixLUDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix (LU).vi.
Missing external function lvanlys.*:InvMatrixChoDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix (Cholesky).vi.
Missing external function lvanlys.*:InvMatrixTriDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix (Triangular).vi.
Missing external function lvanlys.*:InvMatrixTriDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix.vi.
Missing external function lvanlys.*:InvMatrixLUDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix.vi.
Missing external function lvanlys.*:InvMatrixChoDri_head:C in VI NI_AALBase.lvlib:Real Inverse Matrix.vi.
Missing external function lvanlys.*:AxVect_head:C in VI Resampler2.0_GenReferenceSplines.vi.
Missing external function lvanlys.*:LV_BesselIr:C in VI NI_Gmath.lvlib:Modified Bessel Function Iv.vi.
Missing external function lvanlys.*:LV_BesselIr:C in VI Resampler2.0_GenAdaptiveFilter_GenWindow.vi.
Missing external function lvanlys.*:AxVect_head:C in VI Resampler2.0_GenSpline.vi.
Missing external function lvanlys.*:KaiserH:C in VI NI_AALPro.lvlib:Kaiser-Bessel Window (DBL).vi.
Missing external function lvanlys.*:KaiserH:C in VI Resampler2.0_GenFilter.vi.
解决办法:
- 在Windows10 搜索栏搜索环境变量,开始编辑环境变量,或者通过控制面板->系统->高级->环境变量开始编辑。
- 新建一个环境变量,变量名称MKL_DEBUG_CPU_TYPE,变量值设为4。
- 确认,关闭对话框,在FlexLogger中新建项目即可。
- 我在进行上述操作后,NI MAX报找不到设备的错误,在NI MAX的工具选项下,选择重置配置数据后,重启计算机。