The DLL is properly designed to be called by many different applications, at
the same time, without conflict. Only Labview is halting execution of its
other forms while in the DLL.
--
Regards;
Bruce Kingsley
"Rolf" wrote in message
news:akidi4$jiq$1@reader12.wxs.nl...
>
> "Bruce Kingsley" wrote in message
> news:akhgbd$829$1@slb3.atl.mindspring.net...
> > Other Labview windows will try to call the same DLL, just not the same
> > function in the DLL.
>
> Then it may be a problem or not! It all depends on the programmer of the
> DLL. If the
> function you call does not share any resources such as devices, global
> variables, or files
> with any of the other functions or the OS
itself, it should be save to
call
> it in a different
> thread. If it uses shared resources which are properly protected with
> semaphores or
> critical sections it should be save too.
>
> Otherwise setting the Call Libary Node to a different thread than UI will
> most likely
> result in crashes or data corruption after some time. It does not need to
be
> fatal
> immediately but can suddenly fail after several seconds, minutes, hours,
> months or
> years of execution 😉
>
> > The computer is not locked-up, just other Labview forms. In fact, other
> > windows applications, that use the same DLL, continue to operate
normally.
> > It's like Labview can only do one thing at a time. I tried put this
> Labview
> > form in another execution system, like "Other 1", but other Labview
> windows
> > still lock-up.
>
> You did something wrong! The Call Library Node has it's own setting which
> for
> safety reasons by default is set to UI Thread no matter in which thread
the
> VI
> itself is runn
ing. Configure the Call Library Node to be reentrant and it
> will execute
> in whatever thread the VI itself is executing.
>
> By the way in LabVIEW you use VIs (Virtual Instruments) and not forms 😉
>
> Rolf
>
>