Hi JAF,
When getting an Error -1074135040 for an Agilent E4422B Signal Generator with LabVIEW there are a couple of things that you can try. I am assuming you are using LabVIEW 7.0.
1. Ensure that you have IVI Compliance Package 2.0 & VISA 2.6.0 (these are the minimum versions needed). Reference the link below (E4422B Driver page) for more information on these software packages. http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/112f13696873175686256bff00584c89?OpenDocument
If this does not resolve the issue go to step 2.
2. Use NI Spy by doing the following: open MAX, go to your GPIB device, right click on the device, and choose NI Spy. This will bring up the spy window. Choose spy, options, enable file logging (check mark in file logg
ing box), and then click ok. Start NI Spy by clicking the blue arrow at the top of the window and try to run the commands that are giving errors. This will record all of the GPIB communication and associated errors and write them to file. Attach the file to the post for review. For more information on using NI Spy access the following link:
http://www.ni.com/support/vxi/spy/spy.htm
Hope this helps, have a great day!
Brooks W.
National Instruments