Port_W &H30B, DO_1 这是什么意思
Public Declare Function Port_R Lib "dlportio.dll" Alias "DlPortReadPortUchar" (ByVal Port As Long) As BytePublic Declare Sub Port_W Lib "dlportio.dll" Alias "DlPortWritePortUchar" (ByVal Port As Long, ByVal value As Byte)
Public Sub TD_by_1()
Port_W &H303, DO_4
Port_W &H30B, DO_4
End Sub
Public Sub TD_cfZP()
Port_W &H303, DO_0 + DO_4
' Port_W &H30B, DO_4
Call D_A(3.8)
'Port_W &H303, DO_1 + DO_4
End Sub
Public Sub TD_pf()
Port_W &H303, DO_1 + DO_4
Port_W &H30B, DO_4
Port_W &H30B, 0
End Sub
Public Sub TD_pfZP()
Port_W &H303, DO_1 + DO_4
Call D_A(3.8)
End Sub
Public Sub TD_pfm()
Port_W &H303, DO_7
End Sub
这是一个NI数据采集卡vb6.0 模块程序的一部分,不明白这是什么意思?比如:
Port_W &H303, DO_1 + DO_4
Port_W &H30B, DO_4
Port_W &H30B, 0
这三条语句,各是什么意思,能实现什么功能?请大神指教,谢谢,不胜感激!