These functions, which do not have an equivalent in NTX, use one of these methods to read 1, 2, 4, or an arbitrary number of bytes from an INtime shared memory object.
Visual Basic:
Function ntxReadRt1Byte( ByVal hSrc As Integer, ByVal pSrc As Integer) As Byte Function ntxReadRt2Bytes( ByVal hSrc As Integer, ByVal pSrc As Integer) As Short Function ntxReadRt4Bytes( ByVal hSrc As Integer, ByVal pSrc As Integer) As Integer Sub ntxReadRtBytes( ByVal hSrc As Integer, ByVal pSrc As Integer, ByVal pDst() As Byte, ByVal len As Integer)
Visual C#:
Byte ntxReadRt1Byte( Int32 hSrc, Int32 pSrc ); Int16 ntxReadRt2Bytes( Int32 hSrc, Int32 pSrc ); Int32 ntxReadRt4Bytes( Int32 hSrc, Int32 pSrc ); void ntxReadRtBytes( Int32 hSrc, Int32 pSrc, Byte[] pDst, Int32 len );
hSrc
pSrc
pDst
ntxReadRtBytes
only).
len
ntxReadRtBytes
only). The value read from the source (except for ntxReadRtBytes).
E_PARAM
Versions | Reference |
---|---|
INtime 3.0 | INtimeDotNet |
INtimeDotNet system calls, ntxReceiveRtDataXxx, ntxWriteRtXxx