View Single Post
  #1   Spotlight this post!  
Unread 21-12-2010, 14:28
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Dynamically parallel

Hi Folks,

I'm doing some tests of how quickly CAN functions execute in parallel as opposed to series.
I'd like to be able to execute a variable-sized array of commands in parallel just as easily as I would in series. This is what I'm having trouble with.

Here's how I'm trying to execute them in parallel:

I have a reference to a VI (in this example, the VI just pops up a dialog box and waits for a rendezvous). I'm using the rendezvous to make sure that all the instances have finished executing before I measure the time elapsed.

The trouble I'm having is that LabVIEW won't execute more than one instance of the VI simultaneously. It is a reentrant VI.
Attached Files
File Type: zip parallel test.zip (24.7 KB, 7 views)
__________________
-- Marshal Horn
Reply With Quote