FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting LV with Fieldpoint

Help!

I am a seasoned LV developer that has to travel to a job where fieldpoint is installed and waiting for my software. I have never used FP before and do not know what I need to interconnect my software to the customers I/O. I am told that it is installed as a network interface and that the test software is working. They have a FP-TC-120 and an FP-AI-100.

Q1. What do I need to do to get the "AI Sample Channel.vi" to run.

Q2. The vi needs DEVICE and a CHANNEL array. Where do these values come from?

Q3. Are there any drivers needed to make the connection beside what is provided by NI for the FP, and the LV Runtime library?

Steve
0 Kudos
Message 1 of 10
(4,638 Views)
Steve,

A1) The AI Sample Channel.vi will not run with FieldPoint. FieldPoint has its own API and does not use the DAQ API. With FieldPoint and LabVIEW 7.0 or later, you only need to worry about two VIs; FP Read and FP Write. The FP Read and FP Write VIs both take a FP IO Point reference input (right click, select Create Constant and then Browse for the item you wish). The VIs are polymorphic for your data type to be read or written. Options are Boolean, Boolean Array, Float and Float Array and you should choose the data type based upon the channel you are addressing. FieldPoint is configured via Measurement & Automation Explorer and it sounds like you customer has already done that. If you use the Example Finder in LabVIEW, you should find a number of FieldPoint Examples.
A2) See A1 above, device & channel array are not used by the FieldPoint driver.
A3) You will need LabVIEW and the NI-FieldPoint driver (which requires and includes Measurement & Automation Explorer), nothing else.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
Message 2 of 10
(4,629 Views)
Aaron:

GREAT, and thanks. It all looks pretty simple, but I look through my pallete of vi's and I can not find the FP vi's that you referred to. Where can I find them?

Steve
0 Kudos
Message 3 of 10
(4,627 Views)
There are seperate VI's that come with FP hardware, but can be downloaded:

http://digital.ni.com/public.nsf/allkb/7B21ADB6CD5ADCDF86256A3B0052D2A0


Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 10
(4,626 Views)
Thanks Putnam:

I am using LV 7.0. Will these work for me?

Steve
0 Kudos
Message 5 of 10
(4,619 Views)
They are on the NI Measurements>>FieldPoint palette. If FieldPoint was installed on your computer after LabVIEW, they should be installed by default. If not, you may need to re-install the FieldPoint driver.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 6 of 10
(4,616 Views)
Aaron:

Could you double check the instruction under the download message. I downloaded the zip file and placed the files where directed, but no fp vi's. And there are a number of other items in the functions pallete that were not there before (config, serial config, publish, RT). Are you sure that these will work for LV 7.0?

Steve
0 Kudos
Message 7 of 10
(4,610 Views)
Putnam:

I am sorry, I put the wrong name in the header...

Could you double check the instruction under the download message. I downloaded the zip file and placed the files where directed, but no fp vi's. And there are a number of other items in the functions pallete that were not there before (config, serial config, publish, RT). Are you sure that these will work for LV 7.0?

Steve
0 Kudos
Message 8 of 10
(4,609 Views)
They are refered to as the 7.1 vi's so they won't work with your 7.0. I did a quick search for earlier versions, but NI has them "behind the scenes" if they are on the site. Possibly one of the NI folks that participate can point you to the ones you need.
Sorry that I can't be of more help.

Putnam Monroe
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 9 of 10
(4,604 Views)

The fieldpoint driver here will work for LV 7.0 or LV 7.1. You might just need to re-install.
-Alan A.

0 Kudos
Message 10 of 10
(4,586 Views)