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