You say “dedicated computer”. Desktop system? Embedded system? Does it
have a network card in it? Do you have TCP/IP or QNet or both configured?
Will your data acquisition program suffer if you shove a network card in and
start blasting data across it (missing interrupts and so on)? (By the way,
a “target” would seem to imply an embedded system)
If you have TCP/IP set up, you need to read up on how to use it (from within
C, we can suggest references). Then it’ll be obvious exactly what to do.
If you have QNet set up, you need to read up on QNX’s inter-process
communication or messaging (send/receive/reply, channels and so on,
specifically in the “across the network” environment - QNX can suggest
references). Then it’ll be obvious exactly what to do.
If you have neither set up, you need to set one or the other up.
Pardon me if I took too much of a rudimentary approach, just a wild guess
since I didn’t seem to find enough information to place your question in
-Warren “Seek, and you shall find more questions” Peece
“Charles” <email@example.com> wrote in message
Networking question, I’m looking for any input or ideas here. Should I
using C++ code, or Perl, or Python? My task is as follows:
We have 2 computers.
I have a C++ thread running on a dedicated computer. This computer’s
sole purpose is to get an interrupt, get analog input data, process it
(like, multiply it times 5), and write that value to analog output.
Now I would like to have this thread buzzing away on my dedicated
and change that multiplication value of 5 to, say, 8, using the other
computer, and I really want to use the Ethernet port! I would also like
dedicated computer to relay a message back to the supervisory computer,
“ok, analog now reads 3.348” or something.
Thanks for any help you can offer!