07-01-2013 01:34 AM
Iam using PXIe 8115 module for communicating an Instrument.I want to use ethernet communication.So Please suggest me Which is the Commom protocol UDP or TCP/IP??Can i use serial protocol?
Solved! Go to Solution.
07-01-2013 02:21 AM
Whats the instrument? I have used tcp for talking to instruments as well as gpib and serial. As you have said ethernet i would guess you want to be using tcpip.
07-01-2013 05:17 AM
Instrument is connected to anybus.So i want to communicate PXI with anybus.If Any TCP/IP sample code is there can you please share with me?
07-01-2013 05:19 AM
in labview open the help menu then select find examples. On the left there is a search box, type tcp.
07-01-2013 05:40 AM
Hi Sagar,
You have to build PXI-Real Time code.
Procedure to develope RT code
1. Create New Blank Project
2. Right Click on Project tree and select New--> Targets and Devices
3. Select your PXI System and Configure your project with all available options.
4. TCP sender/receiver code develop in PXI and build EXE and Deploy
5. TCP receiver/sender code develop on PC and send/receive data on PC.
You can build simple read and write code and check the data exchange between PXI and Host PC
07-01-2013 06:49 AM
07-01-2013 07:20 AM
Do you have the real time version od the 8115? if so i would follow himanshu's advice. If not what are yout trying to talk to? it will say in the manual. I suspect it would be tcp so have a look at those
08-07-2013 04:03 AM
Hi Sagar,
National Instruments provide us the open platform with all protocol support. It's completely depend on us based on our application requirement that what method we can choose to develop a application. You can go with any protocol or functions supported by LabVIEW like TCP/IP, UDP, Network Shared Variable, Network Streams and a lot more.
Here over UDP TCP/IP come with a additional advantage that you can give your costumer a surety that complete data has been sent successfully(Acknowledgement).
You can check differences here