Hi
I had an N6705B DC power analyzer, I connected this device via USB to an Linux device after connecting it to and Linux device from lsusb command i can see that the device is found.
Now my requirement is like this:
1. I like to remotely connect to the N6705B from this linux device and send SCPI commands to operate it .
The intention behind this is I have to do an automation for collecting/fetching data values from the N6705B under various scenarios, so i have to connect to the N6705B from the linux device(currently my automation framework has support only in linux) and do the SCPI commands for this.
Please let me know if any one has any idea about this
Thanks
varun.p
I had an N6705B DC power analyzer, I connected this device via USB to an Linux device after connecting it to and Linux device from lsusb command i can see that the device is found.
Now my requirement is like this:
1. I like to remotely connect to the N6705B from this linux device and send SCPI commands to operate it .
The intention behind this is I have to do an automation for collecting/fetching data values from the N6705B under various scenarios, so i have to connect to the N6705B from the linux device(currently my automation framework has support only in linux) and do the SCPI commands for this.
Please let me know if any one has any idea about this
Thanks
varun.p
I always find connecting over the LAN much more straight forward, no drivers required.
You can use pretty much any language to connect and send SCPI commands down.
I use Tcl as the socket API is very easy to use.
Here is how you would query the ID
set sfd \[ socket 10.101.99.35 5025 \]
fconfigure $sfd -blocking 0
puts $sfd "*IDN?"
flush $sfd
set data \[read $sfd \]
puts $data
close $sfd
I think the port number is correct
Dec
Edited by: Dec on Aug 29, 2014 5:56 AM