Measurement studio tm user manual measurement studio user manual measurement studio user manual july 2004 edition part number 323392b-01.
Worldwide technical support and product information ni.Com national instruments corporate headquarters 11500 north mopac expressway austin, texas 78759-3504 usa tel: 512 683 0100 worldwide offices australia 1800 300 800, austria 43 0 662 45 79 90 0, belgium 32 0 2 757 00 20, brazil 55 11 3262 3599, ...
Important information warranty the 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. Nati...
© national instruments corporation v measurement studio user manual contents about this manual how to use this manual ................................................................................................Vii conventions .........................................................................
Contents measurement studio user manual vi ni.Com analysis ......................................................................................................................... 3-3 standard analysis ........................................................................................... 3-3 p...
© national instruments corporation vii measurement studio user manual about this manual the measurement studio user manual introduces the concepts associated with the measurement studio class libraries and development tools. This manual assumes that you have a general working knowledge of microsoft ...
About this manual measurement studio user manual viii ni.Com conventions the following conventions appear in this manual: » 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 menu, select t...
© national instruments corporation 1-1 measurement studio user manual 1 introduction to measurement studio measurement studio is an integrated suite of native tools and class libraries that are designed for developers using visual basic .Net, visual c#, and visual c++ .Net to develop measurement and...
Chapter 1 introduction to measurement studio measurement studio user manual 1-2 ni.Com distribution requirements to distribute an application built with measurement studio .Net class libraries, the target computer must have a windows 2000/xp operating system and the .Net framework version 1.1. To di...
Chapter 1 introduction to measurement studio © national instruments corporation 1-3 measurement studio user manual 3. Enter the serial number. You can find your serial number on the certificate of ownership card that you received with measurement studio. Click next . 4. Click next to install all ni ...
Chapter 1 introduction to measurement studio measurement studio user manual 1-4 ni.Com measurement studio package comparison chart table 1-1 lists the features included in the standard, professional, and enterprise editions of measurement studio. Table 1-1. Measurement studio package comparison char...
Chapter 1 introduction to measurement studio © national instruments corporation 1-5 measurement studio user manual measurement studio resources as you work with measurement studio, you might need to consult other resources. For detailed measurement studio help, including function reference and in-de...
Chapter 1 introduction to measurement studio measurement studio user manual 1-6 ni.Com if you have not previously installed measurement studio for windows 2000/xp, version 7.0, the example programs are installed to the following directory: – visual basic .Net or visual c#— program filesational ins...
© national instruments corporation 2-1 measurement studio user manual 2 measurement studio .Net class libraries this chapter provides overview information about the .Net class libraries included with measurement studio. Refer to the using the measurement studio .Net class libraries section of the ni...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-2 ni.Com analysis the measurement studio analysis .Net class library is in the nationalinstruments.Analysis namespace. The analysis class library includes a set of classes that provides various digital signal processi...
Chapter 2 measurement studio .Net class libraries © national instruments corporation 2-3 measurement studio user manual enterprise analysis the enterprise analysis class library, which ships with measurement studio enterprise edition, includes the standard and professional analysis functionality as ...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-4 ni.Com ni-488.2 the measurement studio ni-488.2 .Net class library is in the nationalinstruments.Ni4882 namespace. This class library is included on the device drivers cd. The ni-488.2 class library includes a set o...
Chapter 2 measurement studio .Net class libraries © national instruments corporation 2-5 measurement studio user manual ni-visa the measurement studio ni-visa .Net class library is in the nationalinstruments.Visans namespace. The ni-visa class library includes a set of classes that provides a rich, ...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-6 ni.Com • thermometer • tank • numeric edit • switch • led use this class library to add measurement-specific user interface controls to your application. Configure the controls programmatically or through the proper...
Chapter 2 measurement studio .Net class libraries © national instruments corporation 2-7 measurement studio user manual figure 2-1. Waveform graph with cursors and scatter graph with xy point annotation; both graphs have corresponding legends with the waveform graph and scatter graph controls and th...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-8 ni.Com • use cursor labels to display x and y data coordinates that the cursor crosshair points to, and customize the text font and colors of the label. • use the extensible plot and plot area drawing capabilities a...
Chapter 2 measurement studio .Net class libraries © national instruments corporation 2-9 measurement studio user manual numeric controls use the measurement studio numeric controls to display numerical information on a windows forms user interface with the look of scientific instruments. The numeric...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-10 ni.Com figure 2-3. Slide, tank, and thermometer controls with the slide, tank, and thermometer controls and the classes that interface with them, you can perform the following operations: • fill the minimum or maxi...
Chapter 2 measurement studio .Net class libraries © national instruments corporation 2-11 measurement studio user manual numeric edit control use the measurement studio numeric edit control, as shown in figure 2-4, to display numeric values and to provide a way by which end users can edit numeric va...
Chapter 2 measurement studio .Net class libraries measurement studio user manual 2-12 ni.Com switch and led controls use the measurement studio switch and led controls as boolean controls on a windows forms user interface. You typically use a switch control, as shown in figure 2-5, to receive and co...
© national instruments corporation 3-1 measurement studio user manual 3 measurement studio visual c++ class libraries this chapter provides overview information about the visual c++ class libraries that are available with measurement studio. Refer to the using the measurement studio visual c ++ clas...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-2 ni.Com activex controls in visual c++ activex controls are specialized com servers that implement a specific set of interfaces. The measurement studio visual c++ button, graph, knob, numeric edit, slide, and 3...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-3 measurement studio user manual • bind the control to a datasocket server to enable automatic read and write functionality. • use multiple plot styles—point-line, line-point, hidden-line, contour, surface, ...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-4 ni.Com professional analysis the professional analysis class library, which ships with measurement studio professional edition, includes the standard analysis functionality as well as the following functionali...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-5 measurement studio user manual common the measurement studio common visual c++ class library provides data types and classes that other measurement studio visual c++ class libraries use. The classes that a...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-6 ni.Com ivi drivers are divided into two main categories—class drivers and specific drivers. Each class driver provides a consistent interface to a particular type of device. Measurement studio includes the fol...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-7 measurement studio user manual tip for more information on using the labview real-time module, refer to the labview real-time interface visual c ++ class library overview topic in the ni measurement studio...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-8 ni.Com ni-488.2 use the measurement studio ni-488.2 visual c++ class library to communicate with and control instruments on a gpib interface. Use the classes in this library to perform the following operations...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-9 measurement studio user manual ni-reports use the measurement studio ni-reports visual c++ class library to generate printed reports from measurement studio visual c++ applications. This class library is i...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-10 ni.Com user interface use the measurement studio user interface visual c++ class library to add user interface controls to your application. You can configure the user interface controls programmatically or t...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-11 measurement studio user manual graph control use the measurement studio activex graph control, as shown in figure 3-3, to plot and chart two-dimensional data. The cnigraph class provides the visual c++ in...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-12 ni.Com • bind properties to a datasocket source or target. You use binding to read property values from a source and write property values to a target. Tip for more information about easily using the graph co...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-13 measurement studio user manual numeric edit control use the measurement studio activex numeric edit control, as shown in figure 3-5, to display numeric values and provide a way by which end users can edit...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-14 ni.Com slide control use the measurement studio activex slide control, as shown in figure 3-6, to display numerical data. Cnislide is the class that provides the visual c++ interface to the activex slide cont...
Chapter 3 measurement studio visual c++ class libraries © national instruments corporation 3-15 measurement studio user manual utility use the measurement studio utility visual c++ class library to easily access windows operating system functionality. Table 3-1 lists classes in the utility class lib...
Chapter 3 measurement studio visual c++ class libraries measurement studio user manual 3-16 ni.Com tip for more information about using the utility class library, refer to the utility visual c ++ class library overview topic in the ni measurement studio help . Cnitempfile cnitempfile extends the fun...
© national instruments corporation 4-1 measurement studio user manual 4 developing with measurement studio when you use measurement studio in the visual studio .Net environment, you have access to measurement and automation tools and features for visual basic .Net, visual c#, and visual c++ .Net. Th...
Chapter 4 developing with measurement studio measurement studio user manual 4-2 ni.Com • add/remove class libraries wizard —use the measurement studio add/remove class libraries wizard to add or remove measurement studio class libraries or assemblies in existing visual basic .Net, visual c#, or visu...
Chapter 4 developing with measurement studio © national instruments corporation 4-3 measurement studio user manual • preferences —use the measurement studio preferences dialog box to configure measurement studio settings, such as conversion options and add-in preferences. • patents —use the patents ...
Chapter 4 developing with measurement studio measurement studio user manual 4-4 ni.Com figure 4-1. New project dialog box tip for more information about using project templates to create a new measurement studio project, refer to the creating a new measurement studio project section in the ni measur...
Chapter 4 developing with measurement studio © national instruments corporation 4-5 measurement studio user manual the daq assistant interactively assists you in performing the following operations: • creating a daq task class • configuring a daq task class • generating a visual basic .Net, visual c...
Chapter 4 developing with measurement studio measurement studio user manual 4-6 ni.Com creating an ni-daqmx user control you can create an ni-daqmx .Net user control with measurement studio that provides a default graphical user interface to an ni-daqmx task. The ni-daqmx user control wizard wraps a...
Chapter 4 developing with measurement studio © national instruments corporation 4-7 measurement studio user manual figure 4-3. Instrument i/o assistant the instrument i/o assistant aids you in performing the following operations: • creating an instrumentation task class • configuring an instrumentat...
Chapter 4 developing with measurement studio measurement studio user manual 4-8 ni.Com adding or removing measurement studio class libraries to add or remove measurement studio class libraries from a project, use the measurement studio add/remove class libraries wizard on the measurement studio menu...
Chapter 4 developing with measurement studio © national instruments corporation 4-9 measurement studio user manual selecting a measurement studio parameter value to access i/o devices or resources, you must specify string constants or scalar values for many method parameters and property values. Use...
Chapter 4 developing with measurement studio measurement studio user manual 4-10 ni.Com calling instrument drivers from .Net languages to use an ivi or vxi plug&play instrument driver with a c dll in a measurement studio .Net application, use the measurement studio .Net instrument driver wizard to c...
© national instruments corporation a-1 measurement studio user manual a technical support and professional services visit the following sections of the national instruments web site at ni.Com for technical support and professional services: • support —online technical support resources at ni.Com/sup...
© national instruments corporation g-1 measurement studio user manual glossary a activex set of microsoft technologies for reusable software components. Formerly called ole . Activex control reusable software component that adds functionality to any activex control container through exposed properti...
Glossary measurement studio user manual g-2 ni.Com b button a control used to input or display boolean information or to initiate an action in a program. C channel 1. Physical—a terminal or pin at which you can measure or generate an analog or digital signal. A single physical channel can include mo...
Glossary © national instruments corporation g-3 measurement studio user manual context-sensitive help help for dialog boxes, the controls in dialog boxes, and keywords in source code that you can access with the key or a help button, or by clicking the link that appears in the dynamic help window in...
Glossary measurement studio user manual g-4 ni.Com distribution ability to install programs you develop with measurement studio to others working on different computers. Dll dynamic link library. A library of functions that link to a program and load at run time rather than being compiled into the p...
Glossary © national instruments corporation g-5 measurement studio user manual g gauge a control used to input or display numerical data. Gpib general purpose interface bus. The standard bus used for controlling electronic instruments with a computer. Also called ieee 488 bus because it is defined b...
Glossary measurement studio user manual g-6 ni.Com interface connection between one or more of the following: hardware, software, and the user. For example, hardware interfaces connect two other pieces of hardware. Ivi interchangeable virtual instruments. A technology involving standard programming ...
Glossary © national instruments corporation g-7 measurement studio user manual measurement & automation explorer (max) national instruments tool for configuring your national instruments hardware and driver software; executing system diagnostics; adding new devices, interfaces, and virtual channels;...
Glossary measurement studio user manual g-8 ni.Com numeric edit control a control used to display and edit numeric values. O ocx ole control extension. Another name for activex controls, reflected by the .Ocx file extension of activex control files. Ole object linking and embedding. See activex . Op...
Glossary © national instruments corporation g-9 measurement studio user manual property pages window or dialog box that displays current configuration information and allows users to modify the configuration. Pxi pci extensions for instrumentation. Rugged, open platform for modular instrumentation w...
Glossary measurement studio user manual g-10 ni.Com t tank a control used to input or display numerical data. Task ni-daqmx—a set of channels and the channel configurations, timing, and triggering, and other details that define a measurement or generation you want to perform. Tcp/ip transmission con...
© national instruments corporation i-1 measurement studio user manual index a activex controls in visual c++, 3-2 add/remove class libraries wizard, 4-8 adding or removing measurement studio class libraries, 4-8 analysis .Net class library, 2-2 enterprise analysis, 2-3 professional analysis, 2-2 sta...
Index measurement studio user manual i-2 ni.Com i installation optional, 1-1 procedure, 1-2 requirements, 1-1 instrument driver wizard, .Net, 4-10 instrument drivers (ni resources), a-1 instrument drivers visual c++ class library, 3-5 instrument i/o assistant, 4-6 k knob .Net control, 2-9 visual c++...
Index © national instruments corporation i-3 measurement studio user manual o overview measurement studio, 1-1 .Net class libraries, 2-1 visual c++ class libraries, 3-1 p parameter assistant, 4-9 programming examples (ni resources), a-1 project conversion wizard, 4-2 project templates, 4-3 r require...
Index measurement studio user manual i-4 ni.Com ni-daqmx, 3-8 ni-reports, 3-9 ni-visa, 3-9 overview, 3-1 user interface, 3-10 utility, 3-15 w waveform graph control, 2-6 web resources, a-1 windows forms user interface controls, 2-5.