FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

.net block tag rename

I am trying to write a program using the NI .NET framework to rename the function blocks in a device.

What should be the sequence of steps I need to take to do this?

I know that the block tags are stored as "read-only" in the BLOCK object so that's out, and that the parameter I want to change is at VFD index 400.BLOCK_TAG, but I can't seem to figure out the best method to use to rename the blocks!

Thanks!

 

0 Kudos
Message 1 of 6
(9,035 Views)

NI-FBUS API does not support Set Tag operation.

 

Set Tag operation includes a series actions and can only be performed using NI-FBUS Configurator software. 

 

 

 

Feilian (Vince) Shen
0 Kudos
Message 2 of 6
(9,024 Views)

I understand that, but I need a method that can be done by production technicians without any programming or keystrokes on their part. This requires a "smart" program to keep up with our own manufactured Foundation fieldbus devices. Configurator doesn't have any hiden scripting capabilities does it? That might be a way to do this ( "kluedgy" thiough!)

Larry 

0 Kudos
Message 3 of 6
(8,999 Views)

You can use NI LabVIEW to perform Set Tag operations automatically. This is also the only way to set block/device tag besides Configurator.

 

NI-FBUS provides LabVIEW VIs, which can be used to create your FF LabVIEW application.  The following VIs can  be used.

FF_SetBlockTagByTag.vi

FF_SetBlockTagByOrdinal.vi

 

For more detail information, please refer to Windows Start>>Programs>>National Instruments>>NI-FBUS>>NI-FBUS VIs for LabVIEW

Feilian (Vince) Shen
0 Kudos
Message 4 of 6
(8,986 Views)

Sorry, but the path you quoted doesn't exist on my computer. I have no Windows Start>>Programs>>National Instruments>>NI-FBUS>>NI-FBUS VIs for LabVIEW path. Where else can I get these VIs?

Larry Gremillion

KTEK Corp. 

0 Kudos
Message 5 of 6
(8,982 Views)

NI-FBUS LabVIEW VIs is not a default installation component. You can install it manually.

 

Please run NI-FBUS installer again, select Custom, then select NI-FBUS VIs for LabVIEW.

Feilian (Vince) Shen
0 Kudos
Message 6 of 6
(8,967 Views)