Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
C/C++, C#, Python, Matlab, LabVIEW
I am currently working with a TDS 1012 oscilloscope. At my university I had a task to write a C ++ program to receive a signal on a PC.
My program should get the points from the oscilloscope and write them to a file or to a buffer.
Maybe someone faced this problem and there is an example.
You might refer to the example C# NI-VISA Get Waveform. It's not C++, but C# syntax is very similar to C++ so it shouldn't be too difficult for you to follow and it will at least give you an idea of the commands you need to use to fetch the waveform and the methodology. Since you are in C++ you will need to use the C/C++ VISA API for communication rather than the .NET VISA API. The example at viewtopic.php?t=138632 will at least give you and idea of interacting with the C/C++ VISA API.
Who is online
Users browsing this forum: No registered users and 1 guest