10-21-2010 09:54 AM
Is there a tutorial document to help get started programming Compact Fieldpoint in LabWindows?
Examples?
10-22-2010
05:04 PM
- last edited on
07-02-2024
01:29 PM
by
Content Cleaner
Are you using the LabWindows/CVI Real-Time Module? It appears that Compact FieldPoint is explicitly not supported on that module.
- Greg J
10-22-2010
05:20 PM
- last edited on
07-02-2024
01:29 PM
by
Content Cleaner
However, perhaps the Compact FieldPoint Frequently Asked Questions will provide some additional information.
- Greg J
10-25-2010 07:59 AM
Greg,
Thanks for teh reply. Not much in the FAC about programming the cFP controller in LabWindows. Not real-time. It is an ongoing frustration how truly awful the NI documentation is on programming with some of the hardware technologies. Everything is so LabView centric -- CVI is an afterthought.
It would be so helpful to people just starting to program with cFP, SCXI, etc, to have a tutotial that says,
This is how you initialize everything and these are all the options
This is how you read single points, multiple points, and these are all the options
This is how you write single points, multiple ponts, and these are all the options
etc, etc,
So I slog through the examples, with no suitable explanations in the function panels. I'll finish sometime today what I need to do with the three module types in my application.
10-26-2010
11:17 AM
- last edited on
07-02-2024
01:31 PM
by
Content Cleaner
Hi!
I was able to find a few community examples involving LabWindows/CVI and a FieldPoint: https://forums.ni.com/t5/Example-Programs/ct-p/code-documents
Hope this helps!
Starla T.
10-26-2010 11:52 AM
Starla,
Thank you for finding those examples. I have looked through two of them and they were helpful. Most of this work is done now, but I've found an oddity -- I get an IA_Status = 0, ie, successful, when doing a FP_CreateTagIOPoint on a cFP unit that is not powered. Will the surprises never end....
10-27-2010 10:45 AM
Hello,
I have experimented with the Create Tag Point function in LabVIEW. The function does not actually make a connection to Field Point. Connection is not attempted until you try the Read or Write functions. Functions in LabVIEW and LabWindows/CVI work the same, just with a different format (graphical vs text). Therefore I would not expect the FP_CreateTagIOPoint to return an error unless the serverHandle, commName, deviceName, or itemName is invalid. When you attempt to read or write to the device when it is turned off, you should expect an error.
Starla T.