- CVI 정보나눔(www.cvi.kr)
- 스터디
- 개발메모
개발메모(형식에 매이지 않는 짤막한 개발 낙서)
글 수 173
LabVIEW에서 이용할 수 있는 DLL을 만들기 위해 참고합니다.
[Doc] LabVIEW Tech-Tip 4호 - LabVIEW에서 공유라이브러리(DLL) 호출 및 생성
http://digital.ni.com/worldwide/korea.nsf/web/all/AF9455769F40172B862570BC001A2351?OpenDocument&node=165080_ko
공유라이브러리 (DLL: Dynamic Link Libraries)란?
공유라이브러리(DLL: 이하 DLL이라 함)은 Windows 어플리케이션이 이용할 수 있는 실행 가능한 기능 또는 데이터의 라이브러리입니다. DLL의 좋은 예제는 하드웨어 드라이버입니다. 어플리케이션 소프트웨어와 하드웨어 사이의 인터페이스는 DLL을 통해 이루어지기도 합니다. 보통 DLL은 프로그램이 DLL에 정적 또는 동적 연결을 생성함으로써 액세스하는 특정 기능을 하나 이상 가지고 있습니다. 정적 연결은 프로그램 실행 중에도 변하지 않는 채로 있으며 동적 연결은 필요에 따라 프로그램이 생성합니다. 라이브러리는 이진 파일로 저장됩니다.
DLL은 자체적으로 실행될 수 없는 실행 파일로써 운영체제가 어플리케이션의 요청이 있을 시 DLL을 메모리에 로드 합니다. 따라서 메모리 사용량을 줄일 수 있습니다.
........
Writing Win32 Dynamic Link Libraries (DLLs) and Calling Them from LabVIEW
http://zone.ni.com/devzone/cda/tut/p/id/4877
LabVIEW for Windows 95 and Windows NT has a Call Library Function that you can use to access 32-bit DLLs. This document gives a brief introduction on how to create simple 32-bit DLLs and call them from LabVIEW under Windows 95 and NT. This document does not discuss details about C programming or all the different compilers you can use to create DLLs. Because a DLL uses a format that is standard among several development environments, you should be able to use almost any development environment to create a DLL that LabVIEW can call.
....
Using External Code in LabVIEW
http://zone.ni.com/reference/en-XX/help/371361A-01/lvexcodeconcepts/using_ext_code_lv/
Configuring the Call Library Function Node
http://zone.ni.com/reference/en-XX/help/371361A-01/lvexcodeconcepts/configuring_the_clf_node/
Use the Call Library Function Node to directly call a 32-bit Windows DLL, a Mac OS Framework, or a Linux Shared Library function. With this node, you can create an interface in LabVIEW to call existing libraries or new libraries specifically written for use with LabVIEW. National Instruments recommends using the Call Library Function Node to create an interface to external
.......
[Doc] LabVIEW Tech-Tip 4호 - LabVIEW에서 공유라이브러리(DLL) 호출 및 생성
http://digital.ni.com/worldwide/korea.nsf/web/all/AF9455769F40172B862570BC001A2351?OpenDocument&node=165080_ko
공유라이브러리 (DLL: Dynamic Link Libraries)란?
공유라이브러리(DLL: 이하 DLL이라 함)은 Windows 어플리케이션이 이용할 수 있는 실행 가능한 기능 또는 데이터의 라이브러리입니다. DLL의 좋은 예제는 하드웨어 드라이버입니다. 어플리케이션 소프트웨어와 하드웨어 사이의 인터페이스는 DLL을 통해 이루어지기도 합니다. 보통 DLL은 프로그램이 DLL에 정적 또는 동적 연결을 생성함으로써 액세스하는 특정 기능을 하나 이상 가지고 있습니다. 정적 연결은 프로그램 실행 중에도 변하지 않는 채로 있으며 동적 연결은 필요에 따라 프로그램이 생성합니다. 라이브러리는 이진 파일로 저장됩니다.
DLL은 자체적으로 실행될 수 없는 실행 파일로써 운영체제가 어플리케이션의 요청이 있을 시 DLL을 메모리에 로드 합니다. 따라서 메모리 사용량을 줄일 수 있습니다.
........
Writing Win32 Dynamic Link Libraries (DLLs) and Calling Them from LabVIEW
http://zone.ni.com/devzone/cda/tut/p/id/4877
LabVIEW for Windows 95 and Windows NT has a Call Library Function that you can use to access 32-bit DLLs. This document gives a brief introduction on how to create simple 32-bit DLLs and call them from LabVIEW under Windows 95 and NT. This document does not discuss details about C programming or all the different compilers you can use to create DLLs. Because a DLL uses a format that is standard among several development environments, you should be able to use almost any development environment to create a DLL that LabVIEW can call.
....
Using External Code in LabVIEW
http://zone.ni.com/reference/en-XX/help/371361A-01/lvexcodeconcepts/using_ext_code_lv/
Configuring the Call Library Function Node
http://zone.ni.com/reference/en-XX/help/371361A-01/lvexcodeconcepts/configuring_the_clf_node/
Use the Call Library Function Node to directly call a 32-bit Windows DLL, a Mac OS Framework, or a Linux Shared Library function. With this node, you can create an interface in LabVIEW to call existing libraries or new libraries specifically written for use with LabVIEW. National Instruments recommends using the Call Library Function Node to create an interface to external
.......