04-15-2009 11:30 AM
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!
04-16-2009 04:59 AM
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.
04-20-2009 10:30 AM
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
04-21-2009 04:36 AM
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
04-21-2009 09:05 AM
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.
04-22-2009 02:59 AM
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.