rsspecan_cvi_cp_measurement_example_1_0
所属分类:Windows编程
开发工具:C++
文件大小:7KB
下载次数:1
上传日期:2014-02-03 09:03:17
上 传 者:
peterking1988
说明: LabWindows/CVI (R) by default will attempt to load the source version
of the instrument driver.
文件列表:
rsspecan_CP_measurement_example.c (8377, 2009-05-04)
rsspecan_CP_measurement_example.h (1741, 2009-05-04)
rsspecan_CP_measurement_example.uir (5700, 2009-05-04)
README.TXT
Rohde&Schwarz Spectrum Analyzer Program Example for LabWindows/CVI
CP Measurement Example
Version: 1.0, 05/2009
Contents:
1.0 Introduction
2.0 Prerequisites
3.0 How to use this example
3.1 Using the CVI instrument driver
3.2 Using the VXI Plug&Play driver instead of LabWindows/CVI source code
4.0 Known Defects
5.0 Revision History
6.0 Example Files
----------------------------------------------------------------------------
1.0 Introduction
This example explains how to use the CVI Instrument driver.
2.0 Prerequisites
- National Instruments LabWindows/CVI 8.5 (or higher)
- National Instruments NI-488.2 Software 1.60 (or higher) (GPIB only)
- National Instruments VISA 3.0 or Agilent I/O Library 14 (or higher)
- rsspecan LabWindows/CVI Instrument Driver
3.0 How to use this example
3.1 Using the LabWindows/CVI instrument driver
Unzip the LabWindows/CVI driver and the example and create a new project.
Add the example files:
rsspecan_CP_measurement_example.c
rsspecan_CP_measurement_example.h
rsspecan_CP_measurement_example.uir
Add the driver sources:
rsspecan.c
rsspecan.h
rsspecan.fp
rsspecan_attributes.c
rsspecan_attributes.h
rsspecan_callbacks.c
rsspecan_utility.h
rsspecan_utility.c
rsidr_core.c
rsidr_core.h
Make an executable file and run it.
To use the example, fill in the Resource String (by default it is
GPIB0::20::INSTR). Select center frequency and frequency span and
press Start button to start measurement. Result is shown in Channel
Power textbox. You may press Start button again to start new measurement.
Example could be exited by closing the window.
3.2 Using the VXI Plug&Play driver instead of LabWindows/CVI source code
For faster load time for your project install the RSSPECAN VXIPlug&Play driver.
LabWindows/CVI (R) by default will attempt to load the source version
of the instrument driver. To load the dll you must include the front panel file
rsspecan.fp in your project. This file can be found in the VXIpnp\WinNT\rsspecan
directory. Do not include rsspecan.c in your project. You must also provide
an include path for rsspecan.h. This is done by adding the directory
~vxipnp\winnt\include to the include paths (LabWindows/CVI Project Option menu)
if you have not already done so. The ~ refers to the directory in the VXIPNP
variable. By default this is set to C:\.
Include the example files:
rsspecan_CP_measurement_example.c
rsspecan_CP_measurement_example.h
rsspecan_CP_measurement_example.uir
Make an executable file and run it.
To use the example, fill in the Resource String (by default it is
GPIB0::20::INSTR). Select center frequency and frequency span and
press Start button to start measurement. Result is shown in Channel
Power textbox. You may press Start button again to start new measurement.
Example could be exited by closing the window.
4.0 Known Defects
none
5.0 Revision History
1.0, 05/2009, Jakub Kvapil
Created.
6.0 Example Files
rsspecan_CP_measurement_example.c - Example source code
rsspecan_CP_measurement_example.h - Example header file
rsspecan_CP_measurement_example.uir - Example GUI
readme.txt - this file
-----------------------------------------------------------------------------
Should you have any technical questions please contact
the hotline of Rohde & Schwarz Vertriebs-GmbH
Rohde & Schwarz Support Center
e-mail: CustomerSupport@rohde-schwarz.com
-----------------------------------------------------------------------------
近期下载者:
相关文件:
收藏者: