From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



Custom Device를 Veristand에 추가할 때 Error 7 발생



주요한 소프트웨어: LabVIEW Development Systems>>LabVIEW Professional Development System
주요한 소프트웨어 버전: N/A
문제가 해결된 소프트웨어 버전: N/A
부차적인 소프트웨어: N/A

문제점:

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를 정상적으로 로드시키기 위해서는 어떠한 설정을 해야 합니까?

솔루션:

Custom device system definition file에 추가 할 때, initialization VIs가 호출됩니다. VIVeristand에 의해 다이나믹하게 로드됩니다. XML custom device project가 일치하지 않으면, Veristand는 이 VI를 찾지 못합니다. Error 7이 발생 하였을 때 그 가능한 이유에 대해 아래의 내용을 확인해 주시기 바랍니다.

 

 

적절한 custom device formatting에 대해 좀 더 많은 정보를 원하시면 NI VeriStand Developer's Guide를 확인하십시오.

만약 이렇게 수정을 했음에도 불구하고 계속 문제가 지속된다면 문제해결을 위해 NI기술지원부에 연락 주시기 바랍니다.



관련 링크: NI VeriStand Developer's Guide
VeriStand Help: Custom Device Template Tool
Developer Zone Tutorial: Building Custom Devices for NI VeriStand

첨부:





리포트 날짜: 01/17/2013
마지막 업데이트: 12/09/2014
문서 번호: 65GHLO9C