Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Controling an FP-PG-522

I'm looking to have an output on a PG-522 follow an input from a AI-110 through Lookout 4.5 (19). We are monitoring an AGC voltage from a microwave receiver with an FP-AI-110. We want an output on the PG-522 to change frequency as the AGC value changes. Can anyone send sample code to show how this can be done? All of this can be done in the server application. Thanks, Mark.

m_ewart@yahoo.com
0 Kudos
Message 1 of 7
(3,779 Views)
Mark,

I can't send you any sample code, but I can set you in the right direction. First of all, we recommend that you use the OPCFieldPoint object in Lookout. In order to change the frequency programmatically, you will need to create items in FieldPoint Explorer for the on-time and off-time settings for each channel. By increasing and decreasing these settings, yo ucan effectively change the frequency. All you have to do is make connections from a channel on the AI module to the on-time and off-time and add some scaling in the expression.

Regards,
Michael Shasteen
Applications Engineering
National Instruments
www.ni.com/ask
1-866-ASK-MY-NI
0 Kudos
Message 2 of 7
(3,779 Views)
Thanks for the responce. We have created the OPCFieldpoint object in our server process. We can see the two FP-1601 modules and their attachments, but not the three FP-1000 RS-232 moduels. We have refreshed the object, and restarted the process, with not change. We also created an OPCClient to see if that worked or needed to be present to communicate, but it made no change. Any thoughts? Thanks, Mark.
0 Kudos
Message 3 of 7
(3,779 Views)
Make sure you have saved all your FieldPoint modules in the same IAK file. Also, you must save and close FP Explorer to configure the OPC server. I would also recommend testing using Server Explorer. Check to see if all the items are available and can be read/written.
0 Kudos
Message 4 of 7
(3,779 Views)
Each FP-1601 or FP-1000 is in it's own IAK file. This makes house keeping easier. We can read and write to each module with explorer and Lookout (with exception to FP-PG-522 which is explorer only). We can't see any of the serial modules with the OPC.
0 Kudos
Message 5 of 7
(3,779 Views)
You must have only one OPC configuration, and thus one IAK file, at a time. Each ethernet module and each serial network will be listed as its own resource.
0 Kudos
Message 6 of 7
(3,779 Views)
This will be a problem as I would have to "correct" each connection to the remote modules (264 points). This would be a distant option.

We need to get this AGC reading in a form that our field techs can peak a transmit antenna without intervention from the receive site. Is it possible to send oneway data (RS-232) from a server process to a client process? This way I could send the FP-AI-110 signal to a laptop in the field showing the AGC voltage. Again it needs to be oneway, as I have no return path to the server process.

Thanks, Mark.
0 Kudos
Message 7 of 7
(3,779 Views)