LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with HART devices

Hi , I am trying to communicate with HART positioner from Labview. I am using LV 8.6 and HartOPC server for communication.

But i am not able to write thro the HartOPC server.

 

Is there any way to write my commands without using extra hardware. I dont want to use NI DAQ 😞

 

Please help me with this

0 Kudos
Message 1 of 11
(4,003 Views)
How are you communicating with the OPC server; using datasocket or LabVIEW DSC?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 11
(3,999 Views)

Sorry i did not mention that..

 

I am using Datasocket

0 Kudos
Message 3 of 11
(3,991 Views)

Well, you can definitely communicate to your HART OPC server using datasocket without using additional hardware or software.


kaush wrote:

But i am not able to write thro the HartOPC server.


What exactly have you tried? Have a look at the following KB article and the links that are mentioned at the bottom of that article:

How Do I Connect to an OPC Server Using DataSocket?

 

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 4 of 11
(3,986 Views)

Thanks for the information.

 

I shall look into that.

Right now i am using NIDAQ 6036E to write. I am using Additional hardware which converts 0-10V to 4-20 mA. 

 

0 Kudos
Message 5 of 11
(3,980 Views)

Hi,

 

I read that doc. The problem is not with the datasocket. My Hartopc server is not allowing write. Is there any other way to communicate with the devices.

 

Thanks in advancve.

0 Kudos
Message 6 of 11
(3,974 Views)
Well, what other protocols does your device support? And, do you have the command structure for those protocols? At this point, I would recommend that you contact support for Hart to be sure of what's going on.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 7 of 11
(3,946 Views)

I have different actuators which can support PROFIBUS and FF . For FF i can directly use VI's of NI and NIFBUS Hardware.(By creating XML file)

I am facing problems with HART and PROFIBUS.

 

For PROFIBUS i have Softing's interface card. But i dont know how to communicate with labview directly.

 

 

0 Kudos
Message 8 of 11
(3,936 Views)
Please someone reply for this.
0 Kudos
Message 9 of 11
(3,914 Views)

kaush wrote:

Hi,

 

I read that doc. The problem is not with the datasocket. My Hartopc server is not allowing write. Is there any other way to communicate with the devices.

 

Thanks in advancve.


I have not worked with that particular OPC server but with all of the OPC servers I have had contant with they had a configuration utility that let me define read/write access as well as update rates etc. If you were one of my coleges calling in from site, I'd ask you to start looking for that utility and either read the manual or start some "fat fingering".

 

If you have errors being returned by the DataSocket write operations, chace those down first.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 10 of 11
(3,893 Views)