LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
ChristopheC

VBScript Node

Status: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.

Creation of a VBScript Node, similar to the MathScript Node, allowing to run a VBScript.

7 Comments
Knight of NI
You can already do this using ActiveX. See here for an example.
muks
Proven Zealot
May come handy.
ChristopheC
Active Participant

The limitation with the ActiveX example or using the Windows scripting host application is that you can't use variables that would be set in LabVIEW or return values that would be computed by the script. For self-contained / standalone scripts, it works fine.

AristosQueue (NI)
NI Employee (retired)
Christophe: I don't think that building a full VB parser/compiler is at all something worth spending massive resources on. The Mathscript node requires a lot of attention to keep it up-to-date and to generate good code. I suspect that VB -- a language that gets changes much more frequently than Mathscript -- would require even more attention.
muks
Proven Zealot

>>>I suspect that VB -- a language that gets changes much more frequently than Mathscript -- would require even more attention.

 

True and by the way we can learn to do the same thing in lv instead

GrantM
NI Employee (retired)

>> I don't think that building a full VB parser/compiler is at all something worth spending massive resources on.

 

I agree.  What if this were implemented like the other script nodes, where it simply interfaces to an external script server?  Does such a standalone server exist for VB script?

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.