Thanks to all for the reponses. I'd like to answer the questions and also make sure I understand the replies. First, the time issue I am having occurs about every 50ms. This is how often the second (consumer) while loop is set to actually plot data (it checks the stop global every 2ms, but doesn't update the plot until 50ms has passed). So, it seems this behavior indicates that these loops are not running in parallel (the consumer and producer), which was explained by falkpl's response? I thought that I had designed simple producer/consumer loops, but it sounds like if they are both in the same for loop, this eliminates the benefit? In Shane's response, he seems to say that I could make each of these loops a subvi, but won't the same problem occur if I run them inside a for loop? It seems it may be possible to move the plotting (consumer) loop outside the main for loop. I am still not clear on whether I can make these two paralell or not.
Here's why I am running the joystick collection so fast: The task is run in an fmri scanner and the timing of 1-2 ms is critical to synching the behavoral and imaging data. Also, the timing resolution is important when you are talking about response times (though not neccessarily to 2ms).
Thanks again for the help.
Rebecca