Can I Use Microsoft Visual C++ 6.0 and/or Visual C++ .NET with My FieldPoint Modules?Primary Software: Driver Software>>FieldPoint ExplorerPrimary Software Version: 3.0.1 Primary Software Fixed Version: N/A Secondary Software: Measurement Studio>>Visual C++ Support
Problem: I would like to use Visual C++ 6.0 and Visual C++ .NET with my FieldPoint modules, but I do not know what support is available. Solution: You must have NI Measurement Studio installed to use the Measurement Studio for Visual C++ FieldPoint API. You can use FieldPoint with Visual C++ with all I/O modules (and all settings) and all ethernet I/O modules; however, you cannot use the API with serial or FieldBus modules. The API contains a set of objects that are used to access the FieldPoint bank, you do not make direct calls to any DLL. Note: The C++ FieldPoint interface is being made obsolete with Measurement Studio 7.1. Existing programs that use the class library will continue to compile, but there will be no more updates or bug fixes for this interface. Refer to the link at the bottom for more information. Key Points include:
2.) Automatically detects what modules and channels are available on a given IP address or hostname. Automatically detects if the hardware supports an operation, and throws an exception in that case. 3.) The user can install event handlers for asynchronous notification of changes to channel data. The new data value is reported along with a timestamp and a status, which reports messages in the case of an open thermocouple, or open RTD, for instance. 4.) Native support for MFC and C++, and interoperability with other Measurement Studio for C++ components, including environment integration tools similar to the Measurement Studio Add/Remove Components Add-in. Help is also integrated into the environment. Technical Details:
2.) CNiFieldPointIoModule represents an I/O module connected to a bank, e.g. FP-AI-110, FP-TB-10, etc. 3.) CNiFieldPointChannel represents a channel connected to an I/O module Of these three, you create only CNiFieldPointNetworkModule objects; objects of the other types are received from this object. There is one class that useful for working with event callbacks:
There are three exception classes:
2.) 3.) Related Links: KnowledgeBase 395D8A9Q: Fieldpoint Measurement Studio 7.0 Visual C++ API has been obsoleted Measurement Studio Product Page Attachments:
Report Date: 04/18/2002 Last Updated: 11/19/2004 Document ID: 2KHACE55 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
