I want to save my simulation result in capture every 100us and export them in text file. I went to simulation settings>Analysis>output file option and changed print values in output file every 100us (my settings in orcad capture) but when my simulation time finished and export my result in text file time steps doesn't match to my setting in final text file. On the other hand I want to save my result in text file every 100us, how should I do this?
There are probably a couple of issues with this. Firstly, you are looking at the simulation results whereas the parameter is to "Print values to the Output File", you get to the Output File from View>Output File in Probe, or PSpice>View Output File in Capture, once the simulation has run. Secondly, there needs to be a ".PRINT" command to enable the printing of values, this will be of the form ".PRINT TRAN V([node name])…", for example ".PRINT TRAN V([out])" to print the value of Vout to the file. The print command can be added from a include file, or from an @PSpice command embedded in text in the schematic. Values will need to be selected and copied from the Output File display to your Text file.
oldmouldy said:The print command can be added from a include file, or from an @PSpice command embedded in text in the schematic. Values will need to be selected and copied from the Output File display to your Text file.
Can you please explain more for this? I tried and I couldn't do this.
OK, can you provide some idea of what it is that you can't do? You can't add an include file with a text editor and add it to the simulation profile configuration files, or you can't add a text block and an @PSpice statement to the schematic, or you can't copy and paste the results from the viewed output file to another text file?
I can't add a text block and an @PSpice statement to the schematic, and what should I write in text file for include?
I include a file and it works but data has been written into output file. Is there any way to write data into a separate file? because when I want to use this data in MATLAB or another application, output file has other information too, that I don't need them and it became a little hard to work.