diff --git a/scripts/flows_planktonscope.json b/scripts/flows_planktonscope.json index 13d5947..f7cec23 100644 --- a/scripts/flows_planktonscope.json +++ b/scripts/flows_planktonscope.json @@ -124,7 +124,7 @@ "label": "Lattitude (decimal degrees)", "tooltip": "", "group": "106f0e1b.6478a2", - "order": 6, + "order": 7, "width": 0, "height": 0, "passthru": true, @@ -147,7 +147,7 @@ "label": "Longitude (decimal degrees)", "tooltip": "", "group": "106f0e1b.6478a2", - "order": 7, + "order": 8, "width": 0, "height": 0, "passthru": true, @@ -531,29 +531,6 @@ ] ] }, - { - "id": "855e9d96.ab869", - "type": "ui_text_input", - "z": "7f885510.6173fc", - "name": "nb_step", - "label": "nb step (30μm/step)", - "tooltip": "", - "group": "c62ffbd3.787ef8", - "order": 4, - "width": 3, - "height": 1, - "passthru": false, - "mode": "number", - "delay": 300, - "topic": "nb_step", - "x": 520, - "y": 320, - "wires": [ - [ - "523fdeaa.50c6c" - ] - ] - }, { "id": "b110542b.5de4f8", "type": "ui_button", @@ -561,7 +538,7 @@ "name": "kill_focus", "group": "c62ffbd3.787ef8", "order": 6, - "width": 3, + "width": 2, "height": 1, "passthru": false, "label": "Cancel focus", @@ -646,7 +623,7 @@ "order": 7, "width": 0, "height": 0, - "format": "\n", + "format": "\n", "storeOutMessages": true, "fwdInMessages": true, "templateScope": "local", @@ -741,7 +718,7 @@ "order": 1, "width": 0, "height": 0, - "format": "
", + "format": "
", "storeOutMessages": true, "fwdInMessages": true, "templateScope": "local", @@ -807,11 +784,11 @@ "type": "ui_text_input", "z": "7f885510.6173fc", "name": "acq_id", - "label": "Acquisition ID*", + "label": "Acquisition unique ID*", "tooltip": "", "group": "a61f7be8.af6418", "order": 1, - "width": 12, + "width": 4, "height": 1, "passthru": true, "mode": "text", @@ -1020,7 +997,7 @@ "tooltip": "", "group": "106f0e1b.6478a2", "order": 4, - "width": 4, + "width": 5, "height": 1, "wrap": false, "passthru": true, @@ -1046,7 +1023,7 @@ "tooltip": "", "group": "106f0e1b.6478a2", "order": 5, - "width": 3, + "width": 2, "height": 1, "wrap": false, "passthru": true, @@ -1157,29 +1134,6 @@ ] ] }, - { - "id": "f94950fb.4454f", - "type": "ui_text_input", - "z": "7f885510.6173fc", - "name": "volume", - "label": "Volume (ml)*", - "tooltip": "", - "group": "c62ffbd3.787ef8", - "order": 8, - "width": 3, - "height": 1, - "passthru": false, - "mode": "number", - "delay": 300, - "topic": "volume", - "x": 520, - "y": 500, - "wires": [ - [ - "84fd85fd.426878" - ] - ] - }, { "id": "83d75b6b.6afa28", "type": "ui_button", @@ -1187,7 +1141,7 @@ "name": "kill_pump", "group": "c62ffbd3.787ef8", "order": 10, - "width": 3, + "width": 2, "height": 1, "passthru": false, "label": "Cancel pump", @@ -1270,7 +1224,7 @@ "name": "start", "group": "a61f7be8.af6418", "order": 2, - "width": 6, + "width": 4, "height": 1, "passthru": false, "label": "Start Acquisition", @@ -1299,7 +1253,7 @@ "name": "cancel", "group": "a61f7be8.af6418", "order": 3, - "width": 6, + "width": 4, "height": 1, "passthru": false, "label": "Cancel Acquisition", @@ -1410,7 +1364,7 @@ "order": 1, "width": 0, "height": 0, - "format": "

In case you forget dude but it's important to read this whenever you are not sure before clicking on any buttons.

\n
\n

Focusing :

\n

To focus, you need to specify a value for the number of steps. Then, you can click once but wait while the stage is moving.

\n

To cancel a focusing, click once on CANCEL FOCUS.

\n
\n

Pumping manually :

\n

To focus, you need to specify a value for the volume. Then, you can click once in order to pump manually a defined volume in a certain direction.

\n

To cancel a pumping event, click once on CANCEL PUMP.

\n

Do not run an acquisition if you are using the pump manually.

\n
\n

Start Acquisition :

\n

Taking images will requires few inputs :

\n
    \n
  1. Name of the project
  2. \n
  3. Name of the station
  4. \n
  5. Directory
  6. \n
  7. Acquisition ID
  8. \n
  9. Volume
  10. \n
  11. M12 Lens
  12. \n
\n

If any of the previous settings are missing, it's going to be a real mess and delete previous acquisition. So check twice here !!

\n

The other inputs are always welcome ;)

