From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
We are developing the
software in VC++ 7.0 and using counter channels of Compact FieldPoint module
(cFP-CTR-502). We have following
applications: 1. We want to
measure speed (revolutions per minute). And we
want to acquire data continuously at 20 Hz.
2.We want to measure no
of pulses of a known frequency between a start and a stop
signal.
The value has to be
displayed continuously on the screen.
What API are you using to develop this program (Datasocket, Fieldpoint)? Are you using Measurement Studio? It is important to note that the Measurement Studio Fieldpoint API has been obsoleted as of Fieldpoint 4.1. It would be best if you could develop using CVI. You would also have access to many examples using Fieldpoint with CVI.
Thanks Laura,
We are using Measurement Studio 7.0 classes for I/O with compact fieldpoint modules.
Hope you have further hints and ideas on the solution to my problem.
I am attaching an example that I found for counter measurements using the obsolete Fieldpoint API for C++. Please note that it will not work with anything above Fieldpoint 3.0 (Currently we are up to 4.1).
You may also consider using the DataSocket API in Measurement Studio to communicate with your Compact Fieldpoint system the using OPC server.