I'll answer your LabVIEW question about the DLL. The VI that reads the DAQ board needs to have an indicator on it's front panel for the DAQ output. When you create the DLL, on the source file tab, you click on the Add Exported VI button to select the VI and you'll automatically get the Define VI Prototype window. Next to the parameters window, you'll see a little + button. Click on this to add parameters or arguments to the DLL prototype. It will only add existings controls and indicators of the VI. The little window at the bottom shows the Function Prototype that you need in whatever app you want to use the DLL in.
If however, you want to call NI-DAQ functions directly in VB, all of those functions are detailed in the NI-DAQ documentation and you'd prob
ably be better off doing that. LabVIEW calls the NI-DAQ DLL and a VB app that calls a LabVIEW DLL that in turn calls the NI-DAQ DLL doesn't seem the most effecient method.
For help in VB coding, please post to either the VB or DAQ forum but if you have a specific LabVIEW question, feel free to post here again.