Test and Measurement Forum

default directory for file saving

Forum for discussing PicoScope version 6 (non-automotive version)

default directory for file saving

Postby xyliu » Thu Mar 14, 2013 4:17 pm

Hi, I could not make picoscope to change default saving directory. Everytime, it uses a specific directory name instead of the one I choose to save last time. In the past, it was fine. Is there a way to change the default saving directory? My picoscope 6 version is 6.7.13.3. Thank you!
xyliu
Newbie
 
Posts: 0
Joined: Mon Mar 22, 2010 4:45 pm

Re: default directory for file saving

Postby ziko » Mon Mar 18, 2013 9:44 am

Hi this can be done by going into the preferences file, this will be located in:

For beta:

C:\Users\<your log in> \AppData\Local\Pico Technology\260a68f1-c314-451b-830f-0a5e01d65514

or

Standard :

C:\Users\<your log in>\AppData\Local\Pico Technology\64358d19-ef91-48bb-9ae0-3b4689d44d99

Open it a text editor, like notepad and change the line that says

<preference name="waveformsfolder" value=

In the standard software wherever you save your data this will become your default folder.

Hope this helps.
Ziko

Technical Specialist
ziko
Zen Master
Zen Master
 
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Re: default directory for file saving

Postby xyliu » Tue Apr 30, 2013 1:23 pm

I have beta software. Is there a way to change to my last saved directory or specify a directory somewhere. Modify the preference file does not always work.
xyliu
Newbie
 
Posts: 0
Joined: Mon Mar 22, 2010 4:45 pm

Re: default directory for file saving

Postby Martyn » Tue Apr 30, 2013 1:36 pm

You need to make sure you have the correct xml tags around the command as shown
Code: Select all
  <category name="files">
    <preference name="waveformsfolder" value="c:\temp\" />
    <preference name="numrecentlyopenedfiles" value="1" />
    <preference name="recentlyopenedfiles0" value="C:\temp\20130430-0001.psdata" />
  </category>
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: default directory for file saving

Postby xyliu » Mon May 13, 2013 6:06 pm

Thank you for your reply. Do I need to change the 2nd line of your code everytime manually? Is there a way to automatically use my most recently save directory, instead of a fix directory name specified in the preferences.xml? The older version picoscope 6 did just that.

Thank you!
xyliu
Newbie
 
Posts: 0
Joined: Mon Mar 22, 2010 4:45 pm

Re: default directory for file saving

Postby Martyn » Tue May 14, 2013 6:23 am

The R6.7 strand is now the release branch so please upgrade to this version http://www.picotech.com/software.html
If you save a file it will create the following tag in the xml file, and this will be saved on exit from the software
Code: Select all
  <category name="filesystem">
    <preference name="waveformsfolder" value="C:\temp" />
  </category>
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: default directory for file saving

Postby ashish.shah » Mon Apr 14, 2014 12:37 pm

the preferences .xml files in

C:\Users\***\AppData\Local\Pico Technology\64358d19-ef91-48bb-9ae0-3b4689d44d99

for install version R6 8 11 doesn't have the following set of lines at all.

<category name="filesystem">
<preference name="waveformsfolder" value="C:\temp" />
</category>

How shall I change the default saving directory then?
ashish.shah
Newbie
 
Posts: 0
Joined: Mon Apr 14, 2014 12:20 pm

Re: default directory for file saving

Postby Martyn » Mon Apr 14, 2014 12:52 pm

File->Save and the directory you navigate to will become the default directory for this save, and future ones.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: default directory for file saving

Postby rph » Thu Jan 14, 2016 5:52 pm

This seems to work only while saving "*.psdata" files.

When I save other file types the default directory is not changed (took me a while to find this because I alsways save .csv files.


Is there maybe also an option to save the last file type? (I always need to switch from *.psdata to *.txt)
rph
Newbie
 
Posts: 0
Joined: Tue Jun 16, 2015 4:06 pm

Re: default directory for file saving

Postby Martyn » Fri Jan 22, 2016 7:07 am

I will pass the suggestion on to the development team for consideration.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests