Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating dll from Labview for use in VB

In this document:
Accessing LabVIEW 6.0 Strings from Microsoft Visual Basic
It mentions you need to input a length for your string inputs. When I create my dll no len is available for string parameters only Arrays. Is this a typo?

Also, In my LV code I have a path input. Can VB work with this? I have already converted my LV code to accept path as string...just wondering if I really have to do that.
0 Kudos
Message 1 of 2
(3,217 Views)
Drugar,
Only string outputs (indicators) that are wired on the connector pane will show the length parameter selection when you try to build the dll.
I don't think VB accepts paths, so you should convert the path to string in LabVIEW before building the dll.
Zvezdana S.
0 Kudos
Message 2 of 2
(3,217 Views)