Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visa.h error

Yes i did  and i copied and pasted that program from a manual so it shouldnt be any errors.
0 Kudos
Message 11 of 15
(2,749 Views)
Yes shouldnt be any errors......:smileyindifferent:
0 Kudos
Message 12 of 15
(2,746 Views)
Ok i got the program to run. i did an *IDN? query. Now I need to save a screen shot on the instrument internal flash drive and retrieve it from the instrument flash drive back in to my progam.
0 Kudos
Message 13 of 15
(2,743 Views)

Hi,

        its neccessry to add the visa32.lib file in Addition Dependencies text box.and u can find it in Configuration mangager >>Linker>Input

 

I have done everything ,m able to communicate with the RSA ,nd now m trying to implement the code for changing the mode in VC++, and m using the command viWrite(vi, (ViBuf) ":INSTrument:SELect 'SANORMAL'",VI_NULL, &retCnt);

but its not reflecting on the RSA althought same command executing in TechVisa tool and also change mode is reflecting on the RSA..

 If u know plz let me know what mistake m doing  and tell me solutions

0 Kudos
Message 14 of 15
(2,368 Views)

Hi 258936,

 

How does your RSA connect to your computer? USB? Ethernet? Are you able to see the RSA in Measurement & Automation Explorer? Are you able to send basic communication commands (*IDN? query for example) to the device in Measurement & Automation Explorer using the VISA test panels? This would be the first thing to try to make sure that the software can see the device and that you aren't having any driver conflicts.

 

Regards,

 

Courtney L

Applications Engineer

National Instruments

0 Kudos
Message 15 of 15
(2,347 Views)