The logging part seemed wrong for me too. Message 4 of Sample code created with instrument driver functions. Message 10 of Hundreds of functional blocks for analysis, signal processing, and mathematics are built-in to the environment, making LabVIEW a smart choice for manipulating raw data collected with the A. Each palette represents a distinct category of instrument driver functions for programming the A.
|Date Added:||21 December 2012|
|File Size:||27.10 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Message 7 of Instead of the monitor function and reading one channel at a time, use the function to read the entire scan.
Thanks again for your help. With these, you can quickly and labviee take your application far beyond merely programming the instrument to create a completely user-defined solution.
Though all of these examples are intended to serve as a starting point for the creation of a custom application, they may be used without modification to immediately control the Agilent A. A basic program using the or would go something like this. Please try again, only this time explain how to use Labview with the Agilent instrument.
Using the Agilent 34970A with LabVIEW
Two instrument driver palettes are shown 34972x, in Figure 2. I tried everything put my txt data looks always like in the attached jpg. If we cannot see “what you did wrong”, we are unable to tell you how to fix it. Each routine that composes the driver corresponds to a programmatic operation such as configuring, reading from, writing to, or triggering the instrument.
Message 4 of Look at the attached VI or the examples that come with the instrument. Instead of telling me how to use the agilent tool which I have oneit explains why I should buy something else. It will return a numeric array, string array, or CSV string containing each measurement.
Using the Agilent A with LabVIEW – National Instruments
Six such ready-to-run examples are provided by National Instruments in the driver. Since peak detection labvies one of the analysis functions available in LabVIEW, we can easily add that functionality to our application. The driver also includes a full set of functional building blocks that can be used to create a completely custom A application in LabVIEW. The programme works fine and I receive a text data after logging. Message 9 of LabVIEW can also be used to interface with a data management system, whether that consists of a simple spreadsheet file or a relational database.
Thousands of instrument drivers, including the driver for the Agilent A, are available for free download from ni.
They only get updated once and you keep writing stale data. Like Dennis said look at the examples, my “Scan-now.
Can I use the National Instruments 34970A LabView Driver and Examples with the 34972A?
Setting up the hardware to achieve these high rates, resolutions, and channel counts has never been easier or quicker. As outlined above, using the A with a LabVIEW instrument driver creates a useful PC-based virtual instrumentation system for acquiring, analyzing, and presenting test data. To run this example, the user first sets the GPIB or serial communication parameters. The most straightforward way to take advantage of the LabVIEW instrument driver is to run the example programs, which require only basic user configuration.
Do I really have to use a While Loop or is there a function I don’t know yet? Here is an example of steps configuring DC volts, Scaling DC shunts, K type thermocouples, and building a scan list.
The block diagram in Figure 4 extends the functionality of our previously created code to discover the peaks of the dataset and then log those values to a tab-delimited text file compatible with Excel. Turn on Context Help and read the function descriptions.
But I’ll try to work on it. Any custom LabVIEW application you create will be composed of a front panel, which is the graphical user interface, and a block diagram, which is the flow chart-style code created with these functional blocks VIs.
Use the instrument driver VIs to define your custom application. Message 10 of