HP Drive manuals
Computer Equipment > Network Card
When we buy new device such as HP Drive we often through away most of the documentation but the warranty.
Very often issues with HP Drive begin only after the warranty period ends and you may want to find how to repair it or just do some service work.
Even oftener it is hard to remember what does each function in Network Card HP Drive is responsible for and what options to choose for expected result.
Fortunately you can find all manuals for Network Card on our side using links below.
114 pages 3.19 Mb
3 Contents9 Introduction10 MEASURE:VOLTAGE:DC?”Why IVI 11 InitializeClose Class IVI Driver Digital multimeter (DMM) IviDmm Oscilloscope IviScope Arbitrary waveform/function generator IviFgen DC power supply IviDCPwr Switch IviSwitch Power meter IviPwrMeter Spectrum analyzer IviSpecAn RF signal generator IviRFSigGen 12 Why Use an IVI DriverConsistency Ease of use Quality Simulation – Range checking – State caching – 13 Flavors of IVI DriversShared Components To download and install shared components from the IVI Foundation Web site: 1Go to the IVI Foundation Web site at http://www.ivifoundation.org 2Locate Shared Components Download and Install IVI Drivers 14 To see the list of drivers registered with the IVI Foundation, go tohttp://www.ivifoundation.org Familiarizing Yourself with the Driver Examples Determine the VISA address string – Examples in GPIB0::23::INSTR Specific driver, Version 4.1, October 2006 (from National Instruments) •Write the program: Configure the instrument – We set a range of 1.5 volts 0.001 volts (1 millivolt) 15 0.01 seconds1000 milliseconds (1 second) 17 Using IVI with Visual C++18 Create a New Project and Import the Driver Type Libraries19 IVI-COMdrivers Click OK The import Initialize COM HRESULT hr; exit(1); Create an Instance of the Driver 20 Initialize the InstrumentConfigure the Instrument Set the Trigger Delay 21 Set the Reading Timeout/Display the ReadingError Checking Close the Session 22 IAgilent34401Ptr dmm(__uuidof(Agilent34401)); trycatch(_com_error e) wprintf(L“Error: %s\n”, e.ErrorMessage); Build and Run the Application Build your application and run it to verify it works properly 1From the Start Menu, select Build, and click Build IVIDemo 2From the Start Menu, select Debug, and run the application Using IVI-Cin Visual C++ The following sections show to get started with IVI-Cin Visual C++ 24 Declare Variables25 Define Error Checking#ifndef checkErr #define checkErr(fCall) (error {goto Error;} else error = error #endif Error: if (error != VI_SUCCESS) ViChar errStr[2048]; hp34401a_GetError (session, &error, 2048, errStr); printf ("Error!", errStr); This initializes the instrument with the following parameters: •GPIB0::23::INSTR as the Resource Name (instrument at GPIB address 23) •VI_FALSE Does not perform an ID Query •VI_TRUE Resets the device 26 •Simulate=1 in the Options parameter sets the driver to simulation mode•&session assigns the Instrument Handle to the variable “session” defined above 1To set the range to 1.5 volts and resolution to 0.001 millivolts, type: Set the Trigger and Trigger Delay checkErr( hp34401a_Read (session, 1000, &reading); To display the reading, use a printf statement. Type printf (“Reading = %f”, reading); If (session) hp34401a_Close(session); The final code should contain the code below: #define checkErr(fCall) if (error = (fCall), (error = (error < 0)? error : VI_SUCCESS)) {goto Error;} else error = error 27 #endifint main(int argc, _TCHAR* argv[]) ViSession session; ViStatus error = VI_SUCCESS; ViReal64 reading; checkErr( hp34401a_Read (session, 1000, &reading)); printf ("Reading = %f", reading); hp34401a_GetError (session, &error, 2048, errStr); printf ("Error!", errStr); if (hp34401a) hp34401a_close (hp34401a); 28 Further Information29 Using IVI with Visual C# andVisual Basic .NET30 Create a New Project and Reference the Driver31 Create an Instance of the Driver34 Tips35 Imports Agilent.Agilent34401.InteropModule Module1 Sub Main() Dim dmm As New Agilent34401 dmm.Initialize("GPIB::23", False, True, "simulate=true") dmm.DCVoltage.Configure(1.5, 0.001) dmm.Trigger.Delay Dim reading As New Double Console.WriteLine(“The reading is {0}”, reading) Console.ReadLine() End Sub End Module The main differences include the following: •To use Visual Basic, select Visual Basic in Project Types •To enforce type checking, insert a line at the start of the code. Type •To call the DCVolts function you need to insert a line of code. Type To dimension a variable for the instrument and reading, use Dim dmm Dim reading Further Information 37 Using IVI with LabVIEWTM49 Using IVI with LabWindowsTM/CVITM57 Using IVI with MATLAB®58 Configure the IVI DriverNote: Learn more about the IVI configuration store in Chapter 11 – Advanced Topics At the MATLAB command line, type tmtool 2In the tree at left, click the IVI node under the Instrument Drivers node Select the Hardware Assets •myDMM in the Name field This is my Agilent 34401 Digital Multimeter in the Description field (optional) •GPIB0::23 in the IO Resource name field 4Select the Software Modules tab. The installed IVI drivers appear Select Agilent34401 from the 59 DMM60 Logical Names•DMM in the Driver session field 61 makemid(‘dmm’);dmm.mdd makemid myDmm = icdevice(‘dmm’); connect(myDmm); 62 myDmm.Trigger.Delay = 0.01;myDmm.Timeout = 0.01; data = invoke(myDmm.Measurement,'Read',1000) disconnect(myDmm); delete(myDmm); >>myDmm = icdevice('dmm'); >>connect(myDmm) >>myDmm.Range = 1.5; >>myDmm.Resolution = 0.001; >>myDmm.Trigger.Delay = 0.01; >>myDmm.Timeout = 0.01; >>data = invoke(myDmm.Measurement,'Read',1000) data >>disconnect(myDmm); >>delete(myDmm); 65 Using IVI with Measure Foundry®73 Using IVI with PAWS85 Using IVI with Visual Basic86 Add a Button87 Private SubbtnTest_Click() and End Sub To enable strong type checking, at the top of the screen before the Option Explicit Dim dmm As New Agilent33401 Now you will enter the code that will execute when you click Test 89 Type dmm.Close93 Using IVI with Agilent VEE Pro101 Advanced Topics102 Driver TypesBase class capabilities Class extension capabilities 103 Custom Specific Driver:Class Compliant Specific Driver: 104 Instrument I/OIVI Configuration Server COM Session Factory: Interchangeability 106 IVI Configuration Store107 DriverSessionSoftwareModule HardwareAsset 109 IVI-COMIIviDriver 3Create an instance of the Session Factory IIviSessionFactory factory = new IviSessionFactoryClass(); 110 driver.Initialize(logicalName, true, true);string identifier = driver.Identity.Identifier; 8Print the string Console.WriteLine("Identifier: {0}", identifier); IIviDmm 2Create an instance of the Session Factory IIviDmm dmm = (IIviDmm)factory.CreateDriver(logicalName); dmm.Initialize(logicalName, false, false, “simulate=true”); 111 IVI-C112 IviDMM_ConfigureTrigger (session, IVIDMM_VAL_IMMEDIATE, 0.01);Editing the Configuration Store view edit Important! Never make changes directly to the Configuration Store file Instead use an IVI configuration utility or the IVI Configuration Store API http://ivifoundation.org/Downloads/Specifications.htm Future Development of Keeping •Developing a .NET standard that will optimize IVI drivers for use in .NET IVI Drivers in Action
Also you can find more HP manuals or manuals for other Computer Equipment.