LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Calls to .NET Constructor Node in Labview

Will multiple calls to a .net constructor node in Labview allow multiple calls to the methods in that assembly to happen in parallel? Here is a snapshot of what I'm trying to do.

 

 

 

0 Kudos
Message 1 of 5
(2,811 Views)

Assuming the .NET object was written correctly, it should not be a problem. Where did you get the .NET assembly from? Is it a commercial product or something somebody cooked up on thier own?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,796 Views)
It's something we've been working on internally. It's a wrapper for compiled matlab code. I just wanted to be sure labview wouldn't get in the way of parallel operation.

The trouble may be getting parallel operation out of the matlab code though. Our initial test seems to indicate making multiple calls only gets one instance of the matlab runtime.
0 Kudos
Message 3 of 5
(2,784 Views)
That is a real possibility - and is why I asked the question. Depending upon what the assembly is doing there can be a lot or pieces to the puzzle.

But that brings up a second question: Why are you bothering with the outside stuff at all? A MathNode in LV can execute m-file code directly.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(2,777 Views)

Mathnode needs a matlab license on the machine. This app needs to be deployable without a matlab license. We also looked at mathscript, but that is very limited and seems half-baked at this point. We already know we will use functions not supported by mathscript and even the things we tried were very annoying to try to get working. When things fail in a mathscript, there is very little indication of what the problem is.

0 Kudos
Message 5 of 5
(2,764 Views)