01-21-2016 06:26 AM
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.
01-21-2016 06:31 AM
01-21-2016 06:35 AM
Thanks for your reply .
I mentioned as Instrument Control(GPIB,serial,VISA,IVI) Hardware boards. But I am not able figure out what causing this failure.
01-21-2016 07:37 AM
01-21-2016 08:56 AM
07-25-2016 11:46 PM
I am too facing the same issue . Please share if anybody has any info
07-25-2016 11:47 PM
I am too facing the same issue
07-27-2016 07:02 AM
Hello,
Can you give a little more insight into the issue ? What programming language are you using ? Which development environment are you using ? If you are facing run time errors, can you use debgging tools to narrow down on the precise line in your code throwing this issue ?
I understand that you are using GPIB tools, but wanted to know specifically what NI hardware and software you are using for your application ?
-Suraj Pawar
AE, NI India
07-28-2016 10:01 PM
Hi,
I have task to remotely control the EMtest Autowave and VDS 200Q .
I am using NI MAX tool to send the commands to EMTest Autowave . Using this I can set/change a particular Voltage on
VDS 200Q.
But When I generate a voltage profile using EMTest Autowave tool i.e (.dsg file) and try to load it the above error message is displayed .
The sequence of commands are:
command:DIR? DOWD // To get the name of download directory.. Where is this directory present?
Response : DIR DOWD:/home/guest/DOWFiles
command:TRFL /home/guest/DOWFiles/<file_name.dsg file> // The file_name of voltage profile generated using Autowave software and stored on the local PC.
command:MOD GEN // To Enter into Generator mode
command:SOUR SEGM <file_name.dsg>
command:STAR
After this command the above error is generated.
I have attached the pic of the setup used in the lab.
Thanks for your support.
Hope we resolve this issue
Vinayak
07-28-2016 10:02 PM
The sequence of commands are:
command DIR? DOWD // To get the name of download directory.. Where is this directory present?
Response : DIR DOWD:/home/guest/DOWFiles
command:TRFL /home/guest/DOWFiles/<file_name.dsg file> // The file_name of voltage profile generated using Autowave software and stored on the local PC.
command: MOD GEN // To Enter into Generator mode
command SOUR SEGM <file_name.dsg>
command:STAR