07-26-2011 09:18 AM
All you have done is repost the VI I gave you. I find that pretty insulting. You don't have a clue. The idea is to have some Write/Read (or just a Read) inside the for loop that will be unique to your specific instrument. What I put in the string constant should have been replaced, by you, to the unique response from your instrument. Not only am I disinclined to help you, I cannot help any more. I have no idea of the instrument connected and I don't have it. You will have to do the basic debug yourself. Good luck and good by.
07-26-2011 07:40 PM
Hi Ravens Fan,
I am trying to use the program to detect and connect to the COM port with a robot in order for me to communicate with the robot.
Please advice
Thanks
07-26-2011 10:20 PM
Do you not know which com port your robot is connect to?
If you know, then you don't need to do all the searching. You just choose the correct com port in the VISA drop down box.
If you don't know, then you do need to search through the com ports on your system. How does the robot communicate so that you know whether it exists on a com port? Does is automatically send out data constantly? If so, what does that data look like? Do you have to send it a special command and the read back what its response is? If so, what is the command and what is the expected response? Then the multitude of example VI's and copies you have posted numerous times just need to be modified to make it work. But only you know what this robot is and how it works. Heck, it took 42 messages in this thread before you even mentioned it was a robot.