LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what does error message 'socket has been disconnected by its peer' mean?

i am trying to retrieve datasets from my list and am not sure if I have it setup properly. Also, if I want to record the same sets of tags for 64 different conditions, should I setup 64 datasets or can the id tag being an analog value take care of this?? I attached the error message and my scf file.
0 Kudos
Message 1 of 2
(3,274 Views)
In the example, all you have to make sure is that the computer name and Database path are correct. I am not sure why you are getting a Socket error.

Each DataSet can have any number of Runs underneath. Each of this Run has a unique ID. The start and stop of these Runs within the Dataset is determined by the Start when and End when settings.

So, if you wish to have different Runs for this same set, you must make sure that the Start and Stop conditions get triggered every time. For instance, if you select ID Tag changes as the Start and Stop condition, then every time the ID Tag changes (has to be an Analog Tag), a new Run is started with the value of the ID (Analog) Tag as the Run ID. Similarly, if you select Discrete Tag ON and D
iscrete Tag OFF as the conditions (and specify which one of the Discrete Tag to be used for this), whenever the Tag value goes True a new Run is started and when it goes false, the Run i stopped.

If you however wish to create Sets for these same 64 Tags but with different conditions, you would have to create 64 different Datasets and define the respective conditions for each one of them since the 'Start when' and 'Stop when' conditions cannot be changed dynamically.

Hope this helps.

Regards,

Khalid


0 Kudos
Message 2 of 2
(3,274 Views)