Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to improve the response time of my VISA write in response to a bytes read using VISA read?

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.

0 Kudos
Message 1 of 3
(3,942 Views)

@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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(3,931 Views)

Can you provide a couple of links? Thanks. 

0 Kudos
Message 3 of 3
(3,904 Views)