Hi zep,
In order to better assess what might be going wrong here, I have a few more questions that I would appreciate you answering. Thank you!
1. Could you post an NI-Spy file of the non-working case so I can see exactly what happens in your code?
When generating the NI-Spy files, you should not save after the bus activity is acquired by using File > Save. Rather, it is preferable to create them by logging to file. You can do this by:
a. Before clicking the Run arrow, go to Spy > Options
b. On the screen that comes up, enable logging to file by checking the box labeled "Log to File"
c. Choose a file location for the file to be logged to. You can choose Fast Logging in this case.
d. Remember to change the logged file name under Spy > Options be
fore starting a second NI-Spy acquisition!
2. Could you attempt the same test of asserting a trigger in VISA Interactive Control? Also, if you could generate a second NI-Spy file of this exchange, that would be great!
3. If there is a similar traffic monitoring utility for Tek-VISA, could you generate a log with that as well for comparison purposes?
4. What is your OS?
5. Do other VISA operations work correctly when communicating with the HP8116A?
6. Do any other operations timeout like the viAssertTrigger() operation?
Thank you in advance for your troubleshooting.
Regards,
Josh Hernstrom
Applications Engineer
National Instruments