05-07-2008 10:03 AM
05-07-2008 10:26 AM
Hi smm,
@smm wrote:
...Can anyone help me to make it truly parallel. ...
05-07-2008 10:29 AM
05-07-2008 10:42 AM
05-07-2008 11:11 AM
05-07-2008 01:17 PM
05-07-2008 01:19 PM
05-07-2008 01:26 PM
Y also like you mentioned there are DAQ tasks taking place on those lines in the loops, structures
05-07-2008 01:31 PM
smercurio_fc wrote:
Well, there you go then. You can only have 1 "read" task for one device active at a time. Your "78652-manual_EDIT" is set up in parallel, but each task can only execute once the currently active "read" is done. Since the "7862SUBVI_manualmode" VI is dependent on data from the "78652-manual_EDIT" VI, it can only execute once the data has been read. You can mitigate this somewhat so that instead of 6 separate reads you perform 1 read to get a 2D array of booleans and then index out each one to your 6 instances of "7862SUBVI_manualmode". The "7862SUBVI_manualmode" VI, however, contains additional DAQ tasks so you may get some blocking in there as well.
What I am trying to say is, you said I should create an array and perform the reads. I had done that initally. But the subvi contains DAQ tasks and using the value after indexing arrays is leading to errors.
Also the P3/0-3.5 ets are port nos and lines. So i don't have lines of a function in a straight order together. The indexing also makes DAQ writes difficult to implement.
05-07-2008 01:56 PM