08-26-2011 01:54 PM
I'm building a front panel interface for two Agilent E4435B signal generator that need to work together over the GPIB bus. One generator is a jammer and the other is the modulated signal. I would like to use one front panel to talk to both generators but I'm having trouble with getting both GPIB address so I can use them in the program. I'm have done this before for single instrument but not sure how to handle two VISA address so I can switch between the two on one front panel. Any suggestions or examples someone can point me to.
Thanks,
Gary Tyrna
08-26-2011 02:17 PM
Why can't you just use the pulldown on the VISA Resource Name control to switch?
08-29-2011 07:00 PM
Hi Gary,
When using two GPIB devices, you need to program your application so that your devices are synchronized. That is, you do not want two reads/writes occurring at the same time. There is a good example of this (and accessing two addresses) in the Example Finder. In your VI, go to Help -> Find Examples... and then search for an example called "Basic 2 Port Serial Write and Read.vi". This example should help you to get started. Best of luck,