10-18-2006 05:29 PM
10-20-2006
02:14 AM
- last edited on
10-29-2025
09:47 PM
by
Content Cleaner
Hello,
Since you are writing a large amount of data one thing to do is to set the write mode to synchronous for your VISA Write VI by right clicking on the VI and choosing Synchronous I/O Mode>>Synchronous. This will help when transferring large amounts of data because it will lock the process thread for longer periods of time that are performing the write. The difference between synchronous and asynchronous VISA transfers can be found at The Effect of Asynchronous and Synchronus VISA Reads and Writes. Another factor to consider is the FIFO buffer for the ENET-232 which is 128 bytes (Much larger than the built on serial ports of a mother board). With a VISA write it will take the data you want to write from RAM to the FIFO of the ENET-232, when the FIFO is full it will then cause an interrupt to empty the FIFO by outputting the data on the port. This is also described in The Effect of UART FIFO Sizes in Serial Application Performance.
Daryl E
Applications Engineer
National Instruments
10-31-2006 09:31 AM
10-31-2006 01:18 PM