01-28-2008 12:19 PM
01-29-2008 05:10 PM
Hi Dave,
How is your code designed? How are you using the VISA lock to lock access to a VISA resource? Would it be pausible to post a small piece of code that illustrates the problem you are experiencing? The last timeout you mention, can you tell me what is throwing that timeout error?
One alternative to using VISA lock functions, is use property nodes for the front panel controls. You could use a simple case structure (or event structure) to disable a front panel control programmatically, and then re-enable the control when you see fit in your code. I've attached a really simple piece of code that disables a control after it has be clicked.
I hope this helps, post back with any questions. Thanks!
Ted