Author Topic: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format  (Read 5522 times)

0 Members and 1 Guest are viewing this topic.

Offline blue_zykTopic starter

  • Newbie
  • Posts: 4
  • Country: de
The schematic DSN file in OrCAD Capture is binary, it needs to be parsed into an ASCII format file. I don't know the specific algorithm for this conversion.

Does someone know about this or is there any expert advice? Thanks in advance!
« Last Edit: November 06, 2020, 02:16:00 pm by blue_zyk »
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15274
  • Country: fr
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #1 on: November 06, 2020, 06:46:23 pm »
OrCAD files (unless this has changed with recent versions) are "compound files": https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b

7-zip supports this format, so you can open the files with 7-zip and extract the content (which is a hierarchy of files and directories.)
Unfortunately, the individual files contained in those "archives" are also of some binary, and undocumented (AFAIK) format.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #2 on: November 06, 2020, 10:10:33 pm »
The only known way to do that conversion is using Capture. That's what Altium requires if you want to import Orcad design into AD.

Offline blue_zykTopic starter

  • Newbie
  • Posts: 4
  • Country: de
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #3 on: November 08, 2020, 11:49:56 am »
Yes, i can extract the content files in DSN format by regarding it as a compound file, but i have no idea how to convert these content files to readable text.

OrCAD files (unless this has changed with recent versions) are "compound files": https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-cfb/53989ce4-7b05-4f8d-829b-d08d6148375b

7-zip supports this format, so you can open the files with 7-zip and extract the content (which is a hierarchy of files and directories.)
Unfortunately, the individual files contained in those "archives" are also of some binary, and undocumented (AFAIK) format.
 

Offline blue_zykTopic starter

  • Newbie
  • Posts: 4
  • Country: de
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #4 on: November 08, 2020, 11:55:25 am »
What do you mean the only known way, how to carry out a conversion from OrCAD to Altium AD?

The only known way to do that conversion is using Capture. That's what Altium requires if you want to import Orcad design into AD.
 

Offline PKTKS

  • Super Contributor
  • ***
  • Posts: 1766
  • Country: br
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #5 on: November 08, 2020, 12:13:40 pm »
Please investigate your options to actually EXPORT
DSN into a suitable EDIF format.

OrCAD since their early versions are the most EDIF
friendly and competent parsers available.

EDIF is human readable

Paul
« Last Edit: November 08, 2020, 12:19:56 pm by PKTKS »
 
The following users thanked this post: Alex Eisenhut

Offline blue_zykTopic starter

  • Newbie
  • Posts: 4
  • Country: de
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #6 on: November 09, 2020, 09:39:41 am »
Thanks for your hints! But there is loss of informations during export from DSN to EDIF, this is the cause why i want to directly convert it to readable text.  |O

Please investigate your options to actually EXPORT
DSN into a suitable EDIF format.

OrCAD since their early versions are the most EDIF
friendly and competent parsers available.

EDIF is human readable

Paul
 

Offline PKTKS

  • Super Contributor
  • ***
  • Posts: 1766
  • Country: br
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #7 on: November 09, 2020, 09:44:35 am »
Thanks for your hints! But there is loss of informations during export from DSN to EDIF, this is the cause why i want to directly convert it to readable text.  |O


Yes... from my experience there is no 100% direct
translation among formats... between any formats

And EDIF - although it exists for decades... - has more or less
an abandonware position in industry. Each vendor sticks with
their own format.

Nevertheless DSN is IMHO the most closest format to EDIF
than any other alternative...

Last case my alternative is always trying to "convert" project
to an alternative format (which I have access to) and try any
export option alternative from that other vendor.

There is always some issues and some gotchas.
In time I was able to more or less live with all the
industry juggernaut .. and convert my projects
along the timeline...

Mileage will vary
Paul
 

Online Alex Eisenhut

  • Super Contributor
  • ***
  • Posts: 3430
  • Country: ca
  • Place text here.
Re: Convert OrCAD Capture schematic design file (*.DSN) to ASCII format
« Reply #8 on: January 07, 2021, 04:36:53 am »
Not sure what you want. Export a netlist and you'll get text files. BOM is also human readable.

What is your goal?

"it needs to be parsed into an ASCII format file."

Why "needs"? By who? For who? Why?
Hoarder of 8-bit Commodore relics and 1960s Tektronix 500-series stuff. Unconventional interior decorator.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf