PCGU1000 in linux

Hello,

I bought PCGU1000 function generator- nice stuff for hobbyist.
But I missed software under Linux, so I developing app (with FPC/Lazarus) to control PCGU1000 in Linux (KUbuntu 8.10). Currently I can control all parameters of generator like: on/off, -40dB, attenuator, offset, amplitude fine tune, filter, freq, sweep, waveform…

Currently I have one question left: may I ask, when sending command 0x03 and data packet of 4 bytes to generator, what meanings is of 7b, 6b, 5b and 4b in 3-rd byte of that packet?

P.S. sorry for bad English.

OK… seems that 7b and 6b is unused, (6b OR 5b) controls “on/ready” Led…

Are these codes / API available for Linux developers?

I am interested in doing development for both PCSU1000 and PCGU1000 in Linux also.

Thanks for any information about reference materials for this.

-Scott

For Linux is no API or protocol description available. Controlling app for Linux I maded using reverse engineering (seems this is only way).

I would be greatly interested in what you have found–is it possible to that you might share your discoveries?

Now I have maded component-driver for FPC/Lazarus. With this component (it can be used to create GUI for PCGU1000) I can fully control PCGU1000 (for USB communications is used libusb).
I can share my work with world, but I think there is big BUT – legality. For example, at program start firmware is uploaded in to device chip. How about that firmware, I don’t know can I post that firmware or not?..

P.S. under “reverse engineering” I meant USB sniffing under Windoze, no code dissaemble.

P.P.S. again, sorry for bad English :slight_smile:

This looks very interesting!
I think there are no legality problems to put a link to your project to this forum.
All the files (e.g. PCGU1000.BIT) are available to everyone from Velleman downloads page anyhow.

Finally I got time…

And there is driver:

pcgu1000driver.sourceforge.net/

If You experience download problems (like “Content Encoding Error” if FF) try this direct link:

sunet.dl.sourceforge.net/sourcef … -13.tar.gz

Happy coding!