11-20-2013 02:14 AM - edited 11-20-2013 02:16 AM
Good Morning Community,
In the document "NI-FBUS Communications Manager Function Reference Manual" the function call for basic use of a configurated FF Device is explained. I work with "NationalInstruments.Fieldbus.dll" NI USB-8486 to communicated with my FF-H1 devices, but I can only communicated if the node address is not equal to the default address (e.g. 248). The problem is that I can indeed read the node addresse but do not set, over the used DLL. Therefore my questions: If everybody knows, which DLL I must use to set the node address of an device and with which package NI distributed this Dynamic Link Library.
Thanks
Ebbe
P.S. Third question: Is everybody knows the name of the Function call to set the node address?
11-20-2013 11:29 PM
Of all the APIs provided by NI-FBUS Communication Manager, only VI API has functions like set node address/tag, while C and .NET don't provide such functions.
11-20-2013 11:36 PM
The reason that you can't communicate with the device with the address if it's 248 is probably because it's already taken by other devices?
11-21-2013 01:44 AM
No there is no other device on the bus segment. The USB device send the message that the device is available but you can't open the block objects because the device is on default address. This I would expect so since, according to FF specification is an object access on devices with base addresses not allowed. Therefore I'am look for a technical programming ability to change the node address NI USB-8486
11-21-2013 02:44 AM
Hi Ebbe Sand,
I'm sorry I could not understand what you explained (the English). But regarding changing address of USB-8486 programatically, you can do it with VI API provided by NI-FBUS Communication Manager.
By using SetAddress.vi, you can programatically do it.
11-21-2013 02:52 AM
Dear LewisL,
could you ask me where I can find the SetAddress.vi ?
With best regards
Ebbe_Sand
11-21-2013 02:55 AM
Hi Ebbe_Sand,
To use VI API you needs LabVIEW 2009-2012 + NI-FBUS software installed.
And in the block digram window of a LabVIEW window, it's under Industrial Communications>>Foundation Fieldbus>>FF Set Device Address.vi