02-07-2007 07:37 AM
02-08-2007 05:43 PM
Hi HWJ,
There are many ways you can read the channels of individual FieldPoint
modules. You can use the FieldPoint driver to program the FieldPoint in different
programming languages, you can use the FieldPoint OPC Server to access the
different I/O points on the module, or you can even use Server Explorer to see
the data being read by the FieldPoint module. Please let me know if you
have any further questions, or if you would like me to expand on any one
of these options.
02-08-2007 05:57 PM
02-09-2007 08:57 AM
02-09-2007 09:52 AM
02-09-2007 10:09 AM
02-09-2007 03:27 PM
02-10-2007 05:38 AM
02-12-2007 07:26 AM
You really haven't given any real details about what you want to do. For now I'm going to assume that you are writing a program that can detect what modules are installed on a backplane. The file "fpbank.ini" is a text file that is updated when the .iak file is written to the cFP from MAX. If you will be configuring the cFP using MAX and then deploying the cFP with those modules, you could use the ftp copy to get a copy of the file. Or you can write an embedded routine that you call through vi server that reads the file and sends you the data.
This idea would not work if you planned to interchange modules on the fly. In that case I'm not sure how you would go about avoiding MAX completely.
You really need to spell out the big picture of what you are trying to accomplish and how you want the final application to work. One important piece of info is if the application is completely imbedded or will you be running a host application.
02-12-2007 09:03 AM
I'm sorry about not giving a clearer picture. Alright, my application will be running on a host machine. Basically it's a distributed system and I will be able to monitor the real-time controllers (cFPs) through the subnet programmatically. Together with the knowledge that I will be able to configure the range of the modules connected on the fieldpoint programmatically with the "configure range.vi" under the fieldpoint ehternet subplatte without using Max at all.
I am curious if there's any way for me to detect the names of the modules, the channels available on each respective module as well without Max and with that info displayed on the front panel, I am to select modules to configure. i thought of using the datasocket.vi but it seems i can acquire data connected to the I/Os but not reading the config info. similarly, i thought of opc server, but does not have in mind how i can go about it. Therefore, I hope to seek advice from experienced users of cFPs and LabVIEW if this will be possible and how I can do it.
Suppose this is not possible, then probably I have to call in IAK file to read the configuration info and ensure that the file is updated at all times.