LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the Connection ID data type for TCP/IP???

Hi, all.

I'm making VIs for SMTP but just stacked by the Connection ID data type
for TCP/IP. I tried to connect several data types but line is still
broken...

Can somebody tell me what's the data type is and where is it on
palette???


Dan,


-------------------------------------------------------------------
Hiroshi Shimase (Oji Paper + Howe Sound Pulp & Paper)

TEL : 604-886-3579(home) 604-884-2491(office)
Home : hiroshi_shimase@dccnet.com or hiroshi_shimase@mac.com
Office: hshimase@mail.canfor.ca
WEB : http://www.geocities.co.jp/SiliconValley-PaloAlto/4268/
-------------------------------------------------------------------
0 Kudos
Message 1 of 3
(4,715 Views)
Hiroshi Shimase wrote:

> I'm making VIs for SMTP but just stacked by the Connection ID data type
> for TCP/IP. I tried to connect several data types but line is still
> broken...
>
> Can somebody tell me what's the data type is and where is it on
> palette???

A connection ID is a LabVIEW-specific datatype that acts as a handle to a
currently-open TCP/IP connection. You can get one by using either the "TCP
Listen.vi" or "TCP Open Connection" VI on the TCP/IP palette, assuming that
you've got a valid client to connect with.

If you want to compare your efforts with someone else's, there's an example
program in the National Instruments Example Programs Database that provides
a whole suite of SMTP VIs for communicating with a POP mail server:

http://digital.ni.com/explpr
og.nsf/websearch/e01256e8efc0d0b28625671e00245b42

Regards,
John Lum
National Instruments
0 Kudos
Message 2 of 3
(4,715 Views)
The easiest way to create the TCP connection Controls is to Place you VI
on the Block diagram, and then go to the terminal that you want wired
and Right Cklick and select Create Control.
As an alternative, If you want to use the Panel, Select Control-->Path &
Refnum--> Network Connection Refnum. The data 'Type' is specific to the
Network RefNum.
GL Rick
>
> Can somebody tell me what's the data type is and where is it on
> palette???
>
> Dan,
>
> -------------------------------------------------------------------
> Hiroshi Shimase (Oji Paper + Howe Sound Pulp & Paper)
>
> TEL : 604-886-3579(home) 604-884-2491(office)
> Home : hiroshi_shimase@dccnet.com or hiroshi_shimase@mac.com
> Office: hshimase@mail.canfor.ca
> WEB : http://www.geocities.co.jp/Silic
onValley-PaloAlto/4268/
> -------------------------------------------------------------------
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 3
(4,715 Views)