Hi Mads,
I want to communicate with several serial devices but the number of them
is variable. On this thread you suggest using templates in order to run
several subVIs in parallel. So, First I created a VI from template that
manages the serial communication for one device and in other VII opened a
reference to this template and I could run it and set up values for its
front panel.
As I saw that this worked for one device, I opened 10 references to the
same VI template in a For loop in order to connect more devices but I'm
getting a delay of 10 seconds.Probably somebody could thing that this
delay is not too much, however I'm also going to need to run in parallel
between 3 to 30 subVIs to save the data. So, at last I think this
technique could bring me a lot of delays before my program starts
acquiring and saving data.
Could you tell me if there is a way of reducing these delays or another
method to do that with a minimum delay?
Note: I reduced the size of my VI template and changed the properties of
the subVIs that are included in the VI template but it
doesn't improve the performance of my program.
Best Regards, dtp.