03-09-2016 03:01 PM - edited 03-09-2016 03:28 PM
I am using a RS485- USB cable to communicate with a pic controller. I have established communication between the labview VI and microcontroller (meaning I can read packets of data from port using Visa Read and respond appropriately with Visa Write and can keep communicating). I am observing the communication on an oscilloscope. I can see read bytes and the following write bytes that I send as a response. The gap between the two is about 2 milliseconds. I want to improve the speed with which my visa write is responding to the read bytes (so that the time gap between read and written bytes is approximately 320 microseconds). Any suggestions on how can I achieve this? Thank you.
03-09-2016 04:39 PM
@redwineglass wrote:so that the time gap between read and written bytes is approximately 320 microseconds
To get that kind of speed, you will likely need to go with an FPGA. There are examples floating around where people used a few digital lines to do a full UART in an R-Series card with LabVIEW FPGA.
03-10-2016 11:31 AM
Can you provide a couple of links? Thanks.