LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP and LabVIEW RT

Hi all,

I am using LabVIEW RT 5.1 and a PCI6030E/7030E real time card. I would like
to have the host PC wait to receive data from the RT card. I can trigger
the TX on the RT card with a boolean, but what address do I enter for the
TCP Open Connection? If i use "localhost" it is talking to itself, if I use
an ip number, i get an error that the address was ill-formed, if i use the
"computername" i get timeout errors. Any suggestions?

--dexterL.
0 Kudos
Message 1 of 2
(5,306 Views)
Dexter,

As you may know "DAQ::1" is the TCP address of the 7030 cards RTOS, when
connecting from the host PC. I don't know off hand what the Host PC's TCP
address is, with respect to the RTOS. To find this out run the example RT
TCP Communication VIs that ships with LVRT (TCP-RT Engine.vi and TCP-Host
PC.vi). On the "TCP Listen.vi" (in TCP-RT Engine.vi) there is a terminal
called "remote address". Capture this address when a connection is established
and you will have your answer. A different approach to your main task is
to have TCP Listen.vi on the RT card and establish connections from the host
PC. Basically you would have the host PC ask LVRT if the task was done,
instead of waiting for it to tell you it was done. Switch the server to
LVRT instead of the ho
st PC.

-Jim

"Dexter LaGrand" wrote:
>Hi all,>>I am using LabVIEW RT 5.1 and a PCI6030E/7030E real time card.
I would like>to have the host PC wait to receive data from the RT card.
I can trigger>the TX on the RT card with a boolean, but what address do
I enter for the>TCP Open Connection? If i use "localhost" it is talking
to itself, if I use>an ip number, i get an error that the address was ill-formed,
if i use the>"computername" i get timeout errors. Any suggestions?>>--dexterL.>>
0 Kudos
Message 2 of 2
(5,305 Views)