Hi yangafreet,
VBS is short for Visual Basic Script. It is an easy to learn scripting language with somewhat limited functionality (it is a subset of the VBA you find as a macro language in Microsoft Office applications).
We are using VBS as a scripting language to automate and customize DIAdem. There is a Teachin Mode available to record scripts while working with DIadem, you can use the Microsoft VBS debugger to debug scripts and you can create a so called scriptable user dialog (sud) with the sud editor in DIAdem, that is a customized user dialog which can call scripts.
Ususally you would not need to include VBS code into LabVIEW, since LabVIEW is a programming langue itself, but of course there is an exception and sionce you posted that question in the DIAdem thread it may apply to you:
If you want to start a VB Script that is executed in the DIAdem environment there are two ways in whioch you can do that. Firstly, you can use the functions of the
LabVIEW DIAdem Connectivity Toolset. That is a set uf VIs which allow you to call and control DIAdem from LabVIEW. You can transfere Data as well as call DIAdem commands and scripts. You can download the toolset for free.
Secondly, you can use the
DIAdem report Express VI which installs automatically with LabVIEW. There is one example that shows you how this VI can be used to call a VBS, please refer to .\National Instruments\LabVIEW 8.5\examples\reports\DIAdem\DIAdem Report Express VI.llb\Using an AutoSequence.vi
Message Edited by IngoS on 08-27-2007 09:30 AM
Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany