Hi guys. I noticed that if in the visa resource name I set a different IP or a COM on which nothing is connected, the output is always ok. the question is how can I handle an error like this?For example an user that set a different Ip or a usb or anything on which there isn't any instrument connected?
Thank you
What device are you connecting to? What kinds of commands do you send to it and what responses do you expect.
You should catch the error whenever you send a command and don't get the appropriate response back.
Opening a VISA port doesn't take any action as to figuring out what if anything is connected to the port. It is just establishing a connection between LabVIEW and the physical port within the PC.
Impossible. When you connect different com port which is not at all present then either you wont be able to read or write. May be some problem with VI itself
Upload the VI
hi guys.
attached there is the VI.
The comunication is opened in the "RTS" case structure.
in 2011 please
I have the student versione. could you tell me how to convert it into the 2011?
thank you
done 🙂
Initialization of VISA needs to be done outside
crap I didn't see it. thank you