Is there a way to access control pins on a DB9 connector in a Simulink simulation?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
In my SLDRT simulation I am generating a GPS-PPS signal that needs to be sent out to a device using serial communication (RS-232).
I was wondering if there is a way to access / control the, control pins on a DB9 connector in Simulink so that the PPS signal can be sent out, say on the DCD (Data Carrier Detect) pin.
The use of 3rd party cards to accomplish this is not what I am looking for.
Any insight on this is much appriciated !
Thank you
0 comentarios
Respuestas (1)
Bhanu Prakash
el 8 de Mayo de 2023
Hi Howard,
As per my understanding of the question, you want to access the control pins on a DB9 connector in Simulink.
To do this, you can use "Serial Transmit" and "Serial Receive" blocks in Simulink. These blocks can be connected to a DB9 connector and allow you to send and receive data through a serial port.
You can access the control pins on the DB9 connector using the "Serial Configuration" block.
You can refer to the following documentation of “Serial Configuration” block for more information:
Following is the documentation for “Serial Transmit” and “Serial Receive” blocks respectively:
Hope this answer helps you.
Thanks,
Bhanu Prakash.
0 comentarios
Ver también
Categorías
Más información sobre Target Computer Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!