LabVIEW Integration Programming Center (ApPC), JTAG Boundary Scan (AP-SCAN) & Extended Test Language (APEL) Introduction Installing LabVIEW Evaluation 2009 Installing the Atomic Software This guide is intended to help Atomic Programming customers integrate Atomic software products into National Insatrument si LabVIEW graphical programming environment to produce fully integrated production test solutions. The example given will show how to start Atomic Programming Center (ApPC) from LabVIEW. This example could be expanded to allow fully automated programming and testing without the need to interact with the ApPC front-end. LabVIEW Evaluation 2009 can be downloaded from National Instrument s website: http://www.ni.com/trylabview/ and is fully functional for 30 days. Installing ApPC Insert the Atomic Programming CD into the CD-ROM drive Your web browser should start automatically. If the HTML program does not start, double click on welcome.htm from the directory window for your CD- ROM drive Browse to the Software page Select the ApPC link, and select the RUN option Uncheck any components you do not want to install, although it is recommended that all items are installed Please read the License Agreement carefully and select I Agree to continue the installation The Microsoft.NET framework is automatically installed if required, in addition to the selected components At the end of the installation, close the Setup dialog box. There is no need to reboot you PC. Ensure the CD is NOT removed Installing the Drivers Now connect the supplied USB cable to the back of the programmer. Connect the other end of the USB cable to a USB port on your computer. Windows should detect the programmer, and launch the Windows Found New Hardware Wizard When asked if Windows can connect to Windows Update to search for software, select No, not this time The Hardware wizard helps install the USB Control Port drivers for the programmer. Select Install from a list of specified location Browse to the Driver folder on the CD and click Next Please note that the software has currently not passed Windows Logo testing, and it is completely safe to continue with the installation After the Control Port has been installed, the wizard will launch again, this time to install the Device Programmer drivers. Follow the same steps as above, again installing from the Driver folder on the CD Once completed, click on Finish. There is no need to restart the PC www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 1 of 6
Starting ApPC From LabView 1) Select New - Blank Vi from the LabVIEW Getting Started Front End 2) On the Controls Palette select Classic-Refnum, then select Automation Refnum and drag it onto the Untitled 1 Front Panel 3) Right click on the Automation Refnum and Select Select ActiveX Class/Browse. Select ApPC_Engine Version1.4 from the Type Library and then select _Application (ApPC.Application) www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 2 of 6
4) Goto the Untitled 1 Block Diagram Window. Shortcut is CTRL-E 5) From the Functions Palette add Connectivity/ActiveX/Automation Open and drag it onto the Untitled 1 Block Diagram Window 6) Also add a Programming/Boolean/False Constant www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 3 of 6
7) Wire the Automation Refnum on the Automation Open to the ApPC_Engine._Application RefNum and the open new instance on the Automation Open to the False Constant 8) Add a Connectivity/ActiveX/Invoke Node (ActiveX). Right Click and Select Class/ActiveX/ApPC_Engine._Application. Right Click and Select Method/Initialise. This step can also be achieved using the class browser ( Select View/Class Browser - shortcut is Ctrl+Shift+B) 9) Wire the Automation Refnum on the Automation Open to the refnum on the Invoke Node (ActiveX) www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 4 of 6
10) Select the newly created Initialise Method and press CTRL-C to copy and the CTRL+V to paste. Press CTRL+V again to create a third copy. 11) On the second copy, select Method/Pass Control. On the third copy select Method/Quit www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 5 of 6
12) Save the VI and run. In the screenshot below we have stepped to the Application.Quit Stage For details on all of the features available within the ActiveX objects please refer to the Help file include with your Atomic Programming Product. For latest software updates, check: www.atomicprogramming.com For technical support, help & advice, visit: www.deviceprogrammers.net/forum Atomic Programming Ltd 13 Springfield Ave Sheffield. S7 2GA tel: +44 (0)114 221 8588 sales@atomicprogramming.com Atomic Programming provides a range of solutions to take full advantage of JTAG testing. The AP-114 ISP/JTAG Programming System is a Universal Hardware Platform for all JTAG compliant programming and testing. AP-SCAN offers full Boundary Scan test software, and our Extended Test Language (APEL) software enables you to take full advantage of the power of JTAG, by maximizing test coverage of a board, and programming and testing of non-jtag devices by utilizing the JTAG scan-chain. www.atomicprogramming.com www.atomicprogramming.com Atomic Programming Ltd 2010 LabView Integration - Page 6 of 6