06-20-2011 10:18 AM
Hi, I have a synthetizer Agilent E8257D (with options : UNY, 540, 1E1, 1EU and IEH) and I would like to drive it with IVI (with LabVIEW). How can I enable (and disable) the option 1EH (improved harmonics below 2 GHz / setting of low pass filter). I think, this function doesn't exist in IVI. I have the same question for this option : "optimize SNR". Thanks, Benjamin
06-21-2011 09:14 AM
HI,
Thanks for posting on NI forum.
Did you download the driver for this instrument on our website or with LabVIEW (Tools >> Instrumentation >> Find Instruments drivers)?
Regards,
Nicolas M.
National Instruments France
Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter avec LabVIEW - Développer avec LabVIEW
06-21-2011 09:58 AM
Hi,
I downloaded the IVI driver from Agilent website. It is well configured on MAX and I can drive my equipment from LV (IVI commands such as frequency or power level) but I didn't find IVI commands to set these improvement options.
Regards,
Benjamin
06-21-2011 10:41 AM
Hi,
This driver has not been developed by us, I don't know the options included.
However, If you want to use LabVIEW to pilot your E8257D, you could find at this link or in Labview (in the rubric i say in the last post), a driver for your device.
And if you can't make what you want with this driver, you could also use GPIB and VISA palette to send your own order.
Regards,
Nicolas M.
National Instruments France
Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
2 sessions en parallèle : Débuter avec LabVIEW - Développer avec LabVIEW
06-22-2011 09:37 AM
Hi,
My question is not about the driver but more about the IVI specification. The driver I use is compatible with the "IviRFSigGen 1.00 Class Specification IviRFSigGen" such as the NI one but I didn't find in this class a function to command these optimizing options. I know that I can certainly do it with VISA protocol but I need interchangability in my application (possibility to change synthetizer without modification of the program).
Regards,
Benjamin
06-22-2011 09:45 AM
Anytime you find that you need an instrument function that is not part of the IVI class, you have limited options. Either don't use the function or use it and lose interchangability. You could place the unique commands inside case structures so that they are not executed if you switch instruments.
06-22-2011 10:01 AM
Tanks for your answer,
Unfortunalty you confirm what I thinked, I have 3 ways :
1) using IVI for interchangability but with impossibility to command all options.
2) using VISA and rewriting the program when I change of equipment
3) using IVI with one part of the code (case structure) in VISA actived or not in depend on which synthetizer I use.
There is no perfect solution. Maybe the last one, but I have to open 1 IVI communication with the equipement + 1 VISA communication in the same time. It is possible or should I close one before opennig the second ?
Or, is there the possiblity to write a VISA command with the IVI protocol ?
Regards,
Benjamin
06-22-2011 10:12 AM
Usually the instrument specific driver will have generic write and read functions. These should accept the IVI instrument handle.
06-23-2011 10:56 AM
Hi,
I don't understand the meaning, I try to connect VISA Read or Write function to IVI flow and it doesn't work and I didn't find IVI Read or Write function.
Regards,
Benjamin
06-23-2011 01:03 PM
I was referring to the E8257D driver from NI. On that palette, there is Utility Functions>Instrument I/O with a read and write function. Forgot you were using the driver from Agilent. I have no idea what that has.