background image

R&S Smart Instruments™ Family300  Basic Programming 
Guide 

1MA73 

18 

Rohde & Schwarz 

When programming the Smart Instruments™ Family300 the instrument 
identification code and the serial number change in accordance with the 
instrument. The following table lists the instrument identification codes for 
the whole Smart Instruments™ Family300: 

Instrument Instrument identification 

code 

AM300 0x0005 

FS300 0x0006 

FS315 0x0028 

SM300 0x0007 

UP300/350 0x0008 

To simplify the task of exchanging instruments, such as in measurement 
systems, you have the option to enter logical instrument names. These are 
substitutes for resource strings in the form described above. The call to the 
function rssixx_init changes as follows when logical instrument names are 
in use:  

 

Initialising the instrument 

USB::0x0AAD::0x0006::100015 rssifs_init("USB::0x0AAD::0x0006::100015",..) 

Analyser1 rssifs_init("Analyser1",..) 

Logical instrument names are set with the aid of the SiScan program.  

Figure 18 Adding a logical name via SiScan 

 

Figure 19 Entering the logical instrument name via SiScan 

Selecting the 

instrument with 

the right-hand 

mouse button 

Содержание Smart Instruments 300 Series

Страница 1: ...mart Instruments Family300 SM300 FS300 FS315 AM300 UP300 350 Rohde Schwarz Smart Instruments Family300 Basic Programming Guide Introduction to the fundamentals of programming the R S Smart Instruments...

Страница 2: ...ents 3 3 Installing Instrument Drivers 4 4 Instrument Drivers 6 5 Integrating Drivers into a Project 6 6 Using FS300 Basic Measurement for the First Time 15 7 Resource String and Virtual Instrument Na...

Страница 3: ...by remote control via the USB host port This means that the operating system used for remote control purposes must provide in house USB support The drivers described below support the Microsoft Windo...

Страница 4: ...t environments e g LabWindows CVI and LabView and of Agilent VEE The Rohde Schwarz web site offers you a choice of three different drivers for each instrument but only two of the installation packages...

Страница 5: ...the FS300 spectrum analyzer Directory Contents bin Instrument driver DLL e g rssifs_32 dll lib Library files e g rssifs lib bc Borland C msc Microfsoft C include Header files rssitype h type declarati...

Страница 6: ...programmer with instrument specific functions The following sections cover these in particular 5 Integrating Drivers into a Project The following section describes how to use instrument drivers in di...

Страница 7: ...ath for LIB files by using the menu sequence Tools Options Directory As mentioned above section 3 Installing Instrument Drivers the search path to the files can vary according to the type of installat...

Страница 8: ...rssifs h include rssitypes h Importing the DLL in runtime DLLs are integrated during the runtime of the program Note that in this case every function that is going to be used must be explicitly integr...

Страница 9: ...s Result 0 int main int argc char argv hInstance LoadLibrary c VXIPNP WinNT bin rssifs_32 dll pFunction RSSIFSINIT GetProcAddress hInstance rssifs_init function call Result pFunction resourceName IDQu...

Страница 10: ...10 Rohde Schwarz Figure 5 Integrating the reference Figure 6 Selecting the reference If the instrument drivers are not listed use the Browse button to search for the DLL in the installation directory...

Страница 11: ...dard drivers in LabView after installation of the LabView drivers it is necessary for the complete directory with VISA c VXIpnp GWIN rssixx and without VISA myinstallationdrive rssifs LabView to be co...

Страница 12: ...chwarz Figure 8 FS300 instrument in the project Proceed as follows o Right mouse click on the project file o Select Add file in this case the fp file e g select rssifs fp for the FS300 driver Figure 9...

Страница 13: ...ment can be created in the Instrument Add submenu The interface type plays no part in this and you can press OK to confirm Figure 11 Agilent VEE Add Interface Device The name and address of the instru...

Страница 14: ...ng and Virtual Instrument Name Figure 12 Agilent VEE Plug play Driver When the OK button is clicked the instrument is available in the Instrument Manager Figure 13 Agilent VEE Instrument Manager with...

Страница 15: ...ted Setting action Instrument driver function Opening the instrument rssifs_init Setting the reference level rssifs_confRefLevel Setting the start and stop frequency rssifs_confStartStopFrq Setting th...

Страница 16: ...e Register of the instrument that is to be controlled Since polling the Register affects the speed of the instrument it would be better to display only those that will also be used in the remote contr...

Страница 17: ...trument an object known as a resource string is used for addressing e g USB 0x0AAD 0x0006 100015 for an FS300 with the serial number 100015 A resource string comprises the following Resource string US...

Страница 18: ...implify the task of exchanging instruments such as in measurement systems you have the option to enter logical instrument names These are substitutes for resource strings in the form described above T...

Страница 19: ...tart programming the instruments demo programs and application notes for the various instruments e g FS300 SM300 and AM300 are available via the Rohde Schwarz home page under the keyword Smart Instrum...

Страница 20: ...R S Smart Instruments Family300 Basic Programming Guide 1MA73 20 Rohde Schwarz...

Страница 21: ...ug play Instrument Driver for VEE Visual Basic Visual C Borland C etc http www rohde schwarz com driver AM300VXIplugplay html SM300 Signal Generator Driver LabWindows CVI http www rohde schwarz com dr...

Страница 22: ...e schwarz com drivers overview html Additional information National Instruments VISA http www ni com visa 11 Appendix Contact our hotline Should you have any questions or ideas concerning the instrume...

Страница 23: ...provides instrument specific control functions to the user programmer VISA This Virtual Instrument System Architecture VISA specification defined by the VXI Plug n Play Alliance is an important step i...

Отзывы: