RIGOL DS1052E - RS232 port male chassis? - Page 1
Forum section: electronics / testgear

author: GerardWassink
author_rank: Contributor
timestamp: July 26, 2017, 01:37:53 pm
content: Hi all,Does anybody have any idea why on earth the chassis part of the RS232 port on this oscilloscope is a male version, while all of the "normal" RS232 cables and USB-serial cables end in a male plug as well?On the same note: when I find a female-female stub (pins connected one on one, straight over), wether this will work?Kind regards,Gerard

author: Specmaster
author_rank: Super Contributor
timestamp: July 26, 2017, 02:16:29 pm
content: Quote from: GerardWassink on July 26, 2017, 01:37:53 pmThis does not have a RS232 port, it is a port for the digital TTL input/output as can be seen in herehttps://www.banggood.com/MHS-5200A-25MHz-Digital-DDS-Dual-channel-Signal-Generator-Source-Frequency-Meter-13N2-p-1041328.html?utm_source=google&utm_medium=cpc_elc&utm_campaign=ds-elc-rm&utm_content=mandy

author: GerardWassink
author_rank: Contributor
timestamp: July 26, 2017, 04:16:53 pm
content: Quite right, thanks. I was mistaking, the question should have been about the RIGOL DS1052E. I bought them both in. the last few weeks and have been struggling with computer connection in both machines.I will try to change the thread's title accordingly.Gerard

author: alm
author_rank: Super Contributor
timestamp: July 26, 2017, 04:50:21 pm
content: If the RS-232 port is male, this usually means you need a null modem cable (RX and TX wires reversed) to connect it to a computer. As to why that polarity, you would have to ask the designers. May be they were expecting driving other RS-232 peripherals from the scope?If you want a USB connection, why not use the USB port?

author: GerardWassink
author_rank: Contributor
timestamp: July 26, 2017, 04:58:55 pm
content: Quote from: alm on July 26, 2017, 04:50:21 pmBecause I'm not sure these ports are functionally equivalent.I would ultimately like to be able to communicate with the scope from MacOS in Python and have have up till now not been able to find drivers for it for Mac OS, not for RS232 nor for USB.Gerard

author: BobRyan
author_rank: Contributor
timestamp: July 27, 2017, 03:34:02 pm
content: You can use PyVISA. Lots of examples are available online

author: GerardWassink
author_rank: Contributor
timestamp: July 28, 2017, 08:36:44 am
content: Okay, thanks. Tried that, see below.Could you please think with me?RIGOL DS1052E on Mac OSInfo:RIGOL DS1052E, 00.04.02 SP1Mac OS Sierra, 10.12.5Python 2.7Actions:Download NI-VISA 5.0 voor Mac OSWebpage:http://www.ni.com/download/ni-visa-5.0/2039/en/Install attemptWill not install, asks for 32-bit kernelDownload NI-VISA 5.4.1 voor Mac OSWebpage:http://www.ni.com/download/ni-visa-5.4.1/4631/en/InstallInstall success, system restartFound PyVISA 1.8Downloaded and installed PyVISA 1.8 voor Mac OSWebpage:https://pyvisa.readthedocs.io/en/stable/getting.htmlInstallpip install -U pyvisaInstall check>>> import visa>>> rm = visa.ResourceManager()>>> print(rm.list_resources())fails onimport visaTraceback (most recent call last):File "<stdin>", line 1, in <module>ImportError: No module named visa

author: GerardWassink
author_rank: Contributor
timestamp: July 31, 2017, 06:17:44 am
content: Bump...