LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you control compact fieldpoint cfp20xx, using labview through an ethernet connection?

Hi, i've using serial before, but not ethernet. is there any examples? any help greatly appreciated

 

Stu

0 Kudos
Message 1 of 3
(2,497 Views)

The first thing you'll want to do is open Measurement and Automation Explorer and make sure you can find your Fieldpoint controller under Remote System.  If that works, you can right-click on it, choose "Find Devices" and you should find all your IO modules, and you'll be able to read and write values for them.

 

Then open a project in LabVIEW.  Within the project explorer, right click on the project and choose "Targets and Devices..." to add your Fieldpoint controller to the project.  I haven't done this recently, but I think that will also add all your IO modules and channels for them.  You can then use the standard Fieldpoint VIs to read and write channels; you can even drag channels directly from the project explorer into your VIs, which will automatically insert the necessary Fieldpoint Read and Fieldpoint Write VIs.

 

As an alternative to the "Targets and Devices..." approach, you can also save the Fieldpoint configuration within Measurement and Automation Explorer.  Then, within your LabVIEW project, right-click on the project name and choose Import->Fieldpoint Configuration.  You can only do this if the project does not already contain any Fieldpoint items.

 

I hope that gets you started.

 

0 Kudos
Message 2 of 3
(2,488 Views)

It is just like the serial except it is over the ehternet. The main difference is the setup. It is best if you have a fixed IP rather than a dynamic IP.

You will need to select Remote Systems (under MAX). Do a refresh and if you are lucky, the unit is not setup and you are not blocked from the subnet, it will appear in Remote Systems. At that point, you can configure the unit. If it has preprogram (occurred with some new units), you can reset the unit, reconnect to the network, and do a refresh.

0 Kudos
Message 3 of 3
(2,487 Views)