Download LabVIEW PMAC Users Manual
Transcript
LabVIEW PMAC Developers Guide Table of Contents 1 2 3 4 Introduction ............................................................................................................................................................ 4 1.1 Purpose ....................................................................................................................................................4 1.2 Intended Audience ...................................................................................................................................4 1.3 Document Overview .................................................................................................................................4 1.4 References ...............................................................................................................................................4 Installing the LabVIEW PMAC Toolkit .................................................................................................................. 5 2.1 Software Requirements ............................................................................................................................5 2.2 Hardware Requirements...........................................................................................................................5 2.3 Windows Installation .................................................................................................................................5 2.4 Licensing ..................................................................................................................................................8 Using the LabVIEW PMAC Toolkit ...................................................................................................................... 10 3.1 Understanding the Basics.......................................................................................................................10 3.2 Higher Level Control ...............................................................................................................................10 3.3 VI List and Descriptions (API).................................................................................................................10 3.3.1 OslPmac_Open.vi ................................................................................................................................................... 11 3.3.2 OslPmac_Close.vi .................................................................................................................................................. 11 3.3.3 OslPmac_Status.vi ................................................................................................................................................. 12 3.3.4 OslPmac_Command.vi ........................................................................................................................................... 12 3.3.5 OslPmac_AsciiCommand.vi .................................................................................................................................... 14 3.3.6 OslPmac_SetEnabled.vi ......................................................................................................................................... 14 3.3.7 OslPmac_GetEnabled.vi ......................................................................................................................................... 15 3.3.8 OslPmac_SetVelocity.vi .......................................................................................................................................... 15 3.3.9 OslPmac_GetVelocity.vi ......................................................................................................................................... 16 3.3.10 OslPmac_SetAcceleration.vi.............................................................................................................................. 17 3.3.11 OslPmac_GetAcceleration.vi ............................................................................................................................. 17 3.3.12 OslPmac_MoveAbsolute.vi ................................................................................................................................ 18 3.3.13 OslPmac_MoveRelative.vi ................................................................................................................................. 18 3.3.14 OslPmac_Home.vi ............................................................................................................................................. 19 3.3.15 OslPmac_GetPosition.vi .................................................................................................................................... 20 3.3.16 OslPmac_GetError.vi ......................................................................................................................................... 20 3.3.17 OslPmac_AxisPVE.vi ........................................................................................................................................ 21 3.3.18 OslPmac_GetStatus.vi....................................................................................................................................... 21 Example Application - Step By Step Guide ....................................................................................................... 23 4.1 Running the Application..........................................................................................................................23 4.2 Application Block Diagrams ....................................................................................................................24 Page 3