Hello,
I am attempting to write a TFW file to the ememory which will then be outputted to channel one on my AFG3022B. From my understanding of the programmers manual this should work. Any help is greatly appreciated.
Bonus question, in the programmers manual, what does mass memory refer to?
Bonus question 2, is the AFG only capable of reading TFW files from its edit memory? A way to upload csv files would be handy.
import visa
rm = visa.ResourceManager()
afg = rm.get_instrument('USB0::0x0699::0x0347::C031494::INSTR')
afg.write('*RST')
afg.write('mmemory:load:trace ememory,r"C:/Users/redarrow/Waveform3.tfw" ')
afg.write('data:copy user1, ememory')
afg.write('source1:function user1')
Thanks!
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.
AFG 3022B Unable to transfer file to Edit Memory from PC through pyvisa
-
- Posts: 2
- Joined: January 18th, 2019, 12:30 am
- Country: United Kingdom
-
- Posts: 2
- Joined: January 18th, 2019, 12:30 am
- Country: United Kingdom
Re: AFG 3022B Unable to transfer file to Edit Memory from PC through pyvisa
I now realise that mass memory refers to the USB memory, explaining why the above code does not work.
Is there a way to upload a tfw file directly from the PC to the AFG3022B without using a USB?
Is there a way to upload a tfw file directly from the PC to the AFG3022B without using a USB?
Re: AFG 3022B Unable to transfer file to Edit Memory from PC through pyvisa
Take a look at a the programming example for Python 3 at: viewtopic.php?t=139206.
Who is online
Users browsing this forum: No registered users and 4 guests