02-12-2007 06:42 PM
02-13-2007 09:42 AM
You can identify the time bottleneck by placing timers around each VI in the diagram (1 Tick Count VI prior and 1 after a VI and subtract the difference). A visual inspection would probably suffice...simply highlight execution and look at the diagram to see where the code is taking the most time to execute. A third option is to run NISpy, which will log all calls to the communications bus and also indicate the timing of the calls.
My guess is that most of the time is spent returning data from the instrument. Your best bet to speed this up is to use GPIB (a faster bus) rather than serial. On many scopes you could also reduce the number of samples being transferred, but I don't see that as an option here.
02-13-2007 09:49 AM
02-13-2007 10:11 AM
02-13-2007 03:28 PM
02-13-2007 03:32 PM
02-13-2007 04:08 PM
02-14-2007 01:29 AM