Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

EMtest ERROR: File read problem

$
0
0

Hello,

 

I am currently in process of developing driver for emtest autowave using GPIB commands.

 

Code I have so far:

 

rm = visa.ResourceManager()
string = "GPIB0::18::INSTR"
self.inst = rm.open_resource(string,open_timeout= 60)
print(self.inst.query("*IDN?"))
GPIBstring = "TRFL r/home/guest/DowFiles/SineTest.dsg"
self.inst.write(GPIBstring)
self.inst.write("DIR? DOWD")
# self.interface.vi_write("DIR? RECD")
self.inst.write("MOD GEN")
self.inst.write("SOUR SEGM SineTest.dsg")
self.inst.write("TRFL %s" %path)

 

But I'm facing error :

ERROR: File read problem

 

Questions:

 

I didn't install any software from emtest autowave. Is any software  is required?

Anything I need to do before transfer.

If I want to transfer from my PC path how to do it? Instead of this path /home/guest/DowFiles/SineTest..

 

I really appreciate code snippets to do this.

Thanks in advance.

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>