Skip to content

Commit

Permalink
Bug fixed with saving pco camera image files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrediquette committed Dec 17, 2024
1 parent bbd47c6 commit de020a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PIVlab_capture_resources/PIVlab_capture_pco.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@

%% delete data in image directory, manage rcordfiles
filePattern = fullfile(ImagePath, 'PIVlab_pco_Cam*.tif');
diskchar='C:\\';
pathparts = strsplit(filePattern,filesep);
diskchar = [pathparts{1} filesep];
%diskchar='C:\\';
if triggermode==2 && ~isinf(imacount) %external Trigger, with the desire to save
direc= dir(filePattern);
filenames={};
Expand Down

0 comments on commit de020a3

Please sign in to comment.