10-15-2010 03:30 AM
i want to save a plot from TDS3014 into my computer with program visual Basic,but as you know with Visual Basic,it's the data stream transfered between VB and scope,so i want to let VB call labview to realize it,but i don't know whether VB can call LV ,anyone know it?if do ,please give your advice,appreciated here!thanks
10-22-2010 12:22 AM
Hi~
Maybe calling a dll or an executable which is complied from LabVIEW is a good idea.
10-22-2010 09:15 AM
I'm not quite sure I understand the issue you're having with getting the data from the TDS3014 into VB. Your statement "but as you know with Visual Basic,it's the data stream transfered between VB and scope" doesn't make much sense. What do you mean by this? Have you installed NI-VISA? If so, that installs examples on how to use it from various programming languages, including VB.
You could call LabVIEW using its ActiveX server, or compile some LabVIEW code into a DLL, as suggested, but that seems like an extra (and long) step, especially if the end goal is to get and use the data in a VB program.
If you are wanting to do this in VB, a better forum to ask your question would be the Instrument Control forum.