LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a char containing double quotes using viWrite?

Hi,

I am using the VISA library in LabWindowsCVI to control R&S Vector signal generator, using the SCPI commands from R&S manual. However, I am facing a problem now because in one of the commands i want to send contains a file name which is in double quotes.

The command I want to send is:

SOURce1:BB:ARB:MCAR:EDIT:CARR1:FILE "/var/user/64QAM-CVI"

and I am using viWrite command to send this. so what i did is i put \ before the double quotes as i usually do in a char, but it doesnt seem to work, and I dont know why!

 

here is the command I am sending.

status = viWrite (SMW, "SOURce1:BB:ARB:MCAR:EDIT:CARR1:FILE \"/var/user/64QAM-CVI\"", size, VI_NULL);

 

Please advice 🙂

 

BR

Ibrahim Ramadan

 

0 Kudos
Message 1 of 2
(2,818 Views)

  

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(2,788 Views)