Search found 6 matches

by Martin Chisnall
Thu May 11, 2017 9:49 pm
Forum: USB PC Data Loggers
Topic: AC voltage logging with PicoLog 1012
Replies: 1
Views: 1553

AC voltage logging with PicoLog 1012

I have an application where I need to log multiple 50Hz AC voltages from AC current clamps. (More inputs than the CM3 can handle) I have the following questions regarding PicoLog software in connection with a Picolog 1012. If I select a very short sampling interval will I just log the instantaneous ...
by Martin Chisnall
Wed Dec 14, 2016 12:25 pm
Forum: C and C++
Topic: g_status = PLCM3OpenUnit
Replies: 5
Views: 2990

Re: g_status = PLCM3OpenUnit

Hi Hitesh,
Yes, that works. Updating the dll to 1.0.6.2 solves the PLCM3OpenUnit problem.
So for your reference, the SDK is shipping with an outdated 32 bit plcm3.dll
thank you again,
Martin
by Martin Chisnall
Wed Dec 14, 2016 8:16 am
Forum: C and C++
Topic: g_status = PLCM3OpenUnit
Replies: 5
Views: 2990

Re: g_status = PLCM3OpenUnit

Hi Hitesh,
plcm3.dll (32bit) version 1.0.4.9
Thank you for your alternate suggestion. I am in fact already using PLCM3GetUnitInfo USB_version to check for the hardware presence as I have discovered that returns 0 correctly. I just thought PLCM3OpenUnit would be a logical place to check.
Martin
by Martin Chisnall
Sat Dec 10, 2016 3:23 pm
Forum: C and C++
Topic: g_status = PLCM3OpenUnit
Replies: 5
Views: 2990

g_status = PLCM3OpenUnit

Hi, I am a C beginner writing code for the PLCM3 based upon your sample code in the SDK. I am confused by the line g_status = PLCM3OpenUnit(&g_handle, NULL); My understanding is the function should only return 0 if it completes successfully. In fact it appears to return 0 even if the CM3 is no longe...
by Martin Chisnall
Sat Dec 10, 2016 3:17 pm
Forum: C and C++
Topic: Compiler not finding CM3 C function definitions
Replies: 2
Views: 1756

Re: Compiler not finding CM3 C function definitions

Hi Hitesh,
Thank you for your quick and accurate response.
I did indeed have a mix of 32 and 64 bit includes and files going on!
All compiling OK now, but now the code is working I have another question which I will post under a new thread 'g_status = PLCM3OpenUnit'
Martin
by Martin Chisnall
Tue Dec 06, 2016 10:08 pm
Forum: C and C++
Topic: Compiler not finding CM3 C function definitions
Replies: 2
Views: 1756

Compiler not finding CM3 C function definitions

I am trying to write my own application in C for PLCM3, and learning C at the same time! I am using your sample C console code using Code Blocks IDE and GCC compiler. the compiler complains that all the references to the PLCM3 functions are undefined, for example: undefined reference to `_imp__PLCM3...