element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum Timeout Error when Reading Measurements from Impedance Analyzer Solartron 1260 via NI MAX using IEEE 488/GPIB
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 29 replies
  • Subscribers 297 subscribers
  • Views 4249 views
  • Users 0 members are here
  • PCIB
  • NIMax
  • impedance analyzer
  • read error
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

Timeout Error when Reading Measurements from Impedance Analyzer Solartron 1260 via NI MAX using IEEE 488/GPIB

Abdul
Abdul over 1 year ago

Hi, 

 I'm working with a Solartron A1260 Impedance/Gain-Phase Analyzer and attempting to read measurements on the NI MAX interface connected through a PCI bus. The analyzer itself is functioning correctly and can receive "Write" commands, as you can see the measurements on blue screen, but when I try to "Read" these measurements using NI MAX, I encounter a timeout error, as illustrated in the attached screenshot.The only command I can read is `*IDN? `. but my goal is to "Read" that simple measurement data of impedance analyzer on NI MAX interface.

I have tried adjusting the timeout/Bytes settings and reviewing the connection, but the issue persists. It seems like the main challenge is that I'm not sure about the correct commands to read the measurement data. Here are the details of my setup:


- Device Model: Solartron 1260 Impedance/Gain-Phase Analyzer
- Connection: Interface through PCIB
- Software: NI MAX
- Issue: Timeout error EABO during GPIB read operation

- Troubleshooting Steps: Adjusted timeout settings, adjusted bytes, changed addresses, checked GPIB command syntax, changed GPIB

 I would greatly appreciate any advice on the proper GPIB commands for reading measurements from a Solartron 1260 or any troubleshooting steps that might resolve this timeout error.

Thank you in advance for your help!

image

image

image

  • Sign in to reply
  • Cancel

Top Replies

  • Abdul
    Abdul over 1 year ago +4
    Subject: Successful Update: Command Reading on NI MAX Interface Achieved! Dear Element14 Community, I have successfully configured the NI MAX interface to read commands from the impedance analyzer…
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to shabaz +3
    I read the paper. Very useful to learn / understand a working conversation for this brand. Warning to Abdul , at the end of the paper, the writer explains how one of his scripts damaged the instrument…
  • shabaz
    shabaz over 1 year ago +2
    You could also check for code for other Solartron products of that era, in case you can spot any difference. For instance, a student used a 1260A here: https://www.slideshare.net/JosephHaystead/enel301…
Parents
  • Jan Cumps
    0 Jan Cumps over 1 year ago

    What query do you send before the read attempt?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Abdul
    0 Abdul over 1 year ago in reply to Jan Cumps
    • SI? ( stands for Single measurement) but gives me an error response.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago in reply to Abdul

    SI?\n

    Have you tried that string?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Abdul
    0 Abdul over 1 year ago in reply to Jan Cumps

    Yes,  also with SI?\r and SI?\r\n. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Abdul
    0 Abdul over 1 year ago in reply to Jan Cumps

    Yes,  also with SI?\r and SI?\r\n. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Andrew J
    0 Andrew J over 1 year ago in reply to Abdul

    Launch NI IO Trace, set that running then send the command and see what the trace tells you.  I presume SI? Is from the manual?  If you don’t have that, here’s a link: https://mmrc.caltech.edu/Solartron/Solertron%20manual1260.pdf.  I suspect a handshake issue.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Abdul
    0 Abdul over 1 year ago in reply to Andrew J

    Yes, SI command  is from the manual .Thank you for your prompt response and proposed solutions. I will thoroughly analyze them and provide an update tomorrow.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Abdul
    0 Abdul over 1 year ago in reply to Andrew J

     Dear Andrew, I have launced the N/IO interface (please see the attched screenshot} and run the commands. I have no error with Write operation, but with Read Yes.

    trouble shoot: Changed the termination Character, timeout changed 

    commands tried: OP2,1? (Query Yes), SI?, SI?\n\r, SI?\n, SI?\r  (Query/Read NO)image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Andrew J
    0 Andrew J over 1 year ago in reply to Abdul

    Unfortunately that doesn't mean anything to me but perhaps gives you some additional info to research.  Looking at the commands being sent with the \n\r I'd be wondering why they are being turned into periods (. or ..)  It also looks like not all Reads are failing but the response is strange, e.g. look at line 12.  If it were me I'd be looking at that and thinking that maybe the device isn't clearing the buffer when it's reading and investigating that. Also looking at the example that Shabaz posted below, it would seem that the instrument needs some configuration and set up via programmed commands.

    I don't know how relevant this is but you say it works if you send "*IDN?" to the device.  That's a defined SCPI command and there is a normal convention for SCPI that root commands be prefixed with a : i.e. ":SI?\n\r"   Note that this often isn't mandatory and quite often those root commands can be ignored altogether (e.g. :SOURce:VOLT? can usually be abbreviated to VOLT?) but it's totally down to the device.  You could try that as an experiment, but also "SI?/n/r", "SI?/n", ":SI?/n/r" and ":SI?/n" (note the different slash used).  I've had the case where the "\n" wasn't being interpreted as a a newline but as a string of two characters, \ and n.  That was actually in LabVIEW and required the string to be defined in such a way that the \ character was interpreted as a control.

    I'm literally guessing here and giving you things to try; sorry I'm not much help but I don't have this instrument and only the manual and examples to go by which I'm sure you could do yourself.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 1 year ago in reply to Andrew J

    The instrument has switch settings for line terminator and field separator:

    image

    Some other stuff is set on the front panel:

    image

    The OP could try these commands which should need no setup:

    image

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago in reply to Andrew J

    We know from the VISA Test Panel capture a bit higher, that \n works

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 1 year ago in reply to Andrew J

    Agree, the OP needs to try different things, systematically, and confirm which things definitely work and which do not, i.e. just experiment a bit and, most likely, understand that the previous attempt could have left the instrument in a state where it can't handle the next attempt, so some reboots occasionally too! (although that can kill old instruments : (

    Also weirdly just noticed this:

    image

    versus:

    image

    i.e. there's no question-mark for SI. I don't understand the SCPI rules enough to know if that's non-standard, but probably the instrument is so old, some unorthodoxness may be the case : (

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 1 year ago in reply to shabaz
    shabaz said:
    there's no question-mark for SI. I don't understand the SCPI rules enough to know if that's non-standard, but probably the instrument is so old, some unorthodoxness may be the case : (

    They only use SCPI for the IEEE 488 commands (the ones in  michaelkellett 's capture). The rest of the set is proprietary.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 1 year ago in reply to Jan Cumps

    Now we are left wondering if the *IDN in the Solatron manual is a typo for *IDN?

    I didn't understand the trace data that Abdul captured with the NI interface.

    I don't know why Abdul sent OP 2,1?  - it isn't a query and that isn't what the Solatron example does.

    @Abdul - do you have the operating manual ?

    image

    I've found that some instruments never talk sensibly again after an error until you reset them, sometimes with a press of the LOCAL button or equivalent or sometimes with a power cycle.

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 1 year ago in reply to michaelkellett

    Same as the 1260A python code, no question-mark used for their custom OP command (although they did use the question-mark on the normal IDN? command):

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube