• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. Pspice Command Line Export .Dat to CSV

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 165
  • Views 17918
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pspice Command Line Export .Dat to CSV

mjsch
mjsch over 10 years ago

I am using psp_cmd.exe to run Orcad pspice simulations. I would like a way to export these .dat files to text files for further parsing and plotting (I am using Python, not MATLAB). Is there command line access to the .dat export?

Alternatively, how can I parse the .dat files output by pspice into text files, maybe through a different exe file?

  • Cancel
  • oldmouldy
    oldmouldy over 10 years ago
    You best approach might be to export the simulation results to CSDF format, at least that is text, and then parse that.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mjsch
    mjsch over 10 years ago

    Hello, do you know how to do this via a command line interface? as far as I can tell, psp_cmd.exe seems not to support output of probe data to anything other than a DAT file natively. An extra conversion step to plaintext is fine, but I'm asking how to do that. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 10 years ago
    CSDF is a switch for the .PROBE control, .PROBE/CSDF will switch the Probe output from DAT to CSDF
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • mjsch
    mjsch over 10 years ago

    Thanks! That did it. 

    Now I just have to figure out how to make sense out of the CSDF files... 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Zain Tariq
    Zain Tariq over 7 years ago in reply to mjsch

    Hi, did you find a way to use those CSD files using python or something else? I am doing something similar and need to extract the data from Pspice to a separate plot.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information