I needed to communicate with a serial port in the order of microseconds. the standard Labview can only give us resolution of loop delay in the order of 1ms. To go further down in resolution, i learnt that we have to use Labview Real Time.
1. Is this correct?
I assumed it the case and tried to install the Labview realTime trial version on a Win 10 64 bit PC with LV2019 f1 64-bit.
I am getting the below shown error. Any ideas how to install Labview RealTime?
Thanks for your suggestions.
What type of serial port are you using? RS-422 UART? RS-232 UART? SPI? Some other weird "serial" protocol that is out there (and there are a lot of them)?
And how tight of timing do you need? Assuming UART, microseconds is still very tight and you will have to use a high baud rate. Even at 115200 baud, you are looking at ~87us per byte.
@crossrulz, thanks for your response.
I am using 115200 baud on RS-232 UART, i understand 87us per byte timing.
I am looking for a loop timing about 700us.
Do u think it would be achievable with normal Labview without RT?? If not, do u have any suggestion how to install the LV RT?
Of course, now I have to ask we you need such fast timing. Reading that quickly is possible in Windows with the right assumptions, but it will not be consistent. Perhaps you can share some more details on your application? The message protocol is what I am most interested in at the moment.
Its a serial port device I am trying to communicate. The serial port typically has three pins: Rx, Tx and Gnd. The receiver looks for exact string as command and sends out a response. No other handshaking is involved.
We would like to see the module's response under faster speeds.
You mentioned FPGA for faster speeds. Do you mean Labview FPGA module? If so, how can i use that? do you have any demo program ?
I am looking for a FOR loop that would send commands at about 100us and receive them at the same speeds.