LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

tds210 serial port init

i use the code:
tktds2xx_init ("GPIB::1", VI_ON, VI_OFF, 9600, 0, 20000, &Scope);
to initiate tds210 scope(Tektronix). this initialization work fine with the GPIB but when i try to configure it to serial port i get error message 3fff0011.
To initiate the serial port i changed GPIB::1 to ASRL1::1 is it correct? how can i know what is the default setup of the TDS210 scope? - boudrate, parity, etc..
0 Kudos
Message 1 of 6
(4,442 Views)
The RS232? query (sent via GPIB) will return the current settings for the RS232 port.
RS232 commands (all sent via GPIB) to setup the RS232 port include RS232:BAUD, RS232:PARITY, RS232:STOPBITS.
You can download the programming manual here.
0 Kudos
Message 2 of 6
(4,439 Views)
The smiley face got added automatically. I don't know why. My original text was RS232[colon]PARITY. I'll try again here just to test it: RS232:PARITY.
0 Kudos
Message 3 of 6
(4,437 Views)
yes...

smiley faces are taking over instrument commands..

: followed by some characters will create smileys, even in the middle of a word.

: P (remove space) gives 😛
: ( (remove space) gives 😞

see LINK for a listing..

JLV
Message 4 of 6
(4,430 Views)
i am using the cvi driver for tds210 and not using directly gpib command. my question is am i giving the correct name ASRL1:1 for defining the serial port in the tktds2xx_init driver command.
0 Kudos
Message 5 of 6
(4,395 Views)
Hi irmer,

I am not sure exactly what parameters the tds210 driver takes without further research, but usually the serial port instrument is referred to as ASRL1::INSTR, not ASRL1::#, where # represents the number of the instrument you are using. If that doesn't work, you can just try ASRL1. Try those out and see what happens... if that doesn't solve the issue, we can dig deeper and see what is going on.

John M
Applications Engineer
0 Kudos
Message 6 of 6
(4,377 Views)