05-20-2012 08:07 AM - edited 05-20-2012 08:07 AM
I'm checking out the trial version of Multisim and it's doing all the right things and working really well. The only problem thus far is the huge level of rounding of the csv file export of a DC Sweep trace from a fixed voltage probe. I checked out the .tmp file that is generated spice under the hood and there are the full double precision scientific notation numbers I want, but I want them as a CSV for easier and smaller import to other programs. Is there anywhere to set the precision of the CSV export? Hopefully there is a format string or some setting I can change, otherwise the current precision is completely useless! Can someone please help out and point me in the right direction?
05-22-2012 08:34 AM
HI Andrew,
When you are in the Grapher View (View>>Grapher), select Tools>>Export to Excel. When you are in Excel, you can change the data format and it looks the data have more precision digits than saving the simulation result as a CSV.
05-22-2012 09:07 AM
That would be great but I don't have Excel. Any other ideas? How about just chaning the format of the csv export to scientific notation?
05-23-2012 06:22 PM
andrewsimper,
The export to LabVIEW from the Grapher (right next to the Excel export) is a tab delimited text file (after the header information) and from there the actual data set is set as scientific notation with 6 digits of precision (i.e. 1.123456E-3). You can open the file up in a standard text editor to verify. It likely gives you better precision but you'll need to parse and output a csv file.
If you need assistance taking this .lvm file and stripping out a column of data to a .csv file, we can probably help.
An alternate way is to create a Multisim VI (created with LabVIEW and formatted to work directly in Multisim), however this depends on how you want the DC Sweep implemented.
Regards,
Pat Noonan