Skip to content

driver/Signalhound USB TG124A Network analyzer #784

@Dominik-Vogel

Description

@Dominik-Vogel

These two devices are small profile usb devices that form together a scalar network analyzer.
As I can see it the tracking generator (TG) generates an rf signal and the SA124B aquires the transmitted/reflected signal.
The operation is meant to be conducted with the delivered software, but there is also a c/c++ api. The driver for the SA124B has already been implemented as a beta version and extending it for the very limeted functions of the tracking generator seems to be managable.

Links:
https://signalhound.com/products/usb-tg124a/

The working link for the manual:
https://signalhound.com/sigdownloads/TG124A/TG124A-User-Manual.pdf
https://signalhound.com/sigdownloads/SA44B/SA-API-Manual.pdf

The api is basically this

TG_API tgStatus tgOpenDevice(int device);
// Initialize N devices (device 0 .. N-1) where N <= 4
TG_API tgStatus tgOpenAllDevices(int *numDevicesInitialized); 
TG_API tgStatus tgCloseDevice(int device);
TG_API tgStatus tgStatusCheck(int device);
TG_API tgStatus tgGetSerialNumber(int device, int *serial); 
TG_API tgStatus tgGetDeviceType(int device, tgDeviceType *type);

TG_API tgStatus tgSetFreqAmp(int device, double freq, float ampl);
TG_API tgStatus tgSetReference(int device, tgRef ref);
TG_API tgStatus tgSetAttenuator(int device, float atten);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions