|
Custom Device Template Tool을 이용하여 NI Veristand Custom Device를 성공적으로 빌드 하였습니다. System definition file에 이것을 추가하면 아래와 같이 Error7이 발생합니다.
전체 error 문장은 아래와 같습니다.
Error 7 occurred at Open VI Reference in Custom Devices Storage.lvlib:Initialize New Custom Device.vi
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
VI Path: C:\Users\Public\Documents\National Instruments\NI VeriStand 2011\Custom Devices\Error_Seven\Error_Seven Configuration.llb\Error_Seven Initialization VI.vi
Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.
LabVIEW Real-Time: VIs built into executables cannot be accessed through VI Server calls. Use Source Distributions to dynamically call VIs on Real-Time targets.
Custom device를 system definition file에 추가 할 때, initialization VIs가 호출됩니다. 이 VI는 Veristand에 의해 다이나믹하게 로드됩니다. XML과 custom device project가 일치하지 않으면, Veristand는 이 VI를 찾지 못합니다. Error 7이 발생 하였을 때 그 가능한 이유에 대해 아래의 내용을 확인해 주시기 바랍니다.
적절한 custom device formatting에 대해 좀 더 많은 정보를 원하시면 NI VeriStand Developer's Guide를 확인하십시오.
만약 이렇게 수정을 했음에도 불구하고 계속 문제가 지속된다면 문제해결을 위해 NI기술지원부에 연락 주시기 바랍니다.
|