I am trying to continuously switch images on the VI, but it freezes when I try to access an oscilloscope through its instrument driver.

I am drawing 2 different colored rectangles contiuously on the screen using a while loop. I try to get information from an oscilloscope while this is switching, but the loop stops while the instrument driver aquires the measurement. The oscilliscope value depends on the switching of the rectangles, so I need them to occur simultaneously.

First you should have the two operations in different loops so one doe snot stop and wait for the other.
This should get you closer to what you are asking if you are not doing this already.
Next, look at the code you are using to get at the scope. If it opens/reads/closes, you can sped things up by opening once, repeatedly reading and only close at the end.
If you have covered all of the above, then provide more info (i.e. post code) So we can be of further assistance.
FWI There was a version of VISA that code "Lock-up the CPU" when doing reads. Are using VISA and do you have the latest version?
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

Maybe you are looking for

  • Adobe Photoshop 13.0.1.2 Installation failed. Error Code: U44M2P7   Windows 7 x64

    Tired of errors. I am paying for something, I need it to work. I have deadlines! I do NOT have time to sit here researching error codes and messages. Time for this @$%(& to just work!!

  • Sending Photos from Lightroom to Photoshop

    Hey guys, when I send photos from Lightroom 5 to Photoshop (CS6), make changes and return to Lightroom, I will see a new frame with the changes I have just made.  However, I notice that I lose my original enhancement settings from Lightroom.  In othe

  • Copy billing plan lines from one sales document to another

    HI, we want to copy the open billing plan lines from one sales document to another, which routine should we use in the copy control in configuration? we tried to use,401 and 402 but with no success.. it's should'nt be a standard process with out any

  • Send idoc to other system via SOAP

    Hi, I intend to implement an interface with other system non SAP, to send idocs via SOAP. I've read some documentation on sdn but i'm very confused about Was / XI / BSP and some others terms. Please, can someone help me, driving me to the right way a

  • Scale text horizontally and vertically.

    I am using flash builder 4.6. I want to scale text vertically and horizontally like in indesign using TextLayoutFormat. It is possible in flex to do this using TextLayoutFormat or not? If not then how to do this? Please help. Thanks.