From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use LabWindows TCP to communicate with a dedicated port while accessing the network on another port?

I've been tasked with determining if we can send/receive (at high speed) data packets from one processor to another using the LabWindows 5.5 TCP software to configure a dedicated port. At the same time we need to have a connection to our ethernet network with DHCP. I've looked through current discussions but didn't find exactly this type of question. Any help will be greatly appreciated. Thanks.
0 Kudos
Message 1 of 5
(2,962 Views)
Hello,
If you are trying to send/receive raw packets through Ethernet, the best way to accomplish it would be to use a third party library, like Wsock32.lib, which is a protocol-independent interface for network programming. Our TCP functions are high level, and does not let you do such a low level manipulation.

BTW, if you want to use SDK functions in CVI, please check out the KnowledgeBase:

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/4d03093f2079abdd86256969006e9ecc?OpenDocument

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 2 of 5
(2,962 Views)
The link below you suggested for using SDK functions no longer exists. Is there
another one?

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/
4d03093f2079abdd86256969006e9ecc?OpenDocument
0 Kudos
Message 3 of 5
(2,962 Views)
I don't think we want to send the data over the ethernet connection, we just want to be able to set up the data communication on a separate port of a regular computer that is already connected to our network (for accessibility by other computers on the network). Please let me know if I am misunderstanding about the purpose of this "port" usage and if you have a link to some further info that explains it, even better. Thanks.
0 Kudos
Message 4 of 5
(2,962 Views)
How would you use this third party library?
0 Kudos
Message 5 of 5
(2,962 Views)