1
00:00:00,360 --> 00:00:06,780
In this lecture, I'm going to show you how to use the link in and link out notes with these two notes,

2
00:00:06,780 --> 00:00:13,590
you can actually connect and exchange data between nodes that belong in different tabs or in different

3
00:00:13,590 --> 00:00:14,220
flows.

4
00:00:14,640 --> 00:00:18,530
And you didn't know how to do that using the global variables.

5
00:00:18,540 --> 00:00:24,330
But this this is an alternative way of exchanging data between tabs.

6
00:00:24,330 --> 00:00:31,440
And it's quite easy to set up an especially useful if you just want to share data point of point or

7
00:00:31,470 --> 00:00:32,480
node to node.

8
00:00:32,880 --> 00:00:38,840
So let's reuse a couple of existing flows here in the complete node.

9
00:00:38,850 --> 00:00:49,050
And what I do is I will use a link out node and let's say connected to the third output of my test function.

10
00:00:49,920 --> 00:00:59,760
So then I want to print out that message that is emitted by the third output of the test function.

11
00:00:59,760 --> 00:01:07,500
I want to take it from here and then pass it on and print it in the catch node flow by message three

12
00:01:07,920 --> 00:01:09,120
debug node.

13
00:01:09,570 --> 00:01:17,640
So to make that work, I'm going to use link in at and I'm going to connect that to message three and

14
00:01:17,640 --> 00:01:19,470
then go back to my original.

15
00:01:19,470 --> 00:01:22,980
So link out and I want to link that.

16
00:01:25,480 --> 00:01:35,050
To this catchword, so we just double click on it and the edit link, L.A. window pops up and it already

17
00:01:35,050 --> 00:01:38,620
knows which link in notes are available in other flow.

18
00:01:38,650 --> 00:01:40,900
So I can select that, of course.

19
00:01:41,020 --> 00:01:44,020
And now you can see it graphically that the two have been connected.

20
00:01:44,520 --> 00:01:46,630
And an a way to do it is to give it a name.

21
00:01:46,630 --> 00:01:58,210
So I'm just going to call this in node test in node so that it's easier to see in the listing instead

22
00:01:58,210 --> 00:02:04,660
of just the random note id not running, but the notoriety from using a name instead of the node ID

23
00:02:04,660 --> 00:02:05,100
here.

24
00:02:05,980 --> 00:02:11,320
Now deploy the flow and.

25
00:02:12,610 --> 00:02:17,710
Just kind of turn off all of the outputs in this node and.

26
00:02:19,360 --> 00:02:29,230
These puts in the target note, this is a target mode and I'm going to take printouts or show printouts

27
00:02:29,230 --> 00:02:32,300
from all nodes regardless of the flow.

28
00:02:32,980 --> 00:02:35,170
So let's trigger the injector node.

29
00:02:36,750 --> 00:02:44,520
And you can see now that message three, which belongs to the catch no flow outputs, number three,

30
00:02:44,790 --> 00:02:53,670
which came out of this output and through the link out mode into this link in node and then into the

31
00:02:53,670 --> 00:02:55,710
message three debug node.

32
00:02:56,990 --> 00:03:06,020
So a link in and link out or an alternative way for data to be shared among notes that belong to different

33
00:03:06,020 --> 00:03:06,620
tabs.
