Jump to content

cobra21

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

cobra21's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am designing a fast-scanning labview program which controls both a piezo stage and photon detectors. Threads for stage movement and data acquisition are completely separated without any data dependencies. But it seems like the stage moves quite randomly when data acquisition is in progress at the same time. For example, the stage was supposed to scan for 100ms per each line (which is implemented by a timed loop to fire triggers in a constant rate), but hardware response for that varies from 60 to 200. Then I redesigned a VI for data acquisition only and ran it with a compiled version of stage controller VI, which eliminated the problem. I wonder why this happens and also if it is possible to ensure time-strict multithreading without any upgrade from 8.20 or introducing real-time module. If not, can they be a solution? I will post the code upon request, but to briefly describe it, a thread for the stage is in a timed loop and for data acquisition in a for loop. Those two call library functions inside the loops. i heard from manufacturers of two devices that they are not USB demanding and should work well each other. My CPU is 2.3GHz dual-cure.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.