LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calling C# dll from inside of JavaScript

I have a LabView application that uses javascript to call into some database stored procedures. I was wondering if there is a way of calling a .Net dll from inside of the Javascript without having to register the dll as a COM server. Are there any examples out there that I can take a look at?
0 Kudos
Message 1 of 4
(3,302 Views)
That certainly seems like a roundabout way of doing things. Why do you need to use Javascript? Is this related to this question? If found this and this via Google.
0 Kudos
Message 2 of 4
(3,288 Views)
Yes it is kind of related to the previous post. I am not that familiar with LabView. I just know that some of the engineers use Javascript (instead of using the UI) to do some lightweight programming on some parameters before they can call into any stored procedures. I am looking into replacing the stored procedures with C# code and giving them a dll since maintaining stored procedures has not been easy. Since they are calling stored procedures from javascript I was wondering if they can use the dll from within their JavaScript in the same way.
0 Kudos
Message 3 of 4
(3,283 Views)
Well, if you have a .NET DLL, calling it from LabVIEW is quite easy. Examples ship with LabVIEW that show you how to do it. If you're going to take the Javascript route, then you obviously won't need LabVIEW, and the above links can help. Besides I would guess those engineers doing the Javascript coding would know that information.
0 Kudos
Message 4 of 4
(3,279 Views)