研华采集卡使用培训资料

上传人:第*** 文档编号:38827440 上传时间:2018-05-08 格式:PDF 页数:16 大小:1.68MB
返回 下载 相关 举报
研华采集卡使用培训资料_第1页
第1页 / 共16页
研华采集卡使用培训资料_第2页
第2页 / 共16页
研华采集卡使用培训资料_第3页
第3页 / 共16页
研华采集卡使用培训资料_第4页
第4页 / 共16页
研华采集卡使用培训资料_第5页
第5页 / 共16页
点击查看更多>>
资源描述

《研华采集卡使用培训资料》由会员分享,可在线阅读,更多相关《研华采集卡使用培训资料(16页珍藏版)》请在金锄头文库上搜索。

1、LabView Driver GuideLabViewLabView Driver GuideDriver GuideHow to use the Labview DriverHow to use the How to use the LabviewLabview DriverDriverThe procedure should be as following.The procedure should be as following.? ?Install Labview6/6i/7/7.1 ApplicationInstall Labview6/6i/7/7.1 Application? ?I

2、nstall Advantech Install Advantech LabviewLabview Driver from CDDriver from CD? ?Install Advantech I/O Install Advantech I/O card(drivercard(driver/Hardware)/Hardware)? ?Check the Support list in the manual to know what Check the Support list in the manual to know what card and function/example can

3、be supportedcard and function/example can be supported? ?Access the example in the path: Access the example in the path: C:C: Program FilesProgram Files National InstrumentsNational Instruments LabVIEWLabVIEW 7.17.1 examplesexamples AdvantechAdvantech? ?Refer to the example to write own programRefer

4、 to the example to write own programHow to use the Labview DriverHow to use the How to use the LabviewLabview DriverDriverThe support list for the cardLabViewLabView Program: Program: Get voltage input from PCLGet voltage input from PCL- -818L(1)818L(1)1. Click 1. Click “ “New VINew VI” ” button to

5、create button to create a new LabVIEW a new LabVIEW program.program.2. Select Front Panel & enable Controls Palette to choose a “Waveform Chart” indicator in “Graph” group, add to front panel and name it “Voltage”. LabViewLabView Program: Program: Get voltage input from PCLGet voltage input from PCL

6、- -818L(2)818L(2)3.3. Switch to Switch to Block Block DiagramDiagram to verify to verify that a new data that a new data terminal was terminal was created (named created (named “ “VoltageVoltage” ”). ).4. Add a “DeviceOpen” VI from the Advantech 32-bit LabVIEW driver by clicking on user defined VIs.

7、 The path to get “DeviceOpen” VI is “User Defined VIs” “Advantech” “Advance” “DeviceManager” “DeviceOpen”. LabViewLabView Program: Program: Get voltage input from PCLGet voltage input from PCL- -818L(3)818L(3)5.5. Move the mouse to the Move the mouse to the “ “Device Device OpenOpen” ” VI and click

8、on the mouse VI and click on the mouse left button to invoke the left button to invoke the “ “Create Create ConstantConstant” ” function. After creating function. After creating a constant, a number will appear at a constant, a number will appear at the left of the left of “ “DeviceOpenDeviceOpen” ”

9、 VI block. VI block. 6. Execute the Advantech Device Manager utility (within Advantech DLL driver) from the Windows environment to check with the device number of Advantech DEMO I/O virtual demo board. For example, the device number of Advantech DEMO I/O in the screen shown below is 001. LabViewLabV

10、iew Program: Program: Get voltage input from PCLGet voltage input from PCL- -818L(4)818L(4)7.7. Change the value of the constant next to the Change the value of the constant next to the “ “DeviceOpenDeviceOpen” ” VI to be 1. VI to be 1. 8.8. Add Add “ “AIConfigAIConfig” ” and and “ “AIVoltageInAIVol

11、tageIn” ” VIs from the Advantech 32VIs from the Advantech 32- -bit bit LabVIEW driver by clicking on userLabVIEW driver by clicking on user- -defined VIs. The path to get defined VIs. The path to get “ “AIConfigAIConfig” ” and and “ “AIVoltageInAIVoltageIn” ” VI is VI is “ “User Defined VIsUser Defi

12、ned VIs” ” “ “AdvantechAdvantech” ” “ “AdvanceAdvance” ” “ “adSlowAIadSlowAI” ” “ “AIConfigAIConfig” ” and and “ “AIVoltageInAIVoltageIn” ”. . 9. Add “DeviceClose” VI from the Advantech 32-bit LabVIEW driver by clicking on User Defined VIs. The path to get “DeviceClose” VI is “User Defined VIs” “Adv

13、antech” “Advance” “DeviceManager” “DeviceClose”. LabViewLabView Program: Program: Get voltage input from PCLGet voltage input from PCL- -818L(5)818L(5)10. Change the mouse cursor for use with the 10. Change the mouse cursor for use with the “ “WiringWiring” ” pattern (move the pattern (move the curs

14、or into cursor into Tools PaletteTools Palette and select the Wiring icon). and select the Wiring icon). 11. Wire the 11. Wire the DeviceHandleDeviceHandle output of the DeviceOpen VI to the output of the DeviceOpen VI to the DeviceHandleDeviceHandle input of input of AIConfigAIConfig VI. To make wi

15、ring easier, you can invoke the Help window to VI. To make wiring easier, you can invoke the Help window to support it. The Help window shows input and output parameters ofsupport it. The Help window shows input and output parameters of each each selected VI. (The way to display the Help window is t

16、o click on selected VI. (The way to display the Help window is to click on the Help menu the Help menu selection and select the selection and select the “ “Show HelpShow Help” ” option)option)LabViewLabView Program: Program: Get voltage input from PCLGet voltage input from PCL- -818L(6)818L(6)12. Wire the 12. Wire the DeviceHandleDeviceHandle output of the output of the AIConfigA

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号