Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

error -1074001422; rssmu_SetFMState

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.
Download All
0 Kudos
Message 1 of 2
(3,281 Views)

Hi Y3G,

It looks like the error that you are seeing here is instrument-specific.  Perhaps this state is not being set correctly for the instrument model you have?  Does your user manual for this signal generator have any information regarding this error or a section on setting that FM state?  Thanks!


Regards,
Anna M.
National Instruments
0 Kudos
Message 2 of 2
(3,256 Views)