07-18-2020 03:53 PM
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?
07-21-2020 01:16 AM
@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.
07-22-2020 11:54 AM
Thank You.
One more question:
How can I fix the "...\n" that appears at every oscilloscope's reply to any my command?
07-23-2020 12:21 AM
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 ?
07-24-2020 02:43 AM
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 .
07-27-2020 01:20 AM
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.
07-27-2020 06:55 AM
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.
11-10-2020 02:01 PM
Hi, I have this oscilloscope too. Where did you find commands list to control the device from PC via serial port?
11-12-2020 03:10 AM
http://files.owon.com.cn/software/Application/XDS3000_Dual-
Channel_Series_Oscilloscopes_SCPI_Protocol.pdf