How Can I Configure the Number of Stop Bits for My Modbus Master?
Primary Software: LabVIEW Modules>>LabVIEW DSC Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Modules>>LabVIEW Real-Time Module
When using the LabVIEW Modbus API to create a Modbus Serial Master, I do not have the option to configure the number of stop bits. How can I configure the number of stop bits to the appropriate value?
The Modbus Serial protocol specifies that if no parity is used there should be 2 stop bits and for both even and odd parity, 1 stop bit is used. The LabVIEW Modbus Serial Master API will follow these guidelines for setting the stop bits of the serial interface. So if the Slave device follows these rules, there is not need to explicitly set the number of stop bits. However, some Modbus Slave devices so not follow this convention so it becomes necessary to manually change this value.
If required by the Slave device, the number of stop bits can be manually configured using a
By doing this, the
Report Date: 09/29/2017
Last Updated: 10/05/2017
Document ID: 7PSF4PH9