LabVIEW-based dynamic link library calling method
A dynamic link library and function call technology, applied in the direction of multi-programming devices, etc., can solve problems such as not being good at it, and the underlying operation ability is not strong, so as to achieve the effect of increasing functions and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] Embodiment 1: An example of calling a dynamic link library of a programmable multi-axis controller card selection device
[0056] The function of the programmable multi-axis controller card to select the device is PmacSelect(), and its prototype function is long PmacSelect(HWND hwnd); the configuration method of calling the dynamic link library of Pcomm32.dll through LabVIEW is as follows image 3 shown. After the G language code design of LabVIEW is completed, the PmacSelect function that can be used by LabVIEW will be generated, and its sub-function is PS. The specific function content is as follows Figure 4 shown.
Embodiment 2
[0057] Embodiment 2: An example of calling the dynamic link library of the programmable multi-axis controller card to open the device
[0058] The function of the programmable multi-axis controller card to open the device is OpenPmacDevice(), and its prototype function is BOOL OpenPmacDevice(DWORD dwDevice); the configuration method of calling the dynamic link library of Pcomm32.dll through LabVIEW is as follows Figure 5 shown. After the G language code design of LabVIEW is completed, the OpenPmacDevice function that can be used by LabVIEW will be generated, and its sub-function is OPD. The specific function content is as follows: Figure 6 shown.
Embodiment 3
[0059] Embodiment 3: An example of calling a dynamic link library of a programmable multi-axis controller card control device
[0060] The function of the programmable multi-axis controller card to control the device is PmacGetControlResponseA(), and its prototype function is long PmacGetControlResponseA(DWORD dwDevice, PCHAR response, UINT maxchar, CHAR ctl_char); it calls the configuration method of the dynamic link library of Pcomm32.dll through LabVIEW Such as Figure 7 shown. After the G language code design of LabVIEW is completed, the PmacGetControlResponseA function that can be used by LabVIEW is generated, and its sub-function is OPD. The specific function content is as follows Figure 8 shown.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com