Chapter 5
Accessing cFP-21xx Channels from PC Applications
©
National Instruments Corporation
5-5
cFP-21xx and cFP-BP-x User Manual
The I/O Module Folder part of a URL provides the sub-folder from which
you access all data items from a specific FieldPoint I/O module. The I/O
Module Folder part of a URL has the following format:
\\[
machine]\FP\[n]
where
[
n]
consists of the numeric address and name of the I/O module. The
address of the I/O module is an integer from 1 to 8, where 1 represents the
I/O module closest to the network module and 8 represents the I/O module
farthest from the network module. The folder
\\130.164.44.8\FP\1AI
indicates the I/O module closest to the network module, and the AI means
that it is an analog input module.
The Channel Data part of a URL provides the scaled data value of the input
or output value for a specific channel. The Channel Data part of a URL has
the following format:
\\[
machine]\FP\[n]\[channel]
where
[
channel]
is a two-digit decimal number between 00 and 15.
The following figure shows a DataSocket URL with Channel Data.
The locator is read as channel 0 (00) of the analog input module in slot 1
(the slot closest to the controller) of the backplane.
Publish Data VI
You can use the Publish Data VI on the FieldPoint palette to create items
and groups that are published using the National Instruments Ethernet
(Logos) protocol. A host computer or cFP-21
xx
can link to these items
using DataSocket or using the native connection capabilities of Lookout
or the LabVIEW DSC module. The Publish Data VI creates data that other
VIs and applications can browse and read, write, or read/write from the
cFP-21
xx
. These items are accessible in MAX and the FieldPoint OPC
server.