【正文】
Voltage Reading and select Color from the shortcut menu. Using the Color picker, select a color, such as yellow, so that the plot is easy to read. Change the plot color of Second Voltage Reading. 4. Save this VI. Communicating with an Instrument Instrument drivers simplify instrument control and reduce test program development time by eliminating the need to learn the programming protocol for each instrument. Use an instrument driver for instrument control when possible. National Instruments provides instrument drivers for a wide variety of instruments. Visit the NI Instrument Driver Network at If a driver is not available for your instrument, you can use the Instrument I/O Assistant Express VI to municate with your instrument. Complete the following exercises to municate with an instrument. Selecting an Instrument Before municating with an instrument, you must select the instrument with which you want to municate. Complete the following steps to select an instrument using the Instrument I/O Assistant Express VI. 1. Make sure you turn on the instrument you want to use. The instrume nt must be powered on to use the Instrument I/O Assistant Express VI. 2. Select the Instrument I/O Assistant Express VI on the Input palette and place it on the 14 block diagram. 3. Click the Show Help button, shown at left, in the upper right corner of the Instrument I/O Assistant dialog box. Notice how the Show Help button displays the help to the right of the dialog box. The help window on top contains procedural information about using the Instrument I/O Assistant. The help window below provides contextsensitive help about various controls and indicators in the dialog box. 4. Follow the procedures in the help window on top to select the instrument with which you want to municate. 5. If necessary, configure the properties of the instrument. 6. Click the Hide Help button, shown at left, in the upper right corner of the Instrument I/O Assistant dialog box to minimize the help window. Acquiring and Parsing Information for an Instrument After selecting the instrument, you can send mands to the instrument to retrieve data. In this exercise, you will learn to use the Instrument I/O Assistant Express VI to acquire and parse identification information for an instrument. Complete the following steps to municate with your instrument. 1. Click the Add Step button, and select Query and Parse. 2. Enter *IDN? in the Enter a mand text box. *IDN? is a query that most instruments recognize. The response is an identification number string that describes the instrument. If the instrument does not accept this mand, refer to the reference manual for the instrument for a list of mands the instrument does understand. 3. Click the Run Sequence button. The Instrument I/O Assistant sends the mand to the instrument, and the instrument returns its identification information. 4. Parse the instrument name as an ASCII string. You also can use Instrument I/O Assistant to parse ASCII numbers and binary data. 5. Click the Parsing help button, shown at left, in the Instrument I/O Assistant dialog box for more information about parsing data. 6. Assign a name to the token in the Token name text box. A token is a parsed data selection. 7. Click the OK button to return to the block diagram. Notice that the name that you entered in the Token name text box is the output of the Instrument I/O Assistant Express VI, shown at left. Summary The following topics are a summary of the main concepts you learned in this chapter. DAQ Assistant Express VI You can use the DAQ Assistant Express VI to graphically configure channels or mon measurement tasks. Using the DAQ Assistant Express VI, you can interactively build a measurement channel or task. Place the DAQ Assistant Express VI on the block diagram to configure channels and tasks for use with NIDAQmx for data is a programming interface for municating with data acquisition devices. You can use the DAQ Assistant Express VI to control devices supported in NIDAQmx. Refer to the Taking an NIDAQmx Measurement in LabVIEW help tutorial for information about the DAQ Assistant. To launch this help tutorial, select Help187。Numeric Indicator to create a numeric indicator. 2. Rightclick the Mean output of the Sample Compression Express VI and select Insert Input/Output from the shortcut menu to insert the Enable input. 3. Rightclick the Enable input and select Create187。 本科畢業(yè)設(shè)計(jì)(論文) 外文翻譯原文 學(xué)生姓名: 何 曉 君 院 (系): 電 子 工 程 學(xué) 院 專業(yè)班級(jí) : 測控 0602 班 指導(dǎo)教師 : 薛 曉 書 完成日期 : 2021 年 4 月 20 日 1 Expanding the Features of a VI You can choose one of many LabVIEW VI templates to use as a starting point. However, sometimes you need to build a VI for which a template is not available. This chapter teaches you how to build and customize a VI without using a template. Building a VI from a Blank Template In the following exercises, you will open a blank VI and add Express VIs and structures to theblock diagram to build a new VI. You will build a VI that generates a signal, reduces the number of samples in the signal, and displays the resulting data in a table on the front panel. When you plete the exercises, the front panel of the VI will look similar to the front panel in Figure 31. You can plete the exercises in approximately 30 minutes. Figure 31. Front Panel for the Reduce Samples VI Opening a Blank VI If no template is available for the task you want to create, you can start with a blank VI and add Express VIs to acplish the specific task. Complete the follow