05-03-2008 11:58 AM
05-03-2008 02:39 PM
Have you considered multiple instances of the FTP connection vi?
Just for fun I wired two VI's that launch multiple instances of random number generation.
I suppose that instead of random number it can be FTP connection
05-03-2008 02:59 PM
05-04-2008 04:01 AM
Hi LyLee,
I think you want to make a reentrant VI for handling a single thread, then launch as many copies as you need (using VIs server.)
Cheers.
05-04-2008 04:13 AM
05-04-2008 08:20 AM
05-04-2008 08:58 AM - edited 05-04-2008 08:58 AM
The difference is that you use templates and the suggestion was to use VIs which have been set to be reentrant. Templates spawn a completely independant VI for each load operation which would be in terms of comparison to C more like a new task each time. Reentrant VIs just create a new data space for each instance but let thv e rest remain unspawned. This means you do not really have front panels and such for the reentrant instances but for a background thread that is perfectly fine once you debugged it properly.
@mishklyar wrote:Hi tbd,Pnt what is the difference between vi's that I attached and VI server? Probably I miss something...attach here vi's for 8.0 version
05-04-2008 12:41 PM
Thanks rolfk ,very useful answer, (unfortunately I can't vote yet
).
Where one can learn such a details?
05-04-2008 02:32 PM
Start as NI Application Engineer and work 5 years in there, then go to an alliance member and work another 12 years there, in all that time participate in various discussion groups such as Info-LabVIEW, NI forums, LAVA and keep being curious and inquisitive all this time and you should be about there
@mishklyar wrote:
Thanks rolfk ,very useful answer, (unfortunately I can't vote yet
).
Where one can learn such a details?
05-04-2008 05:29 PM
rolfk wrote:The difference is that you use templates and the suggestion was to use VIs which have been set to be reentrant. Templates spawn a completely independant VI for each load operation which would be in terms of comparison to C more like a new task each time. Reentrant VIs just create a new data space for each instance but let thv e rest remain unspawned. This means you do not really have front panels and such for the reentrant instances...
Message Edited by rolfk on 05-04-2008 03:58 PM