-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling #1
Comments
Hi! Thanks for reaching out! Unfortunately most of pas-gpib is only tested on Linux, so it is quite likely that some adaptions are required in Windows. For example, the reference to unit BaseUnix can be removed, if you also remove SigPending and SelectRead. However, then perhaps some demos or drivers might not work (specifically TCP/IP and RS232). When you write "solutions on the web", what exactly did you do? Thanks |
I just added a $IFDEF in PasGpibUtils so that BaseUnix is only required on Unix-like platforms. |
Hi!
Am Mittwoch, dem 09.11.2022 um 07:21 -0800 schrieb Coromonadalix:
sorry for the long intro ...
Hi I was trying to compile it to try on an obscure meter Keysight /
Agilent L4411A, it is an 34410A and 34411a brother
I was searching for control solution(s) on windows without installing
a ton of Keysight software(s)
The meter has tcp/ip, gpib, usb ports, but Keysight stuff is rather
picky on the interface(s) I'm mostly using it with usb (i have some
problems with ar488 gpib projects, bad arduino clones in my country)
I don't know if you know eevblog forums (my nick name is there),
there is a few control software(s) i have tried some solutions there,
but it's not easy for me, i was desperate to even searching for some
free lancers to compile your software on windows,
Theses meters seems to lack some love or interest, and they mostly
switch on/to the 34461a meters, and the venerable 34401a
Scpi commands should be the same for most of the operations ...
And your software seems very promising
Keysight software only work when doing acquisitions, And the log(s)
can be impressive in file size.
I can't do some preparations and do measurements before doing so ...
and seeing the 34410a example was something i wanted to do/compile
and test
The only difference with the others two is the acquisition speed
(34410a is max 20,000 vs 34411a - l4411a are max 50,000) but it
doesn't matter to me if the rest could work
Are you or would you be able to compile it and share it as an windows
executable "test" ???
I do not have Windows available and only work on Linux. So
unfortunately I can't provide a Windows execuable.
EX: if i install Zorin Os, would it be possible to compile and make
it work ?
Using any (recent) Linux distribution will for sure make compiling and
running the examples a lot easier than with Windows. However, if you
don't have experience with Linux, this might counteract.
On the latest Lazarus when Agilent34410A.pas is run
Is it normal to have an empty Form1 windows ??
No, this is not normal. Actually, none of the examples have forms. If
you see a form, you did something very wrong. The examples are all pure
command line programs.
Additionally, Agilent34410A.pas is just the driver, not a full program.
You have to use
https://github.com/hansiglaser/pas-gpib/blob/master/examples/testagilent34410a.pas
as main program.
Bye
Hansi
|
Hi
On Lazarus and or FPC
It can not compile on a win 10x64 or win 11 x64 os
IE: pasgpibutils.pas(78,6) Fatal: Cannot find BaseUnix used by PasGpibUtils
Tried some solutions on the web ... one time it compiled, but an "form" windows was empty ??
The text was updated successfully, but these errors were encountered: