02-07-2008 12:16 PM
02-08-2008 05:51 PM
02-11-2008 07:04 AM
The following is the subroutine used. Its giving the error on the SingleWrite commands. VB does not report any references missing in the project.
Sub cmdSetLEDVoltages_Click(Index As Integer)
Select Case Index
Case 0
CWAOPoint1.ChannelString = "1"
CWAOPoint1.SingleWrite cwnGlareLEDVoltage(Index).Value
CWAOPoint1.ChannelString = "0"
CWAOPoint1.SingleWrite cwnRefLEDVoltage(Index).Value
Case 1
CWAOPoint2.ChannelString = "1"
CWAOPoint2.SingleWrite cwnRefLEDVoltage(Index).Value
CWAOPoint2.ChannelString = "0"
CWAOPoint2.SingleWrite cwnGlareLEDVoltage(Index).Value
End Select
End Sub
02-12-2008 08:56 AM
02-12-2008 07:01 PM
02-19-2008 08:53 AM
02-20-2008 07:03 PM