Virus scan in progress. Please wait to download attachments.
A new version of the example and a new VI to add to the previous library to show how Agilent E4980 works with frequency sweep.
It is saved along with the regular Fetch Measurement Data. It should be in instr.lib\Agilent E4980\Public\Data\Low Level assuming you placed the library in the intr.lib. This VI does an actual sweep in the LCR meter.
LabVIEW 2012 (or compatible)
Additional Information or References
The sweep VI included in the driver on NI's website does not work. There are a couple of issues with it.
The Display Page was never changed to the sweep list. This resulted in the VI setting up everything, bust just doing a regular measurement.
The Meaurement VI only grabs one result. I had to create a new VI for the library to handle the results of the fetched list, as the same command is used for a single measurement and a sweep measurement.
UPDATE (6/10/2015): Updated the code, as I had originally left the default 512 character request for the fetch, which is not big enough for large sweeps. I changed the code to allow the value to be specified, and changed the default to 4096.
UPDATE (6/7/2016): Added LV8 version of the VIs. Rename them to drop the "80" at the end of the VI name.
UPDATE (9/27/2016): Someone noticed that the Fetch for LV8 was still in LV14. It has been updated.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.