Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Write Command function in AM 9848 HART interface tool kit

I'm using AM 9848 HART interface toolkit for my project. In that, I'm able to execute the read comments but not the write commands (PFA). For example, COMMAND 17 and COMMAND 18. Can anyone who has experience with these commands please support?

0 Kudos
Message 1 of 2
(388 Views)

Hello,

 

The problem failed to HART communication is related to LabVIEW code. You need to modify some part of code.

The request HART packet has the following structure:

Souhe_0-1760521709147.png

Please refer to this link : Highway Addressable Remote Transducer Protocol - Wikipedia

 

As you can see above, Data locates after Number of data bytes. But in LabVIEW code, Data locates before Number of data bytes.

 

What you need to modify is swapping the order of Data and Number of data bytes. By changing the input order, you can solve the problem.

 

Souha

0 Kudos
Message 2 of 2
(22 Views)