HP Drive manual Instrument I/O, Interchangeability

Page 104

104

capabilities, it is called an IVI-COM custom driver. If the driver includes the class capabilities, it is called an IVI-COM Class Compliant driver. IVI-COM Class Compliant drivers may or may not include custom capabilities.

Instrument I/O

All IVI drivers communicate to the instrument hardware through an I/O Library. The VISA library is typically used because it provides uniform access to GPIB, RS-232, USB-TMC and LAN instrument. Drivers that communicate with insruments that only use RS-232 or LAN occasionally include their own I/O that does not require VISA.

Shared Components

IVI Foundation members have cooperated to provide common software components, called IVI Shared Components, that ensure compatibility among drivers from various manufacturers. These components provide services to drivers and driver clients that need to be common to all drivers.

IVI Configuration Server: This component is the run-time module responsible for providing configuration data to IVI drivers. The Configuration Server specifically provides system initialization and configuration information.

COM Session Factory: This component can dynamically load an IVI-COM software module without requiring the application program to identify the IVI software module when it is compiled. This allows the test program source code to have all references to a specific instrument removed. This capability is provided in IVI-C using an IVI-C Class driver.

Interchangeability

One aspect of the IVI standard is instrument interchangeability, which allows you to write and compile your program for an instrument from one manufacturer and then swap it out for the same type of instrument from another manufacturer. After making changes to a configuration file on your computer to identify the new instrument (and driver) and the hardware address (if that changes), you can run your program without modifying or recompiling it. That’s in an ideal world, of course.

The minimum necessary requirements for interchangeability include the following:

Drivers for both instruments must be of the same type (IVI-C or IVI-COM);

Both drivers must implement the same instrument class. For example, both must conform to the requirements for IviDmm or IviScope;

For IVI-C, your program must use a Class Driver, which in turn instantiates the Class Compliant Specific Driver and calls class compliant functions in it.

Your program calls only those Class Extension functions supported by both drivers.

Your program never calls Instrument Specific functions.

Chapter 11

