LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get a list of FieldPoint modules connected to your system from within LabVIEW?

I need to run a single compiled LabVIEW program on multiple test systems.  The systems use FP-1601 or FP-2000 modules.  I would like to put a piece of code in there that will tell the program to use a particular .iak file based on which module is detected.  Is there a way to do this?  any other approaches to this situation?

Thank you,
Charlie
0 Kudos
Message 1 of 5
(3,196 Views)
MAX presumably uses a proprietary protocol (Logos?) to talk to remote units and detect what their type and model is.

I can think of several options:
  1. That part of the protocol is documented somewhere and you can find it.
  2. You can use something like Ethereal to log the UDP packets being sent to see if the protocol is a simple one and if you can replicate it. The problem with this is that it could potentially change.
  3. You can write a custom piece of code which will run on the FP and publish whatever data you need through UDP. When you start your program on the PC, you listen for those UDP messages.
  4. You store the data in a configuration file. Then, the executable itself is not changed and you just need to change the config file. In fact, the config file can hold the direct path to the IAK file if you want. This is probably the preferable option, but it requires some human intervention for each system.

___________________
Try to take over the world!
0 Kudos
Message 2 of 5
(3,173 Views)

Hello Charlie,

There is no way to programmatically detect new modules.  Currently, the only supported method for discovering new FieldPoint devices is through the "Find Devices" function in MAX.

Also, since iak files are specific to FieldPoint, you may get more response to such a question on the FieldPoint discussion forums.  I would recommend posting there to see if any other FieldPoint users have developed their own workarounds for this issue.

Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 3 of 5
(3,157 Views)
Thanks for the replies.  I will look into the protocol and the FieldPoint Discussion Forums.

Smiley Happy
Charlie
0 Kudos
Message 4 of 5
(3,153 Views)
Charlie,
 
Although it's "Unsupported", you can use the "Get FP Channel Info.vi".  It's in the Configure Range.llb in the vi.lib->Fieldpoint->Configuration folder.  It will tell you the name of the module in a specific location (0 for the processor) and you can load the correct I.A.K. based on that. 
 
Mike
0 Kudos
Message 5 of 5
(3,137 Views)