National Instruments LabView инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации National Instruments LabView. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции National Instruments LabView или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции National Instruments LabView можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций National Instruments LabView, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции National Instruments LabView должна находится:
- информация относительно технических данных устройства National Instruments LabView
- название производителя и год производства оборудования National Instruments LabView
- правила обслуживания, настройки и ухода за оборудованием National Instruments LabView
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск National Instruments LabView это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок National Instruments LabView и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта National Instruments, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания National Instruments LabView, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства National Instruments LabView, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции National Instruments LabView. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    Version 5.1 Addendum LabVIEW 5.1 Addendum February 1999 Edi tion Part Number 3221 79A-01[...]

  • Страница 2

    Internet Support E-mail: s upport@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com Bulletin Board Support BBS United States: 512 794 5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 Fax-on-Demand Support 512 418 1111 Telephone Support (USA) Tel: 512 795 8248 Fax: 512 794 5678 International Offices Australia [...]

  • Страница 3

    Important Information Warranty The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, du e to d efects in mate rials an d workman sh ip, for a period of 9 0 d ays from d ate o f sh ip m ent, as evidenced by receipts or other documentation. National Instruments will, at its option,[...]

  • Страница 4

    © National Instruments Corporation v LabVIEW 5.1 Addendum Contents About This Addendum Chapter 1 Required Configuration, Installation, and Upgrade Information Required System Configuration..................... ... .............. .............. ... .............. .............. .. 1-1 Operating System Patches ..................... .............. ..[...]

  • Страница 5

    Contents LabVIEW 5.1 Addendum vi © National Instruments Corporation Chapter 2 New Features in LabVIEW 5.1 Dialog Box, Menu, and Window Enhancements .......................................................... 2-1 Scaling Front Panel Objects .............. .............. ................. .............. .............. ... 2-1 Saving for a Previous Ve[...]

  • Страница 6

    Contents © National Instruments Corporation vii LabVIEW 5.1 Addendum Appendix A Manual Clarifications and Additions Multithreading ............................................................................................................... A- 1 ActiveX ........ .............. ................. .............. .............. .............. ......[...]

  • Страница 7

    Contents LabVIEW 5.1 Addendum viii © National Instruments Corporation Tables Table 1-1. Installation Requirements ................. ................. ................. ................. 1-2 Table 1-2. Common LabVIEW Launch Errors on UNIX ................. ................. ... 1-13 Table 2-1. HiQ and MATLAB Datatypes in L abVIEW ..... ............[...]

  • Страница 8

    © National Instruments Corporation ix LabVIEW 5.1 Addendum About This Addendum This addendum describes all of the new LabVIEW 5.1 features, compatibility issues, and configuration, installation, and upgrad e information. Upgrade issues pertain to LabVIEW 5.1 only . Note LabVIEW 5.1 ships with the same manual set that shipped with LabVIEW 5.0. This[...]

  • Страница 9

    © National Instruments Corporation 1-1 LabVIEW 5.1 Addendum 1 Required Configuration, Installation, and Upgrade Information This chapter describes the system requirements for the LabVIEW software and contains installation instructions and updated documentation information. Read the Required System Confi guration section, then foll o w the instruct[...]

  • Страница 10

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-2 © National Instruments Corporation Table 1-1. Installation Requirements Platf orm Media and System Requirements Important Notes All W indo ws Ve r s i o n s Distributed on CD-R OM. A separate CD contains the complete instrument dri v er library . Y ou[...]

  • Страница 11

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-3 LabVIEW 5.1 Addendum Po wer Macintosh Distributed on CD. LabVIEW requires System 7 o r 8. Y ou need a minimum of 24 MB of RAM and at least 100 MB of disk storage space for the minimal installation of LabVIEW or 120 MB for the full install[...]

  • Страница 12

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-4 © National Instruments Corporation Operating System Patches For your LabVIEW package to run effectively, be sure to install the following pa tches. Concurrent PowerMAX LabVIEW 5. 1 requires ver sion 4.2 or later of t he PowerMAX operating system. In a[...]

  • Страница 13

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-5 LabVIEW 5.1 Addendum Distribution Changes in LabVIEW 5.1 This section explains changes in platform support and installation media with this and subsequent versions of LabVIEW. LabVIEW 5.1 Platforms LabVIEW 5.1 is now av ailable with limit[...]

  • Страница 14

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-6 © National Instruments Corporation Installing LabVIEW If you are upgrading from an earlier version of LabVIEW, read the Upgrading to LabVIEW 5.1 section later in this chapter before installing LabVIEW. (Windows) For an introduction to t he LabVIEW env[...]

  • Страница 15

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-7 LabVIEW 5.1 Addendum Note The installer gives you the option of performing a full installation or a minimal installation. If you do not hav e suf ficient disk space (approximately 85 MB), choose the minimal installation and use your LabVI[...]

  • Страница 16

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-8 © National Instruments Corporation 3. If your CD was mou nted automatically , type the following command: pkgadd -d /cdrom/cdrom0/sola ris2 4. If you used the mount command in step 2, type the following command: pkgadd -d /cdrom/solaris2 Note See the [...]

  • Страница 17

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-9 LabVIEW 5.1 Addendum 3. T o change the current directory to the mounted CD-R OM, type the following command: cd /mnt/cdrom. 4. T o run the installation script, type the follo wing command: ./INSTALL. The INSTALL script prompts you to ente[...]

  • Страница 18

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-10 © National Instruments Corporation For More Information about LabVIEW After you have installed LabVIEW comple tely , it is ready to run. The LabVIEW User Manual and the LabVIEW Online Reference , which you can access by selecting Help»Online Re fere[...]

  • Страница 19

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-11 LabVIEW 5.1 Addendum Y ou can find further information about the NI-D A Q dri v er in the NI-D A Q Read Me File. T o vie w this file, click the Start b utton and select Programs » LabVIEW » NI-D A Q Read Me File . Macintosh The LabVIEW[...]

  • Страница 20

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-12 © National Instruments Corporation Installing HiQ for Windows The Windows CD includes HiQ, a mathematics application from National Instruments. If you install HiQ from the LabVIEW installation CD, a registration dialog box prompts you to enter a regi[...]

  • Страница 21

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-13 LabVIEW 5.1 Addendum Low-Level Register I/O for Windows 95/98 LabVIEW is very similar on all Windows operating systems. Unless your application communicates with hardware that is no t supported by one of the operating systems, you can tr[...]

  • Страница 22

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-14 © National Instruments Corporation Configuring LabVIEW Windows on UNIX This section describes procedures for configuring LabVIEW windows on UNIX operating systems. Configuring LabVIEW with the T ab Window Manager If you use the Tab Window Manager ( t[...]

  • Страница 23

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-15 LabVIEW 5.1 Addendum (Motif) T o change the behavior of mwm , use the xrdb command to set two mwm settings: mwm.clientAutoPlace: False mwm.positionIsFrame: False (CDE) T o change the beh avior of dtwm , use the xrdb command to set two dt[...]

  • Страница 24

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-16 © National Instruments Corporation 3. At the ok prompt, type: module-info Y ou then see information similar to the fo llowing lines: CPU FMI,MB86904 Rev. 2.5 : 7 0.0 MHz SBus (Divide By 3) : 2 3.3 MHz 4. T ype go to exit the monitor and resume operat[...]

  • Страница 25

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-17 LabVIEW 5.1 Addendum previous versions. For more information about the new ActiveX functionality, refer to the Improvements to ActiveX Automation section in Chapter 2, New Features in LabVIEW 5.1 . Additional Resources The LabVIEW docume[...]

  • Страница 26

    Chapter 1 Required Configuration, Installation, and U pgrade Information LabVIEW 5.1 Addendum 1-18 © National Instruments Corporation Converting VIs Upgrading LabVIEW is an automated process. When you open a VI created in a previous version, LabVIEW automatically converts and compiles the VI. Con version is a memory-intensiv e operation. When LabV[...]

  • Страница 27

    Chapter 1 Required Configuration, Installation, and Upgrade Information © National Instruments Corporation 1-19 LabVIEW 5.1 Addendum Y ou must upgrade the following add-ons for compatibility with LabVIEW 5.1: • LabVIEW Application Builder —Y ou must upgrade to LabVIEW Application Builder 5.1. This upgrade is free to ex isting users of the LabV[...]

  • Страница 28

    © National Instruments Corporation 2-1 LabVIEW 5.1 Addendum 2 New Features in LabVIEW 5.1 This chapter describes the features added and the significant changes made between versions 5.0 and 5.1. T o help you learn more about LabVIEW , version 5.1 of fers extensi v e online documentation, which you can access by choosing Hel p » Online Reference..[...]

  • Страница 29

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-2 © National Instruments Corporation • Once an object scales itself automatically , it might not scale back to its exact original size , when you size the windo w back to its original position. Ho wev er , you can use the Undo command to restore the original size. • When scaling arra[...]

  • Страница 30

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-3 LabVIEW 5.1 Addendum Setting All Objects on a Front Panel to Scale You can designate an entire front panel so that all of its objects scale automatically to match changes to the front panel window. 1. From the front panel of the VI, select VI Setup . 2. Under Window Optio[...]

  • Страница 31

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-4 © National Instruments Corporation Saving for a Previous V ersion With LabVIEW 5.1, you can save your VIs for the previous version of LabVIEW (LabVIEW 5.0). This makes upgrading LabVIEW very convenient, and h elps you to main tain your VIs in multip le versions of LabVIEW when necessar[...]

  • Страница 32

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-5 LabVIEW 5.1 Addendum When you choose File»Recently Opened Files , a submenu appears that contains the list of recently opened files. Select the f ile name to open it. The files are listed in chronological order , with the most recently opened file listed first. If the li[...]

  • Страница 33

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-6 © National Instruments Corporation T o f ind all instances of an object, right-click the object for which you want to find references: • If you are searching for a reference to a type def inition, select Find»All Instances . (For more information about type definitions, refer to the[...]

  • Страница 34

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-7 LabVIEW 5.1 Addendum New VIs, Functions, and Controls This section describes the new functionality in LabV IEW 5.1 for advanced mathematics, picture control, report generation, and image management. Changes to Controls and Indicators LabVIEW 5.1 has improved the appearanc[...]

  • Страница 35

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-8 © National Instruments Corporation Dialog Controls All the dialog controls are now grouped together in a new Dialog palette, shown in Figure 2-1 below. You can reach this palette from the front panel by selecting Controls»Dialog . Figure 2-1. Dialog Palette This palette includes the d[...]

  • Страница 36

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-9 LabVIEW 5.1 Addendum platform. The Dialog Recessed Frame control behav es like other decoration objects found in the Decorations palette. Y ou can use it as a grouping border to put around o ther dialog controls. 3D Graph Controls for Windows LabVIEW 5.1 adds a new way to[...]

  • Страница 37

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-10 © National Instruments Corporation W ith LabVIEW 5.1, in addition to the VIs that previously w orked at runtime, you can set any of the follo wing properties on running VIs and in run-time versions: • AutoLogging»Log File Path • AutoLogging»Log at Finish • AutoLogging»Print a[...]

  • Страница 38

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-11 LabVIEW 5.1 Addendum • History»Prompt for Com m ents at Save • History»Record Application Comments • History»Use Defaults Ring Enhancements All ring and enum constants include a dow n arrow, which distinguishes them from numeric constants. Also, rings and enums [...]

  • Страница 39

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-12 © National Instruments Corporation IVI Instrument Drivers and ActiveX Some parameters for ActiveX and IVI take a discrete list of valid values. Previously, when building ActiveX and IVI applications, you used numeric values to set parameters for properties and methods that control dev[...]

  • Страница 40

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-13 LabVIEW 5.1 Addendum T o access the ring constant when b uilding an Acti veX or IVI application, right-click the parameter that accepts data v alues and select Cr eate Constant . T o see the corresponding numeric data value, right-click the ring constant and select Show?[...]

  • Страница 41

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-14 © National Instruments Corporation 3. W ire the Automation refnum from the container terminal or an Automation function to the Create Activ eX Event Queue VI. 4. Place the W ait On ActiveX Event VI on the block diagram. 5. W ire the e vent queue to the W ait On Act iv eX Event VI. 6. [...]

  • Страница 42

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-15 LabVIEW 5.1 Addendum HiQ and MA TLAB Functionality for Windows HiQ and MATLAB are software packages that help you organize and visualize real-world math, science, and engineering problems. You can use HiQ and MATLAB to express numeric formulas elegantly. Now with LabVIEW[...]

  • Страница 43

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-16 © National Instruments Corporation Creating a HiQ Script Complete the following instructions to create and run a VI that uses a HiQ script. 1. From the block diagram, choo se Functions»Mathematics» F ormula»HiQ-Script . Place the node on the block diagram, and size it according to [...]

  • Страница 44

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-17 LabVIEW 5.1 Addendum 7. T o add inputs and outputs for variables, right-click the right side of the node frame and select Add Input or Add Output . T ype in a to add an output for the a variable that is included in your HiQ script. By default, your node already includes [...]

  • Страница 45

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-18 © National Instruments Corporation Creating a MA TLAB Script Complete the following instructions to create and run a VI that uses a MATLAB script. 1. From the block diagram, choo se Functions»Mathematics» F ormula»MA TLAB Script . Place the node on the block diagram, and size it ac[...]

  • Страница 46

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-19 LabVIEW 5.1 Addendum 7. Run the VI. LabVIEW launches MA TLAB and a new MA TLAB window appears, labeled F igure No. 1 , that displays the matrix. The v alues that make up this matrix are displayed in the a indicator of your front panel in LabVIEW . Importing or Exporting [...]

  • Страница 47

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-20 © National Instruments Corporation Scrolling through a HiQ or MA TLAB Script Just as with a regular formula node, yo u can display a scrollbar within y our script node by right-clicking the node and selectin g Show»Scrollbar . A scrollbar appears on the right side of your script node[...]

  • Страница 48

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-21 LabVIEW 5.1 Addendum Debugging a HiQ or MA TLAB Script Use the following programming techniques to make debu gging your script easier: • Write your script and run it within the native engine (HiQ or MA TLAB) for testing and debugging purposes before you import it into [...]

  • Страница 49

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-22 © National Instruments Corporation Error Codes The following table explains error messages you might receive at runtime when working with a script node. Integration of Mathematics and Signal Processing VIs LabVIEW 5.1 includes more VIs designed to help you solve advanced mathematics p[...]

  • Страница 50

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-23 LabVIEW 5.1 Addendum For function and reference information about the Mathematics VIs and functions, refer to the Ma thematics VIs topic in the LabVIEW Onlin e Reference . Mathematics Palette Table 2-3 lists the subpalettes you find in the Functions»Mathematics palette,[...]

  • Страница 51

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-24 © National Instruments Corporation Signal Processing Palette For function and reference information about the Signal Processing VIs, refer to the Signal Processing VIs topic in the LabVIEW Online Reference . T able 2-4 lists the subpalettes you find i n the Functions»Signal Processin[...]

  • Страница 52

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-25 LabVIEW 5.1 Addendum Note The Picture Control VIs are available on all platf orms and versions with the exception of the W indows base v ersion. Y ou can find e xamples of the Picture Control VIs in the ExamplesPicture directory . Sound VIs for Windows and Macintosh You[...]

  • Страница 53

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-26 © National Instruments Corporation T o create reports using the Report Generation VIs, go to the Functions»Repo rt Generation palette. Y ou can use the Report Generation VIs to do the foll o wing: • Set up a report ’ s headers and footers (which c an include date and time stamps)[...]

  • Страница 54

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-27 LabVIEW 5.1 Addendum See the Easy T ext Report VI description in the Report Generation VI Descriptions section later in this chapter for inform ation on this VI’ s parameters. Tip See the block diagram of the Easy T ext Report VI for a good example of how you can use t[...]

  • Страница 55

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-28 © National Instruments Corporation Report Generation VI Descriptions This section describes the Report Generation VIs, includin g descriptions and data types of each parameter. From the block diagram, you can reach the new Report Generation palette by selecting Functions»Report Gener[...]

  • Страница 56

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-29 LabVIEW 5.1 Addendum The Report Generation palette has two subpale ttes: • Functions»Report Generation»Report Layout • Functions»Report Generation»Advanced Reports You can find examples of the Report Generation VIs in the ExamplesReportsTextReportE xample.llb d[...]

  • Страница 57

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-30 © National Instruments Corporation F ont Settings indicates what font settings currently are used in a report. Charset indicates the character set used in the report (such as the set for a specific language). We i g h t indicates how dark bold characters appear . Name indicates the fo[...]

  • Страница 58

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-31 LabVIEW 5.1 Addendum left is the information you want to appear in the left side of the header . center is the informat ion you want to appear in the center portion of the header . right is the information you want to appear in the ri ght side of the header . left f oot [...]

  • Страница 59

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-32 © National Instruments Corporation orientation specifies ho w the report appears when it is printed. Y ou can choose from portrait , which prints the report widthwise, or landscape , which prints the report lengthwise. Printer Name specifies the name of the printer that you want to pr[...]

  • Страница 60

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-33 LabVIEW 5.1 Addendum T ext Options specifies ho w the text appears in the report. Italic determines whether subsequent text appears in italics in the report. Strike Thr ough determines whether subsequent text appears with strikethroughs in the repo rt. Underline determin[...]

  • Страница 61

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-34 © National Instruments Corporation Y ou might find using tokens with this VI helpful, particularly in the Headers and Footers parameters. For e xample you might want to gi ve the report a time stamp. See the Tokens topic, earlier in this chapter , for more information on some common t[...]

  • Страница 62

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-35 LabVIEW 5.1 Addendum Append Numeric T able to Report T akes a 2D array of numbers and appends it to a report as a table with the gi ven column widths. Append T ext T able to Report T akes a 2D array of strings and appends it to a report as a table with the giv en column [...]

  • Страница 63

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-36 © National Instruments Corporation Dispose Report Closes the report and releases its interface, which sa ves memory . No further operations are permitted on the report. Howe v er , you can create a new report. Y ou can use this VI only as the last VI in the report function you are cre[...]

  • Страница 64

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-37 LabVIEW 5.1 Addendum New Report Page Adds a new page in the report to which you can append text or append another file. Print Report Prints the report to a designated printer or to the default printer set up on your computer . Set Report Font Sets the font properties for[...]

  • Страница 65

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-38 © National Instruments Corporation Set Report Header T ext Sets the text for the VI header . Y ou might find that using tokens with this VI is helpful, particularly in the Headers and F ooters parameters. For example, you might want to giv e the report a time stamp in the header . See[...]

  • Страница 66

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-39 LabVIEW 5.1 Addendum Set Report T ab Width Sets the tab width in the report. T o place a tab in your text, insert the token <tab> in the text string. Alternati vely , you can use the Concatenate String function and insert a tab constant to build the te xt string. E[...]

  • Страница 67

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-40 © National Instruments Corporation If you are scanning modules, you can scan an arbitrary number of channels for each module using channel list elements that are components of the SCXI channel syntax. Previously , ho we ver , the channels of each module needed to be scanned in consecu[...]

  • Страница 68

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-41 LabVIEW 5.1 Addendum three VIs could be found on the VISA Serial palette b ut are now on the Interface Specific palette: • VISA Set Serial Buf fer Size • VISA Flush Serial Buf fer • VISA Seria l Break In addition to the above existing functions, you can find the fo[...]

  • Страница 69

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-42 © National Instruments Corporation Building an Application Complete the following instructions to build an application in LabVIEW. 1. Select Project»Build Application… . The Build Application dialog box appears. The Build Application dialog box contains the follow ing tabs: Target [...]

  • Страница 70

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-43 LabVIEW 5.1 Addendum c. If you want to add support files, click Add Support File… . When you use this op tion, data files copy o ver to your application directory automatically . In addition to VI files (VIs, controls, menus, external subroutines, and so on), you can d[...]

  • Страница 71

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-44 © National Instruments Corporation Activ eX server . When you build an application myapp.exe , an Activ eX type library myapp.tlb is also created along with the ex ecutable. The type library defines a createable class, Application , and a dispatch class, Virtual Instrument , and expor[...]

  • Страница 72

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-45 LabVIEW 5.1 Addendum Note This completes the build application process on the UNIX and Macintosh platforms. The steps described in the follo wing section apply to W indows only . Creating an Installer (Windows only) 1. From the Installer tab, click the Create installer c[...]

  • Страница 73

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-46 © National Instruments Corporation fil e o r a registry file. Install the file as part of your installation and then run it afterwards to make the necessary modif ications. The file that you run must be one of the files that you install. 4. If you choose to run an executable after the[...]

  • Страница 74

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-47 LabVIEW 5.1 Addendum Enhancements to Networking This section describes the networking enhancements in LabVIEW 5.1. DataSocket VIs for Windows DataSocket technology facilitates the exchange of data and information between an application and a number of different data sour[...]

  • Страница 75

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-48 © National Instruments Corporation The W eb Ser ver With the Web Server in Lab VIEW, you can pu blish your VI front p anels on the World Wide Web along with HTML documents. The built-in W eb Server is intended for users that need to make the panels of their running VIs visible on the [...]

  • Страница 76

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-49 LabVIEW 5.1 Addendum The W eb Ser ver Browser Access Dialog Box The Web Server Browser Access dialog box lists th e remote computers on the Internet that are allowed to access the Web Server. Access the W eb Server Br owser Access dialog box by selecting Edit»Prefer enc[...]

  • Страница 77

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-50 © National Instruments Corporation T able 2-7 describes the av ailable options. When a bro wser attempts to connect to the W eb Serv er , the server examines the entries in the Browser Access List to determine whether the computer is permitted access. If an entry in the list matches t[...]

  • Страница 78

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-51 LabVIEW 5.1 Addendum For e xample, if you giv e a.test.site.com and b.test.site.com access, but do not e xtend access to all addresses ending in .test.site.com (where the * wildcard indicates all), the two computers still hav e access. If no entry matches the client addr[...]

  • Страница 79

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-52 © National Instruments Corporation The W eb Ser ver Visible VIs Dialog Box Because the Web Server publishes front panels to the Web, it is best to specify which VI front panels you allow to b e published. Through the Web Server: Visible VIs dialog box, you specify which front panels c[...]

  • Страница 80

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-53 LabVIEW 5.1 Addendum T able 2-9 describes the av ailable options. Each entry in the Vis i b l e V I s list describes a VI name or a VI path and might contain wildcard characters. Entries that contain path separators are compared against VI paths, while entries that do no[...]

  • Страница 81

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-54 © National Instruments Corporation ho w that entry is set up. If a subsequent entry also matches the VI, its access permission is used in place of the pre vious permission. If there is no VI in the list that matches the requested VI, access to the VI’ s image is denied. Y ou can use[...]

  • Страница 82

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-55 LabVIEW 5.1 Addendum the string srvr_ and ends with the string .vi is e xported. No VI that begins with the string local_ and ends with the string .vi is exported, ev en if it is located within the c:labviewser ver directory . By default, the front panel image of all V[...]

  • Страница 83

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-56 © National Instruments Corporation Publishing Front Panel Images on the W eb Complete the following st eps to publish a VI fr ont panel image on the World Wide Web. 1. Run the W eb Server b y checking Enable W eb Server in the Prefer ences»W eb Server: Conf iguration di alog box. 2. [...]

  • Страница 84

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-57 LabVIEW 5.1 Addendum Viewing an Animated V ersion of a Front Panel Complete the following steps to view an animated version of a front panel. 1. Open a W eb bro wser . 2. T y pe in a URL that includes the address of the LabVIEW W eb Server , the command for an animated i[...]

  • Страница 85

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-58 © National Instruments Corporation What URLs Can I Use with My Front Panel Images? With the Web Server, you can publish images of your VI front panels on the World Wide Web. You do not need to modify the VIs to display their front panels. Front Panel Image Formats The Web Server can g[...]

  • Страница 86

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-59 LabVIEW 5.1 Addendum The syntax to use in the URL for static front panel images is as follo ws (parameters in brackets [ ] are optional): .snap?VI_Name [ &type=type ] [ &depth=depth ] [ &quality=quality ] [ &compression=compression ] [ &refresh=refres[...]

  • Страница 87

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-60 © National Instruments Corporation The following are some examples on ho w you would use this syntax: • T o return the front panel image of the VI My VI.vi from the computer foo using the default image type , depth , and quality , use the following code: http://foo/.snap?My%20VI.vi [...]

  • Страница 88

    Chapter 2 New Features in LabVIEW 5.1 © National Instruments Corporation 2-61 LabVIEW 5.1 Addendum The syntax to use in the URL for static front panel images is as follo ws (parameters in brackets [ ] are optional): .monitor?VI_Name [ &type=type ] [ &depth=depth ] [ &quality=quality ] [ &compression=compression ] [ &refresh=ref[...]

  • Страница 89

    Chapter 2 New Features in LabVIEW 5.1 LabVIEW 5.1 Addendum 2-62 © National Instruments Corporation Lifespan is the number of seconds the front panel animation lasts. Setting Lifespan=0 implies that the animation continues until the browser cancels it. If no lifespan is specified, the def ault lifespan is used. Note When using client-pull animation[...]

  • Страница 90

    © National Instruments Corporation A-1 LabVIEW 5.1 Addendum A Manual Clarifications and Additions This appendix clarifies and corrects information in the LabVIEW manual set. Because these manuals were not re vised for the v ersion 5.1 release of LabVIEW , th is appendix contains information relev ant only to the previous release. Enhancements to L[...]

  • Страница 91

    Appendix A Manual Clarifications and Additions LabVIEW 5.1 Addendum A-2 © National Instruments Corporation Data Format — The compatibility VIs fo r the LabVIEW 4. x Autom ation functions require that you pass flattened d ata in the LabVIEW 4. x format. LabVIEW 5. x loads your LabVIEW 4. x VIs and automatically selects the Convert 4.x Data option[...]

  • Страница 92

    Appendix A Manual Clarifications and Additions © National Instruments Corporation A-3 LabVIEW 5.1 Addendum palettes are skipped. Unlike icon palettes, you cannot tack do wn text palettes or subpalettes. In All T ext mode, LabVIEW displays text palettes in the Project menu and the Find dialog box. In Standard or All Icons mode, LabVIEW displays ico[...]

  • Страница 93

    Appendix A Manual Clarifications and Additions LabVIEW 5.1 Addendum A-4 © National Instruments Corporation Figure A-1. File Manager T ool Dialog Box If you select an LLB, you can click Convert LLBs to Dirs to con v ert it to a directory . If you select a directory and click this button, the tool scans for all LLBs within that directory and gives y[...]

  • Страница 94

    Appendix A Manual Clarifications and Additions © National Instruments Corporation A-5 LabVIEW 5.1 Addendum contain characters that are in valid on some platforms. By scanning within LLBs, this tool helps you detect potential problems if you move your files out of VI libraries. Use the Show dates option at the bottom of the dialog box to display f [...]

  • Страница 95

    Appendix A Manual Clarifications and Additions LabVIEW 5.1 Addendum A-6 © National Instruments Corporation Configuration File VIs — The Configuration File VIs, which you can access from the Functions»File I/O»Configura tion File VIs palette, provide tools for reading from and writing to a platform-independent configuration f ile similar in for[...]

  • Страница 96

    Appendix A Manual Clarifications and Additions © National Instruments Corporation A-7 LabVIEW 5.1 Addendum Support for T emplate VIs and Controls Y ou can save commonly used VIs and controls as templates. T o create a template VI, sa ve a VI with a .vit extension (or .ctt extensi on for typedefs). When you open a template VI or control, the new f [...]

  • Страница 97

    Appendix A Manual Clarifications and Additions LabVIEW 5.1 Addendum A-8 © National Instruments Corporation • The LabVIEW priority system is reflected in the way the k ernel runs L WPs. Highe r -priority e x ecution threads ( L WPs) ta k e ov er the system, not all o wing l o we r -priorit y sy stem tasks to e x ecute. • Switching between threa[...]

  • Страница 98

    Appendix A Manual Clarifications and Additions © National Instruments Corporation A-9 LabVIEW 5.1 Addendum • In Chapter 6, Strings and File I/O , the block diagram in Ac t i vity 6-3, String Subsets and Number Extraction , sh o ws the From Exponential/Fract/Eng function. The block diagram should sh o w the Scan From String function, as described[...]

  • Страница 99

    Appendix A Manual Clarifications and Additions LabVIEW 5.1 Addendum A-10 © National Instruments Corporation 1073676421 VI_W ARN_UN KNOWN_ST A TUS The status code passed to the operation coul d not be interpreted. 1073676420 VI_W ARN_NSU P_A TTR_ST A TE Although the specified s tate of the attribute is v alid, it is not supported by this resource i[...]

  • Страница 100

    Appendix A Manual Clarifications and Additions © National Instruments Corporation A-11 LabVIEW 5.1 Addendum -1073807252 VI_ERR OR_ASRL_O VERR UN An overrun error occurred during transfer . A character was not read from the hardware before the next character arriv ed. -1073807253 VI_ERR OR_ASRL_FRAMING A framing error occurred during transfer . -10[...]

  • Страница 101

    © National Instruments Corporation I-1 LabVIEW 5.1 Addendum Index Numbers 3D graph controls for Windows, 2-9 A accessing recently opened files, 2-4 to 2-5 ActiveX Automation Open functio n improvements, 2-14 compatibility VIs for ActiveX functions, 1-16 enhancements for Windows, 2-13 to 2-14 ring enhancements, 2-13 support for events, 2-13 to 2-14[...]

  • Страница 102

    Index LabVIEW 5.1 Addendum I-2 © National Instruments Corporation converting VIs, 1-18 CVI Functional Panel Converter, man ual changes for, A-2 D data acquisition (DAQ) DAQ enhancements, 2-39 to 2-40 DAQ Solution Wizard, 2-39 new syntax element for nonsequentially scanned SCXI module channels, 2-39 to 2-40 support for NI-DAQ for Windows and Macint[...]

  • Страница 103

    Index © National Instruments Corporation I-3 LabVIEW 5.1 Addendum HiQ and MATLAB functionality fo r Windows, 2-15 to 2-22 integration of mathematics and signal processing VIs, 2-22 to 2-24 integration of Picture Control VIs, 2-24 to 2-25 property and invoke nodes, 2-9 Report Generation VI descriptions, 2-28 to 2-38 ring enhancements, 2-11 to 2-13 [...]

  • Страница 104

    Index LabVIEW 5.1 Addendum I-4 © National Instruments Corporation Linux, 1-8 to 1-9 Macintosh, 1-6 to 1 -7 more information about LabVIEW, 1-9 notes, 1-9 to 1-1 0 PowerMAX, 1-8 requirements Concurrent PowerMAX, 1-4 HP-UX systems (table), 1-4 Power Macintosh (table), 1-3 Sun systems (table), 1-3 UNIX systems (table), 1-3 Windows operating systems ([...]

  • Страница 105

    Index © National Instruments Corporation I-5 LabVIEW 5.1 Addendum Power Macintosh installation requirements (table), 1-3 sound VIs, 2-25 support for NI-DAQ for Windows and Macintosh, 2-39 Macintosh Navigation Services, 2-6 Macintosh Open Transport support, A-6 manual clarifications and additions, A-1 to A-11 about this addendum, ix ActiveX, A-1 to[...]

  • Страница 106

    Index LabVIEW 5.1 Addendum I-6 © National Instruments Corporation discontinued platform support, 1-5 installation requiremen ts (table ), 1-2 to 1-4 installing LabVIEW, 1-6 t o 1-1 1 Save for Previous option (note), 1-5 P Picture Control VIs, 2-24 to 2-25 Power Macintosh. See also Macintosh computers. installation req uirements (table), 1-3 PowerM[...]

  • Страница 107

    Index © National Instruments Corporation I-7 LabVIEW 5.1 Addendum Find All Instances and Search Results dialog box, 2-5 to 2-6 Find dialog box, 2-5 server functionality compatibility VIs for, 1-16 VI server properties in reserved VIs and runtime systems, 2-9 to 2 -11 Signal Generator by Duration VI, A-2 signal processing VIs integration with mathe[...]

  • Страница 108

    Index LabVIEW 5.1 Addendum I-8 © National Instruments Corporation saving for previous version, 2-4 Signal Generator by Duration VI, A-2 sound VIs for Windows and Macintosh, 2-25 templates for VIs and controls, A-7 VI server properties in reserved VIs and runtime systems, 2-9 to 2 -11 VISA enhancements, 2-40 to 2-41 VISA error codes (table) , A-9 t[...]