Hi,
There is the following issue that causes an error while trying to set a R&S signal generator parameters programmatically.
I have downloaded the dll from the drivers site of the Signal Generator (CVI drivers, rssmu_**)
There are two lines in the code I use :
step 1) rssmu_status = rssmu_init((char *) ((LPCTSTR) m_ResName), (int)(m_Query), (int)(m_Reset), &instrSession);
step 2) FT_CHECKERR (rssmu_SetFMState (instrSession, VI_TRUE) , "rssmu_SetFMState");
After that an error ("-1074001422; rssmu_SetFMState) occurred and popped up (attached picture).
The NI-SPY indicated that there was no crucial error. (attached) The Vi session was closed properly
I am using a TCP/IP connection and other commands worked
What is the root of this error and how can we prevent it.
I'll be there on Monday to debug the issue.