LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET DLL in parallel

Hey y'all,

          I was recently playing around with MatLAB Scripting nodes in LabVIEW when I discovered there was no way to run 2 in parallel.  I then tried to find a way to compile, and came across .NET Assemblies, however, after a bit of testing, I'm pretty sure I can't run these Assemblies in parallel.  I tried making it reentrant, starting it asynchronously, constructing a new reference each call, but nothing seems to allow them to run in parallel.  Is this true?  Or am I missing something that would allow me to run this dll in parallel with another instance of itself?  Thanks!

 

(Sorry can't really provide example code as it's a pretty complicated installation process to get the DLL to work, but my test setup right now is to have a VI launch an async VI that opens the reference [constructor node] invokes the method, and then closes the reference.  After this in the main VI I then try to run another instance without it being async, and it always gets caught up till the first one finishes...)

0 Kudos
Message 1 of 2
(477 Views)

Here's a couple of pics since my explanation probably wasn't the best:

EthanHenry_0-1705974522461.png

 

EthanHenry_1-1705974544822.pngEthanHenry_2-1705974566388.png

EthanHenry_3-1705974587943.png

testRP should take ~1.5 minutes, while testNET should only take a couple of seconds.  However when running, only finishes once testRP finishes

 

 

0 Kudos
Message 2 of 2
(476 Views)