MeasurementStudio用户控件技术在VisualC_中的应用
- 格式:pdf
- 大小:270.82 KB
- 文档页数:4
让开发者受益匪浅的Visual Studio 2010新功能解读每个开发人员都值得拥有一个美妙的开发环境。
这个环境可以让他们尽可能高效地编写、理解、浏览和调试代码。
毕竟,开发人员的大部分时间都花费在IDE中。
我们在设计和构建Visual Studio 2010时,一直遵循着这一原则。
我们已经发布的IDE显着地改善了开发的体验。
从今天开始到今后几个星期中,我将重点介绍Visual Studio 2010中我最喜爱的用于提高生产力的新功能。
其中有些是小的新功能,有些需要协调整个团队的努力,但每个功能都让开发人员的生活变得更轻松。
多显示器支持许多开发人员已经投入了大量的时间和金钱来营造一个良好的编码环境:恰到好处的椅子,合手的键盘,当然,两个或三个显示器,以便最大限度地利用屏幕的每寸空间。
在VS 2010版本之前,Visual Studio的单一窗口不允许您将编码分放到多台显示器上,但现在这一切都变了。
Tear-off tabs允许你拖动编码窗口和工具窗口到Visual Studio的窗口框架以外,到您的屏幕上的另一个地方或另一个监视器。
您可以把任意多个窗口拖拽出Visual Studio窗口框架,也可根据您的喜好再将它们放回到编辑器标签带或固定回Visual Studio框架内。
多目标 (Multi-Targeting)即使您已经开始使用最新的.NET运行时版本,您的客户可能还没有,或者您的应用程序可能是在以前的运行时版本上开发的,还没有准备好升级到.NET 4。
使用Visual Studio 2010您可以选择将应用构建在.NET 2.0、.NET 3.0、.NET 3.5、或.NET 4上。
新建项目对话框提供了选择目标.NET框架的版本或者在线寻找其他.NET框架的版本和配置的功能:您还可以在项目属性中更改现有项目针对的版本:一旦为您的项目设置了一个特定的.NET目标版本,您会得到与所选择的版本相应的IntelliSense、工具箱控件和调试器,剖析器和编译器也都被更新以支持多目标的配置。
RELEASE NOTESMeasurement Studio These release notes supplement the Measurement Studio User Manual .Refer to this document for information about new features andfunctionality, specific updates to the documentation, and resources inMeasurement Studio. These release notes include information aboutMeasurement Studio support for Visual Studio 2008, Visual Studio 2005,Visual Studio .NET 2003, and Visual Studio 6.0.For installation instructions, installation requirements, deploymentinformation, a list of fixed bugs, and known issues, refer to theMeasurement Studio Readme . There is a different Measurement StudioReadme for each supported version of Visual Studio. The MeasurementStudio Readme files are available in the root folder of the installationCD and are linked from the Autorun menu. After installing MeasurementStudio 8.6, select Start»All Programs»National Instruments»<Measurement Studio>»Readme to access the Measurement Studio 8.6Readme.Note There are separate Start menu items for each version of Visual Studio support that you have installed.For a complete introduction to Measurement Studio and to learn aboutMeasurement Studio concepts, controls, and features, refer to theMeasurement Studio User Manual . Select Start»All Programs»National Instruments»<Measurement Studio>»Measurement StudioUser Manual to access the Measurement Studio User Manual .Tip The Documentation Updates section of these Release Notes details changes to theMeasurement Studio User Manual content.™What’s New in Measurement Studio 8.6What’s New in Measurement Studio 8.6 Support for Visual Studio 2008New features in Measurement Studio 8.6 support for Visual Studio 2008include the following. Refer to the New Features in Measurement Studio 8.6section for more information.•Measurement Studio Visual C++ Support•Technical Data Management Streaming (TDMS) .NET Support•Mouse Cursor Customizability•Additional new features–Instrument Driver Wizard HTML Tag Removal–New Properties for AutoSpacing in Graph Axes–Bug FixesWhat’s New in Measurement Studio 8.6 Support for Visual Studio 2005New features in Measurement Studio 8.6 support for Visual Studio 2005include the following. Refer to the New Features in Measurement Studio 8.6section for more information.•Technical Data Management Streaming (TDMS) .NET Support•Mouse Cursor Customizability•Additional new features–Instrument Driver Wizard HTML Tag Removal–New Properties for AutoSpacing in Graph Axes–Bug Fixesbecause there were no bug fixes or features that required a rebuild.What’s New in Measurement Studio 8.6 Support for Visual Studio.NET2003Measurement Studio support for Visual Studio .NET 2003 is considered alegacy product. The version number for Measurement Studio support forVisual Studio .NET 2003 is 8.1.2, with the exception of the ActiveXcontrols. The ActiveX controls are shared between Visual Studio.NET2003, Visual Studio 2005, and Visual Studio 2008 support and wererebuilt to fix bugs for Visual Studio 2005 and Visual Studio 2008 support.Measurement Studio Release © National Instruments Corporation 3Measurement Studio Release NotesWhat’s New in Measurement Studio 8.6 Support for Visual Studio 6.0Measurement Studio support for Visual Studio 6.0 is considered a legacyproduct. Updates to the Measurement Studio Support for Visual Studio 6.0software, including the most recent versions of the ActiveX user interfaceand 3D graph controls, are available on by selecting Support»Drivers and Updates»Software»Measurement Studio .New Features in Measurement Studio 8.6Measurement Studio Visual C++ Support for Visual Studio 2008Measurement Studio 8.6 includes Visual C++ support for Visual Studio2008, including Visual C++ class libraries and tools that integrate intoVisual Studio 2008. To use these new libraries, either create new projectsin Visual Studio 2008 or use Visual Studio 2008 to upgrade your existingVisual Studio 2005 projects that use Measurement Studio support forVisual Studio 2005 libraries.NoteMeasurement Studio 8.6 Visual C++ support for Visual Studio 2008 does notinclude the following class libraries: NI-DAQmx, NI-VISA, NI-488.2, Microsoft Excel Interface, Microsoft Word Interface, IVI class drivers, and NI-Reports. Support for NI-DAQmx, NI-VISA, and NI-488.2 will be available for download from /support in the future. If you require support for Microsoft Excel Interface, Microsoft Word Interface, IVI class drivers, or NI-Reports, contact National Instruments. Refer to Technical Support and Professional Services for information on how to contact National Instruments.Technical Data Management Streaming (TDMS) .NET SupportTechnical Data Management Streaming (TDMS) is a file format basedon the National Instruments TDM data model used to stream data to disk.You can use the TDMS .NET class library to describe, store, and readmeasurement data that is optimized for high-speed data streaming and postprocessing. Additionally, you can use the TDMS .NET class library tocreate files that you can use in LabVIEW, LabWindows ™/CVI ™, DIAdem,and third-party industry tools, and files created by these applications can beused by the TDMS .NET class library.For more information, refer to Key Measurement Studio TDMS .NETLibrary Features in the NI Measurement Studio Help.TDM Excel Add-InYou can use the TDM Excel Add-In to load NI .tdm and .tdms files intoMicrosoft Excel. Use the toolbar from within Excel to choose whichproperties are loaded into Excel at the file, group, and channel levels,including custom properties.Refer to NI Developer Zone, , for more information aboutthe TDM Excel Add-In.Mouse Cursor CustomizabilityDifferent cursor images represent different interactive operations that anend user can perform on a control. For example, when editing or selectingtext, you typically display an System.Windows.Input.Cursors.IBeam cursor, and for zooming on a graph, you typically display amagnifying lens. Now you can customize mouse cursors, at design time orprogrammatically, for different interactions with the Measurement StudioWindows Forms and Web Forms controls.Additional New FeaturesMeasurement Studio 8.6 also introduces the following new features:•Instrument Driver Wizard HTML Tag Removal—When theInstrument Driver Wizard creates .NET entry points, the InstrumentDriver Wizard extracts the specific documentation for each memberfrom the function panel (.fp) file. This documentation can containHTML entities that make it difficult to read the documentation. Withthis update, the Instrument Driver Wizard includes an option to removethe HTML tags from the documentation, making the documentationeasier to read.•New Properties for AutoSpacing in Graph Axes—You can use theAutoSpacingMajorInterval and AutoSpacingMinorIntervalproperties to return the value of the interval used when plotting withAutoSpacing.•Bug Fixes—Measurement Studio 8.6 includes many fixes forpreviously reported bugs. Refer to the fixed bug chart in theMeasurement Studio 8.6 Readme for more information. Select Start»All Programs»National Instruments»<Measurement Studio>»Readme to access the Measurement Studio 8.6 Readme. Measurement Studio Release Documentation UpdatesThe following sections describe changes to the printed MeasurementStudio User Manual for Measurement Studio 8.5. These changes will beincorporated into future revisions of the Measurement Studio User Manual. Chapter 1 UpdatesPage Text Change1-1Delete the last sentence of the third paragraph.1-4Following Step 4 of the Installation Instructions, insert the following note:Note: The Measurement Studio installation process includes a command window that opens and closes on your desktop. Closing this windowprematurely causes Measurement Studio integration features to fail to beconfigured properly. For example, Measurement Studio controls do not appear inthe Toolbox, or the Measurement Studio New Project Wizards are not available. 1-4Delete the Installing Hardware Drivers for Visual Studio 2008 Support and Installing Hardware Drivers for Visual Studio 2005 Support sections.© National Instruments Corporation5Measurement Studio Release NotesChapter 2 UpdatesPage Text Change2-1Insert a new bullet before the User Interface bullet:•Technical Data Management Streaming (TDMS)2-18Insert the following before the User Interface heading:Technical Data Management Streaming (TDMS) .NET SupportTechnical Data Management Streaming (TDMS) is a file format based on theNational Instruments TDM data model used to stream data to disk. You can usethe TDMS .NET class library to describe, store, and read measurement data thatis optimized for high-speed data streaming and post processing. Additionally, youcan use the TDMS .NET class library to create files that you can use in LabVIEW,CVI, and DIAdem, and files created by these applications can be used by theTDMS .NET class library. You can use the Measurement Studio TDMS .NETclass library to perform the following operations:•Read and write array data in a structured format from and to a .tdms file.•Read and write analog waveform data or digital waveform data, includingtiming information, from and to a .tdms file.•Using the TdmsProperty class, you can create custom properties for eachlevel of the hierarchy by defining a name, data type, and value.For more information, refer to the Key Measurement Studio TDMS .NET LibraryFeatures topic in the NI Measurement Studio Help.TDM Excel Add-InYou can use the TDM Excel Add-In to load NI .tdm and .tdms files intoMicrosoft Excel. Use the toolbar from within Excel to choose which propertiesare loaded into Excel at the file, group, and channel levels, including customproperties.To uninstall the TDM Excel Add-In, select Start»Control Panel»Add orRemove Programs, select National Instruments Software from the list, andclick the Change/Remove button. Then select NI TDM Excel Add-in from thelist, and click the Remove button.Refer to NI Developer Zone, , for more information about theTDM Excel Add-In.Measurement Studio Release © National Instruments Corporation 7Measurement Studio Release Notes Chapter 3 Updates 2-22, 2-26,2-39, 2-43Insert the following bullet at the end of the Cursor Operations section:•Create custom mouse cursors programmatically or at design time using the mouse cursor style editor.2-24, 2-41Insert the following bullet at the end of the Additional Operations section:•Create custom mouse cursors programmatically or at design time using themouse cursor style editor.PageText Change 3-1Replace the first paragraph with the following:This chapter provides overview information about the Visual C++ class librariesthat are available with Measurement Studio. Measurement Studio Visual C++support for Visual Studio .NET 2003, Visual Studio 2005, and Visual Studio 2008is the same, except where noted. Refer to the Using the Measurement StudioVisual C++ Class Libraries section of the NI Measurement Studio Help fordetailed information about these libraries.3-1Delete the Note following the introductory paragraph.3-2Insert the following at the top of the page:Note : Measurement Studio 8.6 Visual C++ support for Visual Studio 2008 doesnot include the following class libraries: NI-DAQmx, NI-VISA, NI-488.2,Microsoft Excel Interface, Microsoft Word Interface, IVI class drivers, andNI-Reports. Support for NI-DAQmx, NI-VISA, and NI-488.2 will be available ata later time. Refer to Drivers and Updates on to determine when theywill be available. If you require support for Microsoft Excel Interface, MicrosoftWord Interface, IVI class drivers, or NI-Reports, contact National Instruments.Refer to Technical Support and Professional Services in the NI MeasurementStudio Help for information on how to contact National Instruments.PageText ChangeChapter 4 UpdatesPage Text Change4-4Replace the last two bullets in the Creating a Measurement Studio Project section with the following:•Measurement Studio Visual C++ project•Measurement Studio Visual C++ project with LabWindows/CVI libraries4-9Remove the Note that appears immediately after the Creating NI-DAQmx User Code in Visual C++ heading.Learning Measurement StudioAs you work with Measurement Studio, you might need to consultadditional resources. For detailed Measurement Studio help, includingfunction reference and in-depth documentation on developing withMeasurement Studio, refer to the NI Measurement Studio Help within theVisual Studio environment. The NI Measurement Studio Help is fullyintegrated with the Visual Studio help. You must have Visual Studioinstalled to view the online help, and you must have the Microsoft .NETFramework SDK 1.1 for Visual Studio .NET 2003, the Microsoft .NETFramework SDK 2.0 for Visual Studio 2005, or the Microsoft .NETFramework SDK 3.5 for Visual Studio 2008 installed in order for linksfrom Measurement Studio help topics to .NET Framework help topics towork. You can launch the NI Measurement Studio Help in the followingways:•From the Windows Start menu, select Start»All Programs»NationalInstruments»<Measurement Studio>»Measurement StudioDocumentation. The help launches in a stand-alone help viewer.•From Visual Studio, select Help»Contents to view the Visual Studiotable of contents. The NI Measurement Studio Help is listed in the tableof contents.•From Visual Studio, select Measurement Studio»NI MeasurementStudio Help. The help launches within the application.Measurement Studio Release The following resources also are available to provide you with informationabout Measurement Studio.•Getting Started information—Refer to the Measurement Studio CoreOverview topic and the Getting Started with the Measurement StudioClass Libraries section in the NI Measurement Studio Help for anintroduction to Measurement Studio and for walkthroughs that guideyou step-by-step in learning how to develop Measurement Studioapplications. For an introduction to Measurement Studio resources,refer to the Using the Measurement Studio Help topic in theNI Measurement Studio Help.•Examples—Measurement Studio installs examples organized by classlibrary, depending on the component, the version of Visual Studioor the .NET Framework that the example supports, the version ofMeasurement Studio installed on the system, and the operating system.For more information on example locations, refer to the Where To FindExamples topic in the NI Measurement Studio Help.•Measurement Studio Web site, /mstudio—ContainsMeasurement Studio news, support, downloads, white papers, producttutorials, and purchasing information.•NI Developer Zone, —Provides access to onlineexample programs, tutorials, technical news, and Measurement Studiodiscussion forums where you can participate in discussion forums forVisual Basic 6.0, Visual C++, and .NET Languages.•Measurement Studio .NET Class Hierarchy Chart and MeasurementStudio Visual C++ Class Hierarchy Chart—Provide overviews ofclass relationships within class libraries. Charts are included with allMeasurement Studio packages and are posted online at /manuals.•Review the information from the Microsoft Web site on usingVisual Studio.National Instruments, NI, , and LabVIEW are trademarks of National Instruments Corporation.Refer to the Terms of Use section on /legal for more information about NationalInstruments trademarks. Other product and company names mentioned herein are trademarks or tradenames of their respective companies. For patents covering National Instruments products/technology,refer to the appropriate location: Help»Patents in your software, the patents.txt file on yourmedia, or the National Instruments Patent Notice at /patents.© 2006–2008 National Instruments Corporation. All rights reserved.373085E-01Nov08。
毕业设计(论文)开题报告课题:基于Labview虚拟示波器的设计院系:电气信息学院专业:测控技术与仪器学生姓名:彭成和学号:200801200106指导教师:李亚2012年1月16 日开题报告填写要求1.开题报告(含“文献综述”)作为毕业设计(论文)答辩委员会对学生答辩资格审查的依据材料之一。
此报告应在指导教师指导下,由学生在毕业设计(论文)工作前期内完成,经指导教师签署意见及所在专业审查后生效。
2.开题报告内容必须用黑墨水笔工整书写或按此电子文档标准格式(可从电气系网页或各教研室FTB上下载)打印,禁止打印在其它纸上后剪贴,完成后应及时交给指导教师签署意见。
3.“文献综述”应按论文的格式成文,并直接书写(或打印)在本开题报告第一栏目内,学生写文献综述的参考文献应不少于10篇(不包括辞典、手册),其中至少应包括1篇外文资料。
4.统一用A4纸,并装订单独成册,随《毕业设计论文》等资料装入文件袋中。
毕业设计(论文)开题报告1.文献综述:结合毕业设计(论文)课题情况,根据所查阅的文献资料,撰写2500字以上的文献综述,文后应列出所查阅的文献资料。
文献综述一、引言随着计算机技术、大规模集成电路技术和通讯技术的飞速发展,仪器技术领域发生了巨大的变化,美商国家仪器公司(National Instruments)于八十年代中期首先提出基于计算机技术的虚拟仪器的概念,把虚拟测试技术带入新的发展时期,随后研制和推出了基于多种总线系统的虚拟仪器。
虚拟仪器就是在通用计算机上加上软件和(或)硬件,使得使用者在操作这台计算机时,就象是在操作一台他自己设计的专用的传统电子仪器。
在虚拟仪器系统中,硬件仅仅是为了解决信号的输入输出,软件才是整个仪器系统的关键,任何一个使用者都可以通过修改软件的方法,很方便地改变、增减仪器系统的功能与规模,所以有“软件就是仪器”之说。
虚拟仪器技术的出现,彻底打破了传统仪器由厂家定义,用户无法改变的模式,虚拟仪器技术给用户一个充分发挥自己的才能、想象力的空间。
visual studio 使用方法Visual Studio is a popular integrated development environment (IDE) created by Microsoft. It provides a comprehensive suite of tools and services for building various types of applications, including web, mobile, desktop, and cloud-based solutions. Visual Studio supports multiple programming languages such as C, C++, JavaScript, Python, and more, making it a versatile platform for developers.Visual Studio 是由微软公司创建的一种流行的集成开发环境(IDE)。
它提供了一套全面的工具和服务,可用于构建各种类型的应用程序,包括Web、移动、桌面和基于云的解决方案。
Visual Studio 支持多种编程语言,如C、C++、JavaScript、Python 等,使得它成为开发人员的多功能平台。
One of the key features of Visual Studio is its robust code editor that offers syntax highlighting, code completion, and debugging capabilities. With its IntelliSense feature, developers can write code more efficiently by getting suggestions and auto-completions asthey type. The built-in debugger allows for easy troubleshooting and fixing of errors, which is essential for writing high-quality code.Visual Studio 的一个关键特性是其强大的代码编辑器,提供语法高亮、代码补全和调试能力。
标题:深度解析- Visual Studio 和 CANoe 的用法导语:Visual Studio 和 CANoe 是两款非常强大的开发工具,它们分别用于软件开发和汽车网络通信的测试。
在本文中,我们将深度探讨这两款工具的用法,并探索它们在实际开发和测试中的应用。
一、Visual Studio 的基本用法Visual Studio 是微软公司开发的集成开发环境(IDE),被广泛应用于 Windows 评台的软件开发。
无论是基于 C++、C#、Python 还是其他编程语言的开发,Visual Studio 都提供了丰富的工具和功能支持,帮助开发者高效地进行软件开发。
1.项目创建和管理在 Visual Studio 中,通过创建项目并添加源文件,开发者可以轻松地组织和管理代码。
各种类型的项目模板和工程文件配置使得开发环境的搭建变得简单快捷。
2.代码编辑和调试Visual Studio 提供了强大的代码编辑器,支持代码高亮、智能补全、代码重构等功能。
调试工具则帮助开发者快速定位并解决代码中的错误,提高开发效率。
3.版本控制通过与版本控制系统(如 Git)的集成,Visual Studio 能够帮助开发团队进行协同开发,并对代码变更进行管理和追踪。
二、CANoe 的基本用法CANoe 是 Vector 公司推出的汽车网络通信测试工具,主要用于汽车电子控制单元(ECU)通信协议的测试和仿真。
它的主要功能包括对CAN、Lin、FlexRay、Ethernet 等通信协议的支持,并提供了丰富的测试和分析工具。
1.网络配置CANoe 支持对车载通信网络进行灵活的配置,包括网络拓扑结构、消息发送和接收节点的设置等。
通过配置各种仿真节点和网络参数,可以模拟真实车载网络的通信环境。
2.消息分析CANoe 提供了直观的消息分析工具,可以实时监测和显示网络中的消息传输情况,并进行消息的解析和过滤。
这对于诊断和排查通信问题非常有帮助。
CVI简介随着电子技术、计算机技术的高速发展及其在电子测量技术与仪器领域的应用,新的测试理论、测试方法、测试领域以及仪器结构不断出现,电子测量仪器的功能和作用也发生了质的变化,仪器与计算机技术的深层次结合产生了全新的仪器结构概念——虚拟仪器。
它的出现使测试仪器与计算机之间的界限消失,从此开始了测量仪器的新时代。
虚拟仪器强调软件的作用,提出了“软件就是仪器”的概念。
1、虚拟仪器技术随着计算机技术、大规模集成电路技术和通信技术的飞速发展,仪器技术领域发生了巨大的变化,美国国家仪器公司(National Instruments,简称NI)于20世纪80年代中期首先提出基于计算机技术的虚拟仪器的概念,把虚拟测试技术带入新的发展时期,随后研制和推出了基于多种总线系统的虚拟仪器。
经过十几年的发展,虚拟仪器技术将高速发展的计算机技术、电子技术、通信技术和测试技术结合起来,开创了个人计算机仪器时代,是测量仪器工业发展的一个里程碑。
1.1虚拟仪器概念1.虚拟仪器概念所谓虚拟仪器,就是在以个人计算机为核心的硬件平台上,由用户设计定义、具有虚拟面板、测试功能由测试软件实现的一种计算机仪器系统。
操作者用鼠标或键盘操作虚拟面板,就如同使用一台专用测量仪器,虚拟仪器的出现使测量仪器与个人计算机的界限模糊了。
虚拟仪器的实质是利用计算机显示器的显示功能来模拟传统仪器的控制面板,以多种形式表达输出检测结果,利用计算机强大的软件功能实现数据信号的运算、分析和处理,利用I/O 接口设备完成信号的采集、测量和处理,从而完成各种测试功能的一种计算机仪器系统。
“虚拟”主要包含以下两方面的含义。
1)新能源强的面板虚拟仪器面板上的各种“控件”与传统仪器面板上的各种“器件”所完成的功能是相同的。
如由各种开关按键显示器等实现仪器电源的“通”、“断”,被测信号“输入通道”、“放大倍数”等参数设置,测量结果“数值显示”、“波形显示”等。
传统仪器面板上的器件都是实物,而且都通过手动和触摸完成操作的,而虚拟仪器面板控件是外形与实物相似的图表,“通”、“断”、“放大”等对应着相应的软件程序,这些软件已经设计好了,用户只需选用代表该种软件程序的图形控件即可,用计算机的鼠标对其进行操作。