percival-detector / percivalui

The Percival detector python user interface
0 stars 2 forks source link

Frame processor tests for existence of the folder-to-write-in on the control machine #106

Open prcvlusr opened 5 years ago

prcvlusr commented 5 years ago

given a system using 2 machines:

if "folderX" exists both on machine1 and machine2, the system works without any problem: data are saved on machine2:folderX

if "folderX" exists only on machine2 (and not on machine1), when defining it as the destination directory on the DAQ tab of the GUI, the GUI report an error (folderX not existing).

The impression is that the system tests for existence of "folderX" on machine1, even if, then it actually saves files on "folderX" on machine2

wnichols1 commented 4 years ago
    url: '/api/' + api_version + '/fp/config/' + command,
    type: 'PUT',

function update_fp_params() { // Send the path send_fp_command('hdf/file/path', $('#set-fp-path').val());

frame_processor_adapter.py: 124

wnichols1 commented 4 years ago

i have changed it to test it's non-empty. is that ok? the pr seems to have gone into odin-detector instead of percival-detector/odin-data