<br>
Hello,

To communicate with a CAN/DeviceNET bus you will need an interface
card in your PC.  NI has such cards along with LabVIEW VIs:

http://sine.ni.com/apps/we/nioc.vp?cid=1329&lang=US
http://sine.ni.com/apps/we/nioc.vp?cid=1311&lang=US

To communicate with Modbus, you will NOT need any special cards but
you do need software drivers for it (you'll obviously need an Ethernet
card for TCP/IP and Serial port for RS232).  There are several options
for these drivers, however:

1.  Write your own driver VIs.  You'll basically implement the Modbus
protocol in LabVIEW.  Modbus is a simple and open protocol.
2.  Try to search the Net for such existing VIs.  I believe someone
has already written such Modbus VIs.
3.  Use the Industrial Automation OPC Servers suite from NI:
http://sine.ni.com/apps/we/nioc.vp?cid=4584&lang=US
4.  Use any third-party OPC Server for Modbus.

NOTE: in case you opt 3 or 4 above:  though you may use DataSocket in
LabVIEW as an OPC Client, you may want to consider LabVIEW-DSC which
has a built-in OPC Client, and hence better support for OPC.

Hope this gives you some options.

Regards,

<i>Khalid  </i>
<br>

Reply via email to