FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change pdTag, using nifWriteObject

I've got an application that I wrote in CVI that will communicate with a Foundation Fieldbus device, and allows the user to read and edit values of parameters in some of the function blocks.
Recently the need arose to change the device tag. How do I do this? I know it requires use of the nifWriteObject call, but everything I try resuls in a -2 error.

I'm sure this can be done, as the Fieldbus Configurator software allows the user to change the tag, and I assume Configurator, uses the same API calls.
Any suggestions will help.
Thanks
0 Kudos
Message 1 of 3
(7,130 Views)
Actually there is a special library for NI-FBUS Comminmications Manager including additional API functions, which support "Set PdTag", "Set Address" and "Clear Device" as well as other powerful features.

But it is not free, you can contact "fieldbus.support@ni.com" for more information about this library.
0 Kudos
Message 2 of 3
(7,130 Views)
Fieldbus, what is the name of the library and how much does it cost?
0 Kudos
Message 3 of 3
(7,130 Views)