I am often unable to control the 8560E using GPIB and C++ code from a DOS window. The executable runs from a DOS window (in Windows 98). I have used this setup with other instruments and it works fine. With the 8560E, it will not work unless I use the following procedure:
1) start my program (in a DOS window) and leave it idling
2) start NI-488.2 Communicator for my PCI-GPIB card and leaving it running.
3) run tests using my program
Is there some sort of initialization that takes place when I start NI-488.2 Communicator? If so, how can I get this "initialization" into my C++ code so that it will work without starting Communicator?
Is there some sort of special reset comma
nd that I need to use with the 8560E? Are there other special requirements or tricks for communicating with this analyzer?