SDK C software examples modification for ps4424a

Post your C and C++ discussions here
Post Reply
nzoka
Newbie
Posts: 0
Joined: Mon Sep 13, 2021 6:28 pm

SDK C software examples modification for ps4424a

Post by nzoka »

The examples C/C++ SDK I got off github for ps4000a only supports the 4224 , 4425, 4444 and 4824 models.

We want to write our own logging software to support signal frequencies in the 10khz-150khz range.
The Picolog software has a maximum sample interval of 1ms (i.e. sample rate of 1khz).

After debugging the project using Visual studio community

I added the following to the C files and it appears to work now.

typedef enum
{
MODEL_NONE = 0,
MODEL_PS4824 = 0x12d8,
MODEL_PS4225 = 0x1081,
MODEL_PS4425 = 0x1149,
MODEL_PS4444 = 0x115C,
MODEL_PS4424A = 0x1148 // Added entry
} MODEL_TYPE;

case MODEL_PS4424A:
unit->model = MODEL_PS4424A;
unit->sigGen = SIGGEN_AWG;
unit->firstRange = PS4000A_10MV;
unit->lastRange = PS4000A_50V;
unit->channelCount = QUAD_SCOPE;
unit->hasETS = FALSE;
unit->AWGFileSize = maxArbitraryWaveformBufferSize;
unit->hasFlexibleResolution = FALSE;
unit->hasIntelligentProbes = FALSE;
break;

I would like to confirm if all entries in the "case MODEL_PS4424A:" are correct for the 4424A.



Thanks
David

XavierPico
Newbie
Posts: 0
Joined: Thu Jan 23, 2020 5:16 pm

Re: SDK C software examples modification for ps4424a

Post by XavierPico »

Hello David,
I have no answer for your question. I'd like just to know if you could pilote your 4224 under C++.
In fact, I have some difficulties in piloting my card 4824 with C++Builder and I need help to break my situation.
Thanks in advance
Xavier

Post Reply