I have just started using the 6008 with VB6 and managed to use the loadtask command to load pre-defined tasks and then display the data results on the screen.
 
1. I have used loadtask because when I tried to use createtask I could not create one with a FSE rather than differential input. Even though the help screen shows the variable DAQmx_Val_FSE is used as a parameter in DAQmxCreateVoltageChan the variable does no appear in the VB object browser so does not compile.
 
2. I would like to read all the channels into an array continuously to a VB form.
 
I tried the following but after about 2 minutes the system hangs...
 
Do While True
    DAQmxErrChk DAQmxLoadTask("channel1", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text1.Text = data(0)
    
    DAQmxErrChk DAQmxLoadTask("channel2", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text2.Text = data(0)
    
    DAQmxErrChk DAQmxLoadTask("channel3", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text3.Text = data(0)
    
    
    DAQmxErrChk DAQmxLoadTask("channel4", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text4.Text = data(0)
    
    DAQmxErrChk DAQmxLoadTask("channel5", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text5.Text = data(0)
    DAQmxErrChk DAQmxLoadTask("channel6", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text6.Text = data(0)
    
    DAQmxErrChk DAQmxLoadTask("channel7", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text7.Text = data(0)
    
    DAQmxErrChk DAQmxLoadTask("channel8", taskHandle)
    DAQmxErrChk DAQmxReadAnalogF64(taskHandle, 1, 10#, _
                    fillMode, data(0), 1, sampsPerChanRead, ByVal 0&)
    DAQmxStopTask taskHandle
    DAQmxClearTask taskHandle
    Text8.Text = data(0)
    Me.Refresh
Loop
 
Any help would be appreciated...
 
Peter