Serial communication12/11/2023 ![]() ![]() Depending on the driver, however, you may be able to specify the port number to use. It is common for Windows to assign a different COM port number to the cable depending on which USB port you plug it into. These days, however, most of us use USB to RS-232 cables, and Windows assigns a COM number to the cable. This was rarely a problem on older computers with a built-in serial port because the port was almost always COM1 and didn’t change. The COM port you select in the software must match the physical port on the PC used for the connection. After you successfully connect, you can change the baud rate setting for the serial port on the data logger. So, if someone else connects to your CR1000 at 9600 baud, you may have trouble connecting at 115200. Although autobaud is reliable at adjusting down the baud rate, it does have trouble adjusting up from 9600 to 115200. The autobaud option tries to adjust the baud rate automatically to match the PC. The CR1000 defaults to a baud rate of -115200, which means 115200 with autobaud enabled. CR1000 and similar data loggers can handle baud rates up to 115200. For example, CR200-series dataloggers and CR10X dataloggers are always 9600 baud. The baud rate you select in the software must match the baud rate of the data logger serial port. If you are connecting to a CS I/O port, you must also use an RS-232 to CS I/O converter, such as the SC32B Optically Isolated RS-232 Interface. With RS-232, you can either connect a straight-through cable between the RS-232 port on the PC and the RS-232 port on the data logger, or you can use a USB to RS-232 cable. On Campbell Scientific data loggers, there are two types of 9-pin connectors: CS I/O and RS-232. For example, some data loggers have two types of ports, and it is important to use the correct cabling for the one you are connected to. #2 - Serial Cable ConnectionĪ serial cable must be properly connected between the PC and the data logger. Even if your data logger doesn’t have this feature, you can still use a voltmeter to check the voltage at the power input. Some data logger models make this easy to do by having a light on them that flashes when they are active. To ensure your data logger is getting the power it needs, make sure your power supply is not switched off. A good power supply is between 12 and 14 Vdc. Most Campbell Scientific data loggers need between 10 and 16 Vdc connected to the power input. This article looks at six of the most common problems and explains how you can easily resolve them. To ensure your successful data retrieval, it’s essential that you can troubleshoot possible problems that may arise with PC-to-data-logger communication over a serial connection. Your data logger may record great data, but if you can't retrieve it, the data isn’t going to do you much good. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |