Bring long arb sequences to DG1062z - Page 1
Forum section: electronics / testgear

author: 3isenhorn
author_rank: Contributor
timestamp: May 19, 2021, 02:12:54 pm
content: Hello!I am trying to get a long arb sequence to the DG1062z, 1e6 samples at 5MSa/s, which I created in Python.The values are between 1.5 and -1.5. I tried with a csv and txt file as described in the documentation. However, I don't get any output (not even for the shorter version).I have tried everything I can think of, shortening the float to 4 digits, etc.Sending the same values via SCPI works up to 1500 samples, then a communication error occurs (not unexpected).Does anyone have an idea what the problem could be and perhaps an example file that I could test?Thank you in advance!

author: bateau020
author_rank: Frequent Contributor
timestamp: May 20, 2021, 01:33:17 pm
content: I do not have the DG1062Z, but the DG900 series uses the same format it seems.The documentation is not great indeed. And it fails without feedback indeed.Here is what I found out what works for me (all CSV format). May not be fully correct, nor work in your case.Also, look here:https://www.eevblog.com/forum/testgear/rigol-dg1000z-raf-file-format/msg2546961/#msg2546961RIGOL:DG1:CSV DATA FILE // MandatoryTYPE:Arb // MandatoryAMP:{amplitude} Vpp // The AWG expects the signal to be centered around 0. So the y voltages MUST be between +/- {amplitude}/2. Anything out of these limits will cause a strange wrap! {amplitude} may be higher than the 2*y values, but that will probably pilot the output amplifier, so do not set too high.PERIOD:1 S // Seems ignoredDOTS:{dots} // The number of samples, 8k max it seemsMODE:{mode} // Mandatory: {mode} = Freq (with interpolation, very nice) or STEP (no interpolation, but lower bandwith) or SMOOTH (smoothing, causing overshoots!)AFG Frequency:{freq} // sample frequency. The first column can also be "Sample Rate". The Frequency of the outgoing signal = {freq}/{dots} Hz (provided the AWG y values are 1 cycle, multiply otherwise)AWG N:0 // leave empty or like this. Will crash if wrong format! Changing the number does not seem to make any difference.x,y // leave empty or like this. Will crash if wrong format!,{y1},{y2},{y3}... etcEXAMPLE:RIGOL:DG1:CSV DATA FILETYPE:ArbAMP:2.0 VppPERIOD:1 SDOTS:512MODE:FreqAFG Frequency:10000,0.001953125,0.00390625,0.005859375... etc

author: 3isenhorn
author_rank: Contributor
timestamp: May 20, 2021, 09:13:37 pm
content: Hello,Thank you for the advice, actually this is how my csv file looks like. I am unsure about the CR and if i really insert it the right way.Also I tired UltraStation, but unforutnatly this raf file doesn't work either.In genereall I was able to output the same base data on a Tektronix AFG31022 and some R&S function generator.

author: 3isenhorn
author_rank: Contributor
timestamp: July 02, 2021, 07:38:20 pm
content: Hello,Today I finally managed to play a sequence from a file and would like to share my findings in case anyone else encounters the same problem.I had already tested several USB flash drives, in the end I reformatted a 4GB thumb drive under Windows. It only seems to work with FAT32 in 4KB block size.This was a bit difficult to figure out as I usually use Linux on a daily basis.