01-16-2006 09:12 AM
01-16-2006 09:26 AM
@Graziano wrote:
Hi Everybody!
This is not the silly question "how to switch on cFP-2020 LEDs...". I'm trying to access cFP-2020 LEDs without referring to .iak file, and without using fieldpoint I/O point controls.
More in general, if I develop a VI, in which I have an cFP-2020 at address, say 1.0.0.1, I'll have I/O points such as
@ FieldPoint\FP @ 1_0_0_1\cFP-2020 @0\LED A
and if I want to download the same application on cFP-2020 at address, say 1.0.0.2, I'll have to manually change all I/O points. This is not practical, specially in my case, in which my application is going to be downloaded on several cFP by someone else, who doesn't know in detail Fieldpoint, MAX and LabVIEW, and I'd like to make simpler his/her work.
I'd like to be the most independent as possible from .iak file.
Any hint is apreciated!!!!!
graziano
01-16-2006 09:54 AM
01-16-2006 12:51 PM
01-16-2006 01:41 PM
01-17-2006 01:24 AM
You may find something interest on this web page
Communication Techniques in Fieldpoint and Logos
AlessioD
01-17-2006 02:42 AM
01-17-2006 02:58 AM
01-17-2006 03:11 AM
01-17-2006 09:46 AM
I don't think such an interface exists and since I don't remember using the serial port on a FP, I don't know what the difference is. I suppose that with a serial port, I would just say "COM1".
You can implement the string method by using something like this example LV2 global. You first set the general name at the beginning of the program (from a configuration file, or if possible, through a VI which returns this data (the FP Get Configuration Info VI might be able to help you there)). Then you set the additional name at each point during the program. There can obviously be other methods, but that's just an example.
BTW, in general, it's very risky to use FieldPoint as the root for your I/O points, as it is just the last iak file saved in MAX.
Inside the I/O configuration screen there is a second tab where you can give other names to iak files, which I think is strongly recommended.