Dar all.
I use pico USB 4262, I would like to integrate this carde in an existing application programmed in Borland c++. What I want is to record a waveform by software.
Is there any example in C++ Borland?
Thank you in advance
Xavier
Dear all.
Thanks to Hitesh, I have regenerated *.lib in order to use ps4000.dll in C++ Builder.
What I want to do is to control picoscop4262 for data recording. In sample site https://github.com/picotech/picosdk-c-examples, I don't find C++ Builder application cases (Borland, now Embarcadero).
Would you please help me to start with a simple example in C++ Builder (sorry, I am electro technic engineer, I don't know very much the differences of C++ languages). Is there any example in C++ Borland?
Thank you in advance
Xavier
I have regenerated *.lib in order to use ps4000.dll in C++ Builder 2010.
In a new C++Builder project, I have included:
ps4000.lib
#include "ps4000Api.h"
#include "PicoStatus.h"
#include "PicoConnectProbes.h"
After compilation, the project is OK with executable. Then, according to PicoScope 4000 Series Programmer's Guide, I have simply added two lines:
Dear All,
I have confused 32bit DLL and 64bit DLL. Now the compilation is OK.
But I have a key question: how to use pic4262; i.e. how to use the functions in https://github.com/picotech/picosdk-c-examples under Borland C++.
Dear all,
Based on "ps4000Con" examples, I have successfully piloted picoscope 4262 under Borland C++Builder with the function void BlockDataHandler(UNIT_MODEL * unit, char * text, int32_t offset). Just one function, but it’s a lot for me. I‘d like to share this achievement with you. Here are the key things to do in order to use the example written in VC++:
• Download “ps4000.dll”
• Create “ps4000.lib” under Borland C++Builder
• Create your own _kbhit(), or just delete _kbhit() (what I have done)
• Replace printf(….) by Memo1->Lines->Add() as my C++ Builder is not in Console mode;
Many thanks for your helps to reach this first stage.
Xavier