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.
I am working at a routine in Visual C++ that should acquire the CURVE from each of the 4 channels of my oscilloscope DPO 70404c and write the traces in separate files. Then, it would be desirable to loop such acquisition several times (5 to 10 times for eg.) in order to create 4 different files with concatenated acquisitions.
So far I managed to implement the easiest part, i.e. retrieving CURVE from one channel, read the trace and store it in a txt file.
My question is: do I need to struggle with multithreading to get the 4 curves "simultaneously" or maybe there is an alternative way which is acceptable for real time acquisition and maybe a little bit easier?
Thank you in advance
There is no way to retrieve the data from all 4 channels at the same time. You will have to update the DATA:SOURCE and then perform a CURVE? query for each channel. My advice would be to write a routine that fetches the waveform for a single channel, but write it with a parameter that specifies which channel you want to retrieve the data from. You would then need to call this routine 4 times changing the channel parameter each time you call it.
Code: Select all
Who is online
Users browsing this forum: No registered users and 4 guests