1
00:00:00,660 --> 00:00:06,870
One of the really nice features that come with Sony is its file management capabilities.

2
00:00:07,350 --> 00:00:16,530
So by bringing up the files manager and you can see the tab right here, you have the ability to transfer

3
00:00:16,530 --> 00:00:22,450
files between your host computer and the ISP through to using this visual interface.

4
00:00:23,040 --> 00:00:32,880
So in the previous lecture, I was showing you a version of the blank script, and I programmed this

5
00:00:32,880 --> 00:00:40,380
script directly onto the show and I was able to get the ality on April twenty one to blink every half

6
00:00:40,380 --> 00:00:40,830
a second.

7
00:00:41,250 --> 00:00:45,590
This file actually came from my file system.

8
00:00:45,600 --> 00:00:51,360
You can see the path to my file system here and you can navigate it by moving back and forth.

9
00:00:51,450 --> 00:01:01,110
For example, I can go one level back, I can double click and go one level in and so on and double

10
00:01:01,110 --> 00:01:06,730
click on a file to bring it up so that he can see it in your Sony.

11
00:01:06,750 --> 00:01:09,240
It is just going to get rid of that file.

12
00:01:09,240 --> 00:01:11,520
Had a world from an earlier lecture.

13
00:01:12,240 --> 00:01:21,450
Once you have a script showing in a tab of your Sony Idy and you have a micro python device connected,

14
00:01:21,450 --> 00:01:23,570
you can actually go ahead and run it.

15
00:01:23,580 --> 00:01:32,280
You can go into the run menu and just select run current script or hit a five and a will send it to

16
00:01:32,280 --> 00:01:34,780
the 32 and execute it automatically.

17
00:01:35,190 --> 00:01:41,130
So a script doesn't need to be on the device for it to be executed.

18
00:01:41,760 --> 00:01:47,290
Of course, if you want your especially to to be able to operate independently of your computer.

19
00:01:47,310 --> 00:01:50,520
Then the script needs to be on the device itself.

20
00:01:50,800 --> 00:02:00,150
And I'm going to show you how to automatically execute a script stored on the CPU 32 when you it up

21
00:02:00,150 --> 00:02:03,000
in a later lecture in this section.

22
00:02:03,490 --> 00:02:10,290
But for now, what I want to show you next is how to upload a script to your especially to that you

23
00:02:10,290 --> 00:02:12,690
have already created on your local machine.

24
00:02:12,720 --> 00:02:13,880
There's a couple of ways to do that.

25
00:02:14,250 --> 00:02:22,390
The first way is to independently and arbitrarily select any file on your local file system and choose

26
00:02:22,410 --> 00:02:24,000
upload to forward slash.

27
00:02:24,360 --> 00:02:32,160
And that is going to send it to your DP three to see that right now it's not doing anything.

28
00:02:34,860 --> 00:02:35,520
Do you know why?

29
00:02:37,510 --> 00:02:38,230
Any ideas?

30
00:02:40,130 --> 00:02:41,120
OK, I'll tell you.

31
00:02:41,690 --> 00:02:48,140
So what is happening here is that the speaker is busy making this a little blink.

32
00:02:48,440 --> 00:02:52,700
So before I can do anything else with it, I need to interrupt it and remember that to interrupt the

33
00:02:52,700 --> 00:02:56,270
script, just like we did in the previous lecture on the show.

34
00:02:57,200 --> 00:03:06,040
When a script is running, you can hit control, see to disrupt it or to stop it or hit the stop button.

35
00:03:06,440 --> 00:03:13,160
And when you do that, then the hospitality is available for further interaction with Foley.

36
00:03:13,520 --> 00:03:18,770
So let's go back to this TransFair that I tried to start a bit earlier than click.

37
00:03:19,060 --> 00:03:24,640
I'm going to go for the button, going to click on this script and select upload two.

38
00:03:24,650 --> 00:03:32,120
So it's large and that is going to send it over to the east to the exact same thing can happen on the

39
00:03:32,120 --> 00:03:33,180
other side as well.

40
00:03:33,530 --> 00:03:35,420
So let me show you this.

41
00:03:35,430 --> 00:03:44,090
I'm going to create a new file and we're going to just do a little print command in here testing just

42
00:03:44,090 --> 00:03:46,540
a tiny program, and then I'm going to save it.

43
00:03:47,060 --> 00:03:52,470
Now I'm getting a ton of books asking me where would I like to save this file?

44
00:03:52,820 --> 00:03:55,910
Let's say that I'd like to save it on the micro python device.

45
00:03:56,570 --> 00:04:00,710
And in that case, it's asking for a name, say, SCoPI.

46
00:04:02,040 --> 00:04:09,570
OK, and the file appears here as you want to move this file and copy it across to your host computer,

47
00:04:09,840 --> 00:04:11,370
you do the same thing, right?

48
00:04:11,370 --> 00:04:14,160
Click on it to download.

49
00:04:14,160 --> 00:04:21,810
And then the path marked here is whichever path your files tap is showing onto your computer or this

50
00:04:21,810 --> 00:04:22,100
computer.

51
00:04:22,110 --> 00:04:28,030
In this case, I'm going to choose that and there is my local file.

52
00:04:28,800 --> 00:04:34,710
So that way you can also back up your programs in case you're writing them directly onto your ISP through.

53
00:04:35,550 --> 00:04:37,320
All right, let's close this.

54
00:04:38,250 --> 00:04:41,670
Let me show you how to do a bulk transfer operation.

55
00:04:41,700 --> 00:04:47,400
I'm going to switch back to the Micro Python DP three two lists of my scripts because I don't want to

56
00:04:47,400 --> 00:04:49,330
override any of these files right here.

57
00:04:49,720 --> 00:04:55,560
I'm going to choose a bunch of them, let's say Faid frequency test and the whole sense of test.

58
00:04:56,160 --> 00:05:01,460
And I'm going to upload them to be 32 like that.

59
00:05:01,470 --> 00:05:04,050
And here they are appearing.

60
00:05:04,050 --> 00:05:06,710
And I can do the opposite, of course I can.

61
00:05:07,120 --> 00:05:16,020
To select, which say I'm going to go for the button and the addition function and download them in

62
00:05:16,020 --> 00:05:25,770
bulk to my computer and they appear and therefore you can easily move files or groups files between

63
00:05:25,770 --> 00:05:28,470
your inspiration and the computer easily just.
