Batch conversion of .PSD files

Forum for discussing PicoScope (version 5)
Post Reply
Richard Rudd

Batch conversion of .PSD files

Post by Richard Rudd » Tue Sep 23, 2003 10:02 am

I have been capturing a lot of data using the 'save on trigger', and have needed to convert the resulting .psd files to .txt for further processing in Mathcad.

From the Picoscope help (Chapter 3, 'convert stored data files to text') I found that a batch routine exists for doing this. I have a minor comment and a more serious problem:

(1) The help file states that the DOS command is 'psw -t', but it actually needs to be 'psw32 -t'.

(2) The routine works fine for the first ~95 files in a set. At that point it crashes with the message " too many globals: files 'scopview.c' line 4006 and 'sample.c' line 3685". On occasion, the program hangs completely, and the machine must be re-booted.

Any suggestions?

Thanks,
Richard

User avatar
markspencer
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Post by markspencer » Wed Sep 24, 2003 10:09 am

Hi,

I have tested this and found the same problem. I will pass this on the developers. A possible work around could be to copy 90 files in to one directory and then another 90 into another directory and so on. Then run it with psw32 -t run*.psd where run*.psd is the name of the file with a wild card option.

I hope this helps.

Best regards,
Regards,

Mark Spencer

Guest

Post by Guest » Sun Dec 02, 2007 11:51 am

How do you do this under PicoScope6 ?

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko » Tue Dec 11, 2007 4:46 pm

Hi unfortunately you cannot do this in PicoScope 6, you can however save the file as a text file.

Hope this helps.

Kind regards

Ziko
Ziko

Technical Specialist

Post Reply