Combining ADC signals and TCP states

Forum for software developers to discuss BCI2000 software development
Locked
boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Combining ADC signals and TCP states

Post by boulay » 29 Jan 2014, 13:29

Hello all,

I have a medical device with analog output and it also has a TCP server that gives information about the procedure in response to messages. I will acquire the analog output with a USB DAQ, and I would like to get the information from the TCP message responses and store it into state variables. I would like the module to keep the DAQ and TCP client separate (to facilitate switching to a different DAQ in the future). How can I accomplish this?

The USB DAQ part is easy enough. There is plenty of documentation and several examples how to do the BufferedADC in a source module. What I don't know is how do I hook up the TCP aspect? Do I set that up as another filter? What interface class should I inherit?

Thanks,
Chad

Locked

Who is online

Users browsing this forum: No registered users and 1 guest