For Serial resource (Serial COM port) I enable VI_EVENT_ASRL_CHAR event. (After this event I'm checking for available data in buffer with reading attribute VI_ATTR_ASRL_AVAIL_NUM and reading all data from buffer)
For TCP/IP I'm connecting to i.e.'TCPIP0::192.168.200.200::54321::SOCKET' resource. So how I could get ant event which will tell me about available data in receiving buffer?
I need an event because I'm receiving binary data without termination character and with variable data size.
I'm using PYTHON, ctypes and visa32.dll