04-14-2009 01:37 PM
I am using max to configure some tcpip resources. I am able to connect to them through the MAX (verison 4.0) through the test panel. However, they are not working in labview (version 8.0) using the visa open. When I open the MAX again, there is an error and it states that it could not connect to the resource, but I can still open up the test panel and write and read.
Thank you,
Gerardo
04-15-2009 02:58 PM
Hey Gerardo,
When you open a test panel to the device in MAX, do you close it before trying to call the VISA Open function? Also, in LabVIEW, do you call a VISA Close function at the termination of your program? With VISA functions, you need to bookend your functions with a VISA Open and a VISA Close so that the resource is freed after you're done using it.
What is the error code/message that you are receiving?
04-16-2009 11:51 AM
Justin,
Yes, after I would open the test panel, I would close it and then I would try to write to the device. And yes, I opened and closed the VISA resource. I actually had it working perfectly fine on another computer, but then I swapped computers and this started to happen. I tried several things but finally just uninstalled LabVIEW completely and then reinstalled it. It now works perfectly fine. Thank you for you help anyways.
04-17-2009 10:57 AM
Gerardo,
Glad to hear you're program is working