07-21-2005 03:10 PM
07-22-2005 08:43 AM
Ben,
The only thing I can think of immediately is to see if the VISA Read is set to do synchronous I/O.
07-23-2005 08:40 AM
Thank Dennis,
I checked that early on and should look at it again. Looking back now, I realize that there are two operations that cause the hanging. I did not go back and change BOTH.
I changed one, still observed the lock-up and then switched back. A "sanity check" is definately called for.
Ben
07-25-2005 11:52 AM
07-25-2005 12:10 PM
Hi Logan,
No I did not run NI Spy because I am convinced the "hang-ups" occur durring periods where large data sets are being transfered from the instrument to my machine.
Please e-mail me at
and I will reply with the code to illustrate the structure.
Thank you for your interest,
Ben
07-25-2005 01:28 PM
To anyone else following along...
Logan now has the code.
We will share the results here, but sorry, not the code.
Ben
07-28-2005 07:38 AM
Update:
The jury is still out.
I less than ideal work-around is to break up long reads into a series of smaller reads with a wait in between. This slowed the speed of the read operation but allowed other processes to get at the CPU on a regular basis.
Nothing else definative at this time.
Ben
08-02-2005 07:36 AM
12-19-2005 12:28 PM
Please talk to "Matt" and update the status of this issue.
Ben
12-19-2005 02:46 PM - edited 12-19-2005 02:46 PM
Hi Ben,
I'm sorry I have not posted here sooner. We had another issue similar to yours come up and attempted again to replicate this issue to verify that it matched the corrective action request that I reference above. After a number of attempts, I found we could not replicate what you were seeing. For instance, we attached two instrument simulators to our system, set up three while loops in a simple VI - one loop for each instrument simulator, and one loop just monitoring the UI. We tried using synchronous and asynchronous VISA calls in the loops, tried it with the both simulators on, with only one on, with both on, then shut down one, and we never saw the UI lock up as you were describing. Please see the attached VI to see one of our attempted setups to replicate this problem. Did we misunderstand the description? Or perhaps how to replicate the issue?
Logan S.
Message Edited by LoganS on 12-19-2005 02:47 PM