Image 104
Contents Getting Started Guide Page Contents Using IVI with Visual C# and Visual Basic .NET Using IVI with LabVIEWUsing IVI with LabWindows/CVI Using IVI with Paws Using IVI with MatlabUsing IVI with Measure Foundry Using IVI with Visual Basic 6.0 Using IVI with Agilent VEE ProAdvanced Topics Purpose Why Use an Instrument Driver?Chapter Introduction Why IVI? Class IVI Driver Why Use an IVI Driver? Shared Components Download and Install IVI DriversFlavors of IVI Drivers Familiarizing Yourself with the Driver ExamplesIntroduction Chapter Chapter Using IVI with Visual C++ Download and Install the DriverUsing IVI-COM in C++ EnvironmentCreate a New Project and Import the Driver Type Libraries \Program Files\Ivi\BinUsing IVI with Visual C++ Configure the Instrument Set the Trigger DelayDmm-ConfigureIviDmmFunctionDCVolts, 1.5 Dmm-Trigger-Delay =Close the Session Set the Reading Timeout/Display the ReadingError Checking Exit1 IAgilent34401Ptr dmmuuidofAgilent34401 try Using IVI-C in Visual C++Build and Run the Application $VXIPNPPATHWinNT\include \Program Files\IVI\Lib\msc\Program Files\IVI\include Chapter Define Error Checking Error =Goto Error else error = error #endif #ifndef checkErr #define checkErrfCallIf session Hp34401aClosesession Set the Trigger and Trigger DelayCheckErr hp34401aRead session, 1000, &reading Build and Run the Application Further Information Chapter Using IVI with Visual C# Visual Basic .NET Create a New Project and Reference the Driver Using Agilent.Agilent34401.Interop Create an Instance of the DriverType dmm.Initialize GPIB23, false, true, simulate=true Dmm.DCVoltage.Configure1.5 Dmm.Trigger.Delay =Type double reading Dmm.CloseTips Agilent34401Class dmm = new Agilent34401ClassOption Explicit On Imports Agilent.Agilent34401.InteropConsole.WriteLineThe reading is 0, reading Console.ReadLine Chapter Chapter Using IVI with LabVIEWTM Using IVI-CCreate a Project and Access the Driver Using IVI with LabVIEW Take the Reading Run the Application Add Error CheckingDisplay the Reading Setting a Property in an IVI-C Driver Using IVI-COMUsing IVI with LabVIEW Initialize the Instrument Configure the Instrument Close the Driver and Automation Sessions Run the Application Chapter Chapter Using IVI with LabWindowsTM/CVITM Create a New Project and Add Instrument Driver Files#include hp34401a.h Using IVI with LabWindowsTM/CVITM Configure the Instrument Set the Reading Timeout GPIB023INSTR, Vifalse Printf %f, reading Chapter Chapter Using IVI with Matlab Development EnvironmentConfigure the IVI Driver TopicsUsing IVI with Matlab DMM in the Driver session field Configure and Control the Instrument Generate an Instrument WrapperCreate an Instance of the Instrument Connect to the InstrumentSet Reading Timeout Display ReadingDisconnect from the Instrument Remove the Driver from MemoryMatlab is a registered trademark of The MathWorks, Inc Chapter Chapter Using IVI with Measure Foundry Data Source Using IVI with Measure Foundry Control Source Using IVI with Measure Foundry Close Session Data SinkCompile and Run Using IVI with Measure Foundry Chapter Chapter Using IVI with Paws Prepare the Paws Environment NOM 0 V UL 0.5 V LL -0.5 CNX HI X20-2 LOVDC $ Cnx hi DMM-Hi, lo DMM-LoAdd the Wcem Interface Functions Connect to the IVI-COM Driver #include DMM.h #include DMM.h Extern CComPtrIAgilent34401 driverExtern Hresult hr Variantfalse Varianttrue Hr = driver-getDCVoltage&pDMMDCVoltHr = pDMMTrig-ConfigureAgilent34401TriggerSourceImmediate Display\0333041m Bad return from Close method\033m\n IEEE-488 Bus Configuration File Channel Build the ProjectPrepare the Run-Time System Environment MLALoad and Run the Project Chapter Chapter Using IVI with Visual Basic Add a Button Option Explicit Dim dmm As New Agilent33401Type 1.5 Type dmm.Trigger.Delay = Type dmm.CloseTips Further Information Chapter Chapter Using IVI with Agilent VEE Pro Launch the Instrument Manager and Select the DriverChapter Using IVI with Agilent VEE Pro Initialize the Instrument Configure the Instrument Tips Another Method to Display the Reading Further Information Chapter Driver API Chapter Advanced TopicsIVI Architecture Driver Types Advanced Topics Instrument I/O InterchangeabilityAdvanced Topics IVI Configuration Store Advanced Topics Chapter IVI-COM IIviSessionFactory factory = new IviSessionFactoryClassDriver.InitializelogicalName, true, true String identifier = driver.Identity.IdentifierConsole.WriteLineIdentifier 0, identifier IIviDmm dmm = IIviDmmfactory.CreateDriverlogicalNameIVI-C IVI Drivers in Action Editing the Configuration StoreFuture Development Advanced Topics Chapter

Drive specifications

HP Drive is a sophisticated storage solution designed to meet the demands of modern computing environments. It integrates cutting-edge technologies and features to ensure reliable performance, high capacity, and enhanced data security.

One of the main features of HP Drive is its versatility. It is compatible with a variety of systems, both for personal and enterprise use. This flexibility allows users to integrate HP Drives into their existing hardware setups without compatibility issues. Whether for desktops, laptops, or servers, HP Drive offers multiple form factors, including 2.5-inch and 3.5-inch drives, to cater to different requirements.

Another essential characteristic of HP Drive is its high storage capacity. With options often reaching up to several terabytes, users can store vast amounts of data, including high-definition videos, large databases, and extensive software libraries. The increased capacity is particularly beneficial for businesses requiring extensive data storage and retrieval.

Speed is a critical factor in data storage, and HP Drive employs the latest technologies to enhance performance. Many HP Drives utilize Solid State Drive (SSD) technology, which provides significantly faster data access and read/write speeds compared to traditional Hard Disk Drives (HDD). This results in quicker boot times, reduced application loading times, and overall improved system responsiveness. Moreover, some models integrate NVMe technology, elevating the performance even further with faster data transfer rates.

Data security is a paramount concern for users, and HP Drive addresses this with several features. Many models come equipped with built-in encryption technology, safeguarding sensitive data against unauthorized access. Additionally, HP offers robust support options including data recovery services and software solutions to ensure that users can recover their information in the event of a drive failure.

In terms of durability and reliability, HP Drive products undergo extensive testing to ensure they can withstand harsh operating conditions. They are designed to operate under various environmental factors, making them suitable for both office and industrial settings.

Overall, HP Drive stands out as a premier choice for those seeking a reliable, high-capacity, and high-performance storage solution. Its combination of advanced technologies, extensive compatibility, and robust security features make it a top contender in the competitive storage market. Whether for personal use or enterprise needs, HP Drive has proven itself as a dependable option for today's data-driven world.