LabVIEW Embedded Development Module Target Distribution Guide Manual

LabVIEW Embedded Development Module Target Distribution Guide Manual
Pages 35
Views 455
Downloads : 3 times
PDF Size : 290.7 KiB

Summary of Contents

LabVIEW Embedded Development Module Target Distribution Guide Manual

  • Page 1

    LabVIEWTMEmbedded Development Module Target Distribution GuideTarget Distribution GuideJuly 2006371966A-01

  • Page 2

    SupportWorldwide Technical Support and Product Informationni.comNational Instruments Corporate Headquarters11500 North Mopac ExpresswayAustin, Texas 78759-3504USATel: 512 683 0100Worldwide OfficesAustralia 1800 300 800, Austria 43 0 662 45 79 90 0, Belgium 32 0 2 757 00 20, Brazil 55 11 3262 3599...

  • Page 3

    Important InformationWarrantyThe media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. Na...

  • Page 4

    ConventionsThe following conventions are used in this manual:[ ]Square brackets enclose optional items—for example, [response].»The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File m...

  • Page 5

    © National Instruments Corporationv 1,Target Distribution 1, GuideContents 7,Chapter 1 7,Distributing Your Embedded Target and 7,LabVIEW 7,Distribution Options 7,......................................................................................................1-1 8,Process Overview of Bund...

  • Page 6

    Contents 1,Target Distributio 1,n Guidevini.com 20,Chapter 5 20,Adding Target-Specific Documentation 21,Documentation Directory St 21,ructure 21,.............................................................................. 21,5-2 21,Documentation Naming Conventions 21,...........................

  • Page 7

    © National Instruments Corporation1-1 1,Target Distribution 1, Guide1Distributing Your Embedded Target and LabVIEWThe LabVIEW Embedded Development Module enables OEMs and advanced users to port LabVIEW to embedded devices from any manufacturer. LabVIEW refers to these embedded devices as targets...

  • Page 8

    Chapter 1Distributing Your Embedded Target and LabVIEW 1,Target Distributio 1,n Guide1-2ni.comthe end user experience with your target, even if you do not plan to formally package your product.Process Overview of Bundling Your Embedded Target with LabVIEWThe following list outlines the process of...

  • Page 9

    © National Instruments Corporation2-1 1,Target Distribution 1, Guide2Wrapping Drivers and Math LibrariesApplications for an embedded target often use C-based libraries and functions that are unique to that particular embedded target. For example, a target might have specific libraries for access...

  • Page 10

    Chapter 2Wrapping Drivers and Math Libraries 1,Target Distribution 1,Guide2-2ni.comabout icon creation. You also can refer to the Creating SubVIs topic in the LabVIEW Help for information about creating connector panels and icons for subVIs.TipThe Import Shared Library Wizard builds a connector ...

  • Page 11

    Chapter 2Wrapping Drivers and Math Libraries© National Instruments Corporation2-3 1,Target Distribution 1, GuideUsing an Inline C Node in a SubVIIf the code to call is not a C-based function—for example, assembly code or a small algorithm—consider using an Inline C Node instead of a Call Lib...

  • Page 12

    Chapter 2Wrapping Drivers and Math Libraries 1,Target Distribution 1,Guide2-4ni.comYou still need to create a subVI for the block diagram before you can use FuncList.dat, but the VI can be empty except for the necessary controls and indicators corresponding to the parameters for the function.Tip...

  • Page 13

    © National Instruments Corporation3-1 1,Target Distribution 1, Guide3Creating Icons and PalettesCreating custom icons and palettes for your product enhances the product identity and makes it easier for end users to identify controls, indicators, and VIs that are specific to your embedded target....

  • Page 14

    Chapter 3Creating Icons and Palettes 1,Target Distribution 1,Guide3-2ni.comCustomizing a Palette Set for Your TargetNational Instruments strongly recommends that you remove VIs and functions from the default palette set for your target that your target cannot support. Custom palette sets help en...

  • Page 15

    Chapter 3Creating Icons and Palettes© National Instruments Corporation3-3 1,Target Distribution 1, Guideexperiment with the palettes without corrupting the original palettes. To revert to the original palettes, click the Restore to Default button on the Edit Controls and Functions Palette Set di...

  • Page 16

    Chapter 3Creating Icons and Palettes 1,Target Distribution 1,Guide3-4ni.comAdding Objects to SubpalettesAfter you create a subpalette, you can add objects to the subpalette. A subpalette can contain VIs, controls, and subpalettes. NoteThe Functions palette is for VIs and functions that end users...

  • Page 17

    © National Instruments Corporation4-1 1,Target Distribution 1, Guide4Creating Examples for Your TargetLabVIEW users often rely on examples to get started with an application because they can start with something that works on the target and gradually modify and test the example to learn and furt...

  • Page 18

    Chapter 4Creating Examples for Your Target 1,Target Distribution 1,Guide4-2ni.comFile»VI Properties and select Documentation from the Category pull-down menu. Enter the description in the Documentation text box. National Instruments recommends making the example descriptions similar in construc...

  • Page 19

    Chapter 4Creating Examples for Your Target© National Instruments Corporation4-3 1,Target Distribution 1, Guide•Turn on labels for all VIs and functions. Select a VI or function on the block diagram, right-click, and select Visible Items»Label from the shortcut menu to turn on labels. National...

  • Page 20

    © National Instruments Corporation5-1 1,Target Distribution 1, Guide5Adding Target-Specific DocumentationNational Instruments recommends that you provide target-specific documentation with your product so end users know how to use your target with LabVIEW. The following list describes suggested ...

  • Page 21

    Chapter 5Adding Target-Specific Documentation 1,Target Distribution 1,Guide5-2ni.comDocumentation Directory StructureLabVIEW documentation uses the following directory structure:•labview\help contains the help files (.chm) for the LabVIEW products you have installed.•labview\manuals contains...

  • Page 22

    Chapter 5Adding Target-Specific Documentation© National Instruments Corporation5-3 1,Target Distribution 1, Guide•Do not use obscure filenames. Remember that end users can access the PDF files through Start»All Programs»National Instruments»LabVIEW»LabVIEW Manuals, which opens a File Explo...

  • Page 23

    Chapter 5Adding Target-Specific Documentation 1,Target Distribution 1,Guide5-4ni.com3.Enter or edit the description of the VI in the VI Description text box. The VI description should include information about the controls and indicators. Consider including the following information in the descr...

  • Page 24

    Chapter 5Adding Target-Specific Documentation© National Instruments Corporation5-5 1,Target Distribution 1, GuideCreating Object Descriptions and Tip Strips for VIs and Dialog BoxesCreate descriptions for objects, such as controls and indicators, to describe the purpose of the object and to prov...

  • Page 25

    Chapter 5Adding Target-Specific Documentation 1,Target Distribution 1,Guide5-6ni.comLinking VIs to HTML Files or Compiled Help FilesIf you link a VI to an HTML file or to a compiled help file, a Detailed Help link to that file appears in the Context Help window when you move the cursor over the ...

  • Page 26

    Chapter 5Adding Target-Specific Documentation© National Instruments Corporation5-7 1,Target Distribution 1, Guide5.(Optional) Enter a .htm or .html filename or index keyword in the Help tag text box if the Help path text box links to a compiled help file. If you want to specify a topic in the co...

  • Page 27

    Chapter 5Adding Target-Specific Documentation 1,Target Distribution 1,Guide5-8ni.comDocumenting Concepts and TasksConceptual content gives end users background information they might need to use your target. Task-based information gives end users step-by-step instructions about how to use your t...

  • Page 28

    © National Instruments Corporation6-1 1,Target Distribution 1, Guide6Testing Your TargetYou must thoroughly test your target before you can distribute the product to customers or continue with the licensing process described in Chapter 30,7, 30,Licensing Your 30, Target and 30, Creating the In...

  • Page 29

    Chapter 6Testing Your Target 1,Target Distribution 1,Guide6-2ni.comTipYou can specify where LabVIEW creates the results directory in the LEP_AutoTest.ini file. By default LabVIEW creates the results directory in the autotest\results\win32con directory.After LabVIEW runs all the tests in the auto...

  • Page 30

    © National Instruments Corporation7-1 1,Target Distribution 1, Guide7Licensing Your Target and Creating the InstallerNational Instruments must license and sign the target before you can bundle and resell LabVIEW with your target. The steps in 8,the Process 8, Overview of 8,Bundling Your 8, Emb...

  • Page 31

    Chapter 7Licensing Your Target and Creating the Installer 1,Target Distribution 1,Guide7-2ni.comRefer to the LabVIEW Help, available by clicking the Help button in the Target Properties dialog box, for more information about creating and modifying the TgtSupp.xml file.Sending Files to National I...

  • Page 32

    Chapter 7Licensing Your Target and Creating the Installer© National Instruments Corporation7-3 1,Target Distribution 1, GuideCreating an Installer for Your TargetWhen you receive the merge module and signed TgtSupp.xml file from National Instruments, your setup developer can create the installat...

  • Page 33

    Chapter 7Licensing Your Target and Creating the Installer 1,Target Distribution 1,Guide7-4ni.comOptions for End Users Installing Your ProductWhen you ship your target to customers, you must send them the LabVIEW 8.2 redistributable CD, your target installation CD, and any printed documentation y...

  • Page 34

    © National Instruments CorporationA-1 1,Target Distribution 1, GuideATechnical Support and Professional ServicesAs the OEM, you must consider providing technical support for your product as part of your decision to bundle and resell LabVIEW with your target. Customers will contact you to purchas...

  • Page 35

    Appendix ATechnical Support and Professional Services 1,Target Distribution 1,GuideA-2ni.comIf you actionURI(http://www.ni.com):searched ni.comactionURI(http://www.ni.com): and could not find the answers you need, contact your local office or NI corporate headquarters. Phone numbers for our worl...