Frequently Asked Questions
COM port number can change upon plugging in the same device, especially if replugging into a different physical USB port on the PC. If plugging in a different unit of the same type of device, it may likely also get a new COM port number (e.g. Two Red Pitayas, even if sequentially plugged into the same USB port, may well get different COM port numbers). We are using an iHR320 spectrometer with a Synapse CCD. The program to control the spectrometer is called Labspec5. The spectrometer and camera are connected through USB. When trying to connect via Labview some VI's are available from HYJ. Connecting to the Spectrometer goes just fine using an A. May be used by mobile devices to detect the presence of a charger on the USB port to enable higher current / faster charging of batteries. Device supplied pre-programmed with unique USB serial number. Supports bus powered, self powered and high-power bus powered USB configurations. Integrated +3.3V level converter for USB I/O.
Number of FAQs related to SC-USB: 4
Expand AllCollapse All
The combination of the USB to serial (17394) and the SC32B is basically the same as the SC-USB. Both options enable communication between a computer and a data logger with a CS I/O port.
See the table for a detailed comparison:
17394
USB-serial cableSC32B
SC929
SC-USB
Useful for Connecting
PC USB port to data logger RS- 232 port
Data logger CS I/O port to laptop COM port
Data logger CS I/O port to laptop COM port
Data logger CS I/O port to PC USB port
Connectors
USB A male – 9-pin male
9-pin male – 9-pin female
9-pin male – 9-pin female
USB B female – 9-pin male
Length
6 ft
3 in.
6 ft
1.6 in. Power Consumption
N/A
Active <200 a=' --200--='>
8 mA continuous
Active <20 ma=' --20--='>
Optically Isolated
No
Yes
No
Yes
Operating Temperature
N/A
-25° to +50°C
-25° to +50°C
-25° to +50°C
Maximum Data Transfer Rate
1 Mbps USB
115200 bps
9600 bps
1 Mbps USB
Many of our more recent data loggers have a Micro B USB port. Simply use a Type A to Micro B, male-to-male cable. Although any USB cable, with the correct connectors and drivers, should work, there is a better chance of success using a cable supplied by Campbell Scientific.
For data loggers with an RS-232 port, only a serial or USB to RS-232 cable (sometimes called a USB-to-serial-adapter cable) is needed. Although any USB to RS-232 cable should work with the appropriate drivers, there is a better chance of success using the USB to RS-232 cables sold by Campbell Scientific.
There are several options for data loggers that don't have an RS-232 port but have a CSI/O port:
- Use the SC-USB connector/interface instead of the SC32B.
- Use the SC32B with a 17394, USB-to-9-pin male RS-232 cable.
- Use a user-supplied USB interface with the SC32B.
For data loggers with a CSI/O and RS-232 or USB port, it is not necessary to use the SC32B unless there is another device connected to the RS-232 port or there are concerns about low-level noise from a permanently connected, ac-powered computer.
Communication through the data logger's CS I/O port requires an interface that converts the computer's RS-232 voltage levels to the CMOS levels of the data logger. Typically, that interface is an SC32B. The SC32B connects to the data logger's CS I/O port via an SC12 or serial cable and connects to a computer's 9-pin serial port via a serial cable. When the computer does not have a serial port, a 9-pin serial-to-USB cable, such as pn 17394, can be used with the SC32B. Alternatively, instead of the SC32B, use the SC-USB.
Windows Subsystem for Linux supports USB-serial devices.The device must be recognized in Windows Device Manager first.If Windows doesn't recognize the device, perhaps try the device on a native Linux PC.
Configuration
Configure USB-serial adapters in WSL by:
add the WSL username to 'dialout' group:
Plug USB-serial adapter into the PC
Look in Windows Device Manager under Ports to see the COM port number.See troubleshooting notes below if it doesn't show there.
The device must show in Windows Device Manager → USB Devices → Ports.If so, try in WSL terminal, (assuming device is on COM 5 for this example):
Horiba Scientific Usb Devices Driver Win 7
Usage
The serial device baud rate must be consistent between device and PC.If the baud rate is incorrect, either no text or garbled text will be seen.For example using 115200 baud:
Connect to serial devices usingPuTTY with WSLviaX11 on WSLor using command line like
Notes
- COM port number can change upon plugging in the same device, especially if replugging into a different physical USB port on the PC.
- If plugging in a different unit of the same type of device, it may likely also get a new COM port number (e.g. two Red Pitayas, even if sequentially plugged into the same USB port, may well get different COM port numbers).
Troubleshooting
Horiba Scientific Usb Devices Driver Win 7
Usage
The serial device baud rate must be consistent between device and PC.If the baud rate is incorrect, either no text or garbled text will be seen.For example using 115200 baud:
Connect to serial devices usingPuTTY with WSLviaX11 on WSLor using command line like
Notes
- COM port number can change upon plugging in the same device, especially if replugging into a different physical USB port on the PC.
- If plugging in a different unit of the same type of device, it may likely also get a new COM port number (e.g. two Red Pitayas, even if sequentially plugged into the same USB port, may well get different COM port numbers).
Troubleshooting
If the device doesn't show up in Device Manager → Ports, see if it was mistakenly enabled as a Mouse or Human Interface Device.If so, unplug and replug your device.
If it still fails to show up as a Port, instead showing up as mouse or HID, try right-clicking and Disabling the device and unplug/plug it once more.
Kinds Of Usb Devices
If it still fails, maybe the Windows device driver is missing.Try the device in a native Linux PC and see if the device works there.
references
Windows 10 Build 16176 (April 2017) added support for USB-serial adapters.