Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

convert usb raw driver to usbtcm driver for Owon oscilloscope xds2102a

I've just connected my new oscilloscope Owon xds2102a to my labview system using owon's driver. 

 

But there is a problem: NI VISA shows it's the USB RAW instrument . SCPI commands such as idn, read, etc. go well , besides, read command gives at the end \n.

 

But the main problem that I definitely need the oscilloscope to be seen as USBTMC.

 

I wonder if there any chance to convert USB RAW to USBTMC?

0 Kudos
Message 1 of 9
(3,401 Views)

@IvanSPb wrote:

 

I wonder if there any chance to convert USB RAW to USBTMC?


There is no chance, because for converting to USBTMC you have  to modify the scopes firmware to use USBTMC protocol instead of the currently used propriatary protocol. 

0 Kudos
Message 2 of 9
(3,329 Views)

Thank You.

 

One more question:

 

How can I fix the "...\n" that appears at every oscilloscope's reply to any my command?

0 Kudos
Message 3 of 9
(3,317 Views)

You might be able to change that in the scopes setup.

But \n ( end of line) is used as termination character here and means that there is no other data is following in this response. So what's the problem with that ?

0 Kudos
Message 4 of 9
(3,306 Views)

Thank You,

 

I shall try to find this setting in my oscilloscope, but right now I dont't see this option.

 

 

The problem with "\n" is following:

 

my measurements data go to a table then goes to a graph.

 

When I write ":MEAS..." to an agilent device the read command gives "1.123"

 

When I write ":MEAS..." to this owon oscilloscope device the read gives "1.123\n"

 

So my data table becomes corrupted .

 

 

0 Kudos
Message 5 of 9
(3,288 Views)

Which software do you use to process the data ? Are there no options for string manipulation before filling the table ? I.e searching for the \n at the end of the reading an removing it , if it exists. 

0 Kudos
Message 6 of 9
(3,265 Views)

Thank You,

 

I use Origin. Yes,I can import  data with option of recognition of "\n", but I hoped to get rid off "\n" on NI-VISA level.

 

 

PS: I still can't find the option converting USBRAW to USBTCM in my oscilloscope.

0 Kudos
Message 7 of 9
(3,259 Views)

Hi, I have this oscilloscope too. Where did you find commands list to control the device from PC via serial port? 

0 Kudos
Message 8 of 9
(3,067 Views)

http://files.owon.com.cn/software/Application/XDS3000_Dual-

Channel_Series_Oscilloscopes_SCPI_Protocol.pdf

0 Kudos
Message 9 of 9
(3,050 Views)