From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-29-2019 09:08 AM - edited 10-29-2019 09:10 AM
I am new to Labview, kindly help me solve this error. I am writing a code for 3 axis system. The VISA resource read file in the code loses its (serial) connection and re establishes after sometime. I am using an RS232 cable. I couldn't understand what is the problem. Please help
Solved! Go to Solution.
10-29-2019 10:17 AM
You might be confusing the device since you are writing and reading in multiple loops. At the very least, make a VI that will write and optionally read from your device and use that VI for all of your communications. The VI will act as a Semaphore (lock) to ensure that the write-read process cannot be interrupted.
10-29-2019 02:55 PM
Yeah I will write a vi with write and read and try using it in my program. I hope it works. Thank you.
10-30-2019 04:41 AM
I do not know how to make an optional read. Can you kindly help ?
10-30-2019 06:27 AM
@KarthikMurali wrote:
I do not know how to make an optional read. Can you kindly help ?
Boolean input and a Case Structure.
11-06-2019 12:53 AM
I am still experiencing a problem even after I optionally read it. I checked the VISA interactive control and it said that the "resource is valid and the visa cannot access it" . How can I rectify this ?