Recent

Author Topic: Using Masurement Computing devices?  (Read 5958 times)

CM630

  • Hero Member
  • *****
  • Posts: 1261
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Using Masurement Computing devices?
« on: September 21, 2012, 07:53:23 am »
Does anyone have experience using Measurement Computing devices in Lazarus?
Before they supplied some examples for Delphi (together with the drivers) but I cannot convert them to Lazarus.
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

wp

  • Hero Member
  • *****
  • Posts: 12620
Re: Using Masurement Computing devices?
« Reply #1 on: September 29, 2012, 01:02:56 pm »
I recently wrote a program that reads data from a digital voltmeter via serial port and displays them in a chart. Not the most challenging application regarding speed etc, but maybe I can help. Any details?

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Using Masurement Computing devices?
« Reply #2 on: September 29, 2012, 09:40:25 pm »
Does anyone have experience using Measurement Computing devices in Lazarus?
Before they supplied some examples for Delphi (together with the drivers) but I cannot convert them to Lazarus.

Perhaps you could post the examples or give links to them? That would help, and of course knowing the exact brand and model of the device you have would be helpful too...
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

CM630

  • Hero Member
  • *****
  • Posts: 1261
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Using Masurement Computing devices?
« Reply #3 on: March 11, 2014, 09:28:30 am »
I just came across this thread. I attached a unit for static linking, use it with Use :) .
It is actually a translated unit from the older MCC drivers disk, I have added a function ErrorNumberToString (ErrorNumber: integer): string;
Also, an example for taking a waveform with a dynamically loaded DLL is attached.
« Last Edit: March 11, 2014, 10:54:33 am by paskal »
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

Sander

  • New Member
  • *
  • Posts: 11
Re: Using Masurement Computing devices?
« Reply #4 on: January 17, 2025, 11:33:30 pm »
Thank you for posting the "old" Delphi interface to The Measurment Computing DLL.
It saved me much time translating from C or Vbasic.
Sander
« Last Edit: January 17, 2025, 11:35:59 pm by Sander »

CM630

  • Hero Member
  • *****
  • Posts: 1261
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Using Masurement Computing devices?
« Reply #5 on: January 31, 2025, 11:16:12 pm »
I am still struggling with device recognition, none of the methods seem reliable.
MCCDaqModels from MCCULTypesNoEnum.pas has to be populated manually from device specs.
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

 

TinyPortal © 2005-2018