\n
\n

Cancel Acquisition :

\n

I made this button CANCEL ACQUISITION to cancel an acquisition which maybe be fucked.

\n

Image you click it, it's going to delete the folder in which you save this acquisition, meaning execute :

\n

rm -r  Directory/Name_of_the_project/Name_of_the_station/Acquisition_ID

\n

So if you made a great acquisition, then run a new one with the same input for Acquisition ID and finally click on this button, you are going to delete them both.

\n

Don't use it if you don't need it and please never click twice because the pi might burn.

", + "format": "

In case you forget dude but it's important to read this whenever you are not sure before clicking on any buttons.

\n
\n

Focusing :

\n

To focus, you need to specify a value for the number of steps. Then, you can click once but wait while the stage is moving.

\n

To cancel a focusing, click once on CANCEL FOCUS.

\n
\n

Pumping manually :

\n

To focus, you need to specify a value for the volume. Then, you can click once in order to pump manually a defined volume in a certain direction.

\n

To cancel a pumping event, click once on CANCEL PUMP.

\n

Do not run an acquisition if you are using the pump manually.

\n
\n

Start Acquisition :

\n

Taking images will requires few inputs :

\n
    \n
  1. Name of the project
  2. \n
  3. Name of the station
  4. \n
  5. Acquisition ID
  6. \n
  7. Volume
  8. \n
  9. M12 Lens
  10. \n
\n

If any of the previous settings are missing, it's going to be a real mess and delete previous acquisition. So check twice here !!

\n

The other inputs are always welcome ;)

\n
\n

Cancel Acquisition :

\n

I made this button CANCEL ACQUISITION to cancel an acquisition which maybe be fucked.

\n

Image you click it, it's going to delete the folder in which you save this acquisition, meaning execute :

\n

 

\nrm -r  /var/www/Name_of_the_project/Name_of_the_station/Acquisition_ID\n

 

\n

So if you made a great acquisition, then run a new one with the same input for Acquisition ID and finally click on this button, you are going to delete them both.

\n

Don't use it if you don't need it and please never click twice because the pi might burn.

\n
\n

ssh :

\n

To access the inside of the pi, you can use ssh from from terminal once your are connected to the WiFi by typing this command : ssh -Y planktonscope@192.168.4.1

\n

 

\n

The Password is : raspberry

\n
\n

Data :

\n

In order to access your acquisitions, you can either click on this link or get to the directory via ssh : /var/www/

\n
\n

In order to access the script via ssh, you can get to the directory : /home/pi/PlanktonScope/

\n", "storeOutMessages": true, "fwdInMessages": true, "templateScope": "local", @@ -1608,10 +1562,10 @@ "type": "ui_numeric", "z": "7f885510.6173fc", "name": "flowrate", - "label": "Flowrate (ml/min)", + "label": "Flowrate (ml/min)*", "tooltip": "", "group": "a72a9ec6.bb144", - "order": 3, + "order": 4, "width": 0, "height": 0, "wrap": false, @@ -1629,6 +1583,58 @@ ] ] }, + { + "id": "42d9d2cb.9d3f84", + "type": "ui_numeric", + "z": "7f885510.6173fc", + "name": "nb_step", + "label": "nb step (30μm/step)", + "tooltip": "", + "group": "c62ffbd3.787ef8", + "order": 4, + "width": 4, + "height": 1, + "wrap": false, + "passthru": true, + "topic": "nb_step", + "format": "{{value}}", + "min": "1", + "max": "5000", + "step": 1, + "x": 520, + "y": 320, + "wires": [ + [ + "523fdeaa.50c6c" + ] + ] + }, + { + "id": "4287fe47.26a63", + "type": "ui_numeric", + "z": "7f885510.6173fc", + "name": "volume", + "label": "Volume (ml)*", + "tooltip": "", + "group": "c62ffbd3.787ef8", + "order": 8, + "width": 4, + "height": 1, + "wrap": false, + "passthru": true, + "topic": "volume", + "format": "{{value}}", + "min": "1", + "max": "5000", + "step": 1, + "x": 520, + "y": 500, + "wires": [ + [ + "84fd85fd.426878" + ] + ] + }, { "id": "c627ea8d.f886e8", "type": "ui_group", @@ -1725,7 +1731,7 @@ "tab": "6b01f851.598028", "order": 9, "disp": true, - "width": 25, + "width": 27, "collapse": false }, {