LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and ADVANTECH ADAM 5000/TCP module

 Hello,

    My problem is as follows, I use modules Advantech ADAM 5000/TCP (Ethernet) even principle that NI Compact Fieldpoint and I must reach these modules via Labview ( I do not want to use a  OPC server ). In the handbook Advantech ADAM 5000/TCP there is possibilté to reach this type of module by orders of the ASCII Command type

Example of order: $01M (Cr)  or

$ = separating

01 = 2 characters Hexadecimal

M = request of the name to the module of order

(Cr) = carriage return

How in Labview then I to use this type of order by using an OPEN TCP --> TCP WRITE --> TCP READ --> TCP CLOSED.

or any other method for reading information starting from LABVIEW and of a module ADVANTECH ADAM 5000/TCP ( without using a OPC server ).

Somebody can it help me please.

0 Kudos
Message 1 of 4
(5,996 Views)
Hi,

From a NI point of view we cannot provide you with another solution besides using the Advantech OPC server and connecting to it through datasocket.
Advantech has several drivers written in LabVIEW available on their website. I would redirect this question to the Advantech support.

Another solution could be, but I'm not sure about this because I don't know the instrument, to write your own instrument driver by using NI-VISA. This is explained in the links below.

http://digital.ni.com/public.nsf/websearch/80C28CC795611E4A86256AB100209521?OpenDocument

http://digital.ni.com/public.nsf/websearch/D7D8E3E1B682022286256D4A00771A52?OpenDocument

If your device is compliant than It's a simple case of writing the correct commands to the device.

Regards.

JorisV
0 Kudos
Message 2 of 4
(5,990 Views)
Look for some examples that use Modbus TCP over etherent that talk directly from a labview vi. These will show a similar concept.
0 Kudos
Message 3 of 4
(5,985 Views)

Here is a link to a modbus ethernet llb file in 7.0 format.

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=144522&query.id=35841#M144522

0 Kudos
Message 4 of 4
(5,976 Views)