Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Cant use GPIB communicate with UF190 prober

Hello
 
I try to send some GPIB commands according to the reference: UF200 GPIB MANUAL.
such as "J" command:
It needs the carriage return and line feed followed, so I send the command as "J\r\n".
The result is the prober wont take that command. (Its GPIB history log recorded there is a command recieved but cant tell what the command is.)
 
Also,I tried to read the status bytes from prober, sending with "*STB?" command.
Looks like the prober didn't support this command, because I try to read back the status bytes and it timed out.
 
I attached the manual file here, is my command format wrong?
0 Kudos
Message 1 of 4
(6,091 Views)
Are you positive you are actually sending the control codes and not the characters '\' and 'r'? Your string control/constant has to be set for '\' Code Display.
0 Kudos
Message 2 of 4
(6,074 Views)
Yes, I am pretty sure that the \n & \r are commands, not strings.
 
The command I use is :
 
sprintf(ts,"J\r\n");
ibwrt(machine_name, ts, strlen(ts));
 
While I use printf check the ts, its output is only "J" not "J\r\n"
0 Kudos
Message 3 of 4
(6,059 Views)

Hi , i also have a question : when i use GPIB to connect with my UF200 PROBE , My NI MAX can not find sucessful about my UF 200 PROBE , 

 

Could you share with me how do you sucessed to connect your UF190 PROBE WITH GPIB ?

 

Thanks 

0 Kudos
Message 4 of 4
(862 Views)