Hello!
I am developing my own custom software for automated testing of our product. I need the software to start a session with a particular instrument (Tektronix RSA3408A) and read it's CH Power, and close the session.
I am writing the software in C++ and of course using NI VISA as the interface.
Now... writing is successful. I am sending the instrument commands to configure it before measurmenet, I know as I can see the display parameters changing on the display and the relays clicking away inside.
It is when it comes to reading the data after writing the "*idn?" (Although sometimes this works after shutting everything down and restarting) and "FETCh: SPECtrum:CHPower?" commands that, regardless of the length of timeout set or whether the end terminator is surpressed or not, I get the 0xBFFF0015 timeout error.
I have attached my code (in c++) and a screenshot of the NI I/O Trace captured data.
This I imagine would be useful for anyone who is programming using NI VISA, so your help with be appreciated by many others I'm sure.
Thank you in advance!