01-16-2018 01:49 AM
10-22-2018 12:29 AM - edited 10-22-2018 12:43 AM
Hi, you might have already figured it out by now, but anyway, when you used TCP Read function, occasionally it would return an Error 56 because your TCP Write function in the specified IP address had not written anything or because the reading loop is executing faster than the writing loop (or so I think, don't kill me. I am a beginner 😄 ).
The Type Cast function that you used however won't be aware of this Error 56 and would still try to convert the incoming string into the specified format. I am pretty sure that this can cause Error 74 as I have experienced the same. In order to solve the issue you can use a combination of shift register and case structure to filter out the Error 56 before you go to Type Cast it into a number.
11-09-2018 01:56 AM
Hi i encountered the same problem and i am not sure where did it go wrong in my code.......
11-09-2018 03:37 AM - edited 11-09-2018 03:38 AM
Here are the most glaring errors, bu there are probably more.
Client:
Server:
General:
You should give all your cluster elements a descriptive label, then use bundle/unbundle by name. Much more self-documenting. You might even make the cluster a typedef.
Put all your controls/indicators in a cluster on the front panel. No need for bundling/unbundling. If you make the cluster container transparent, you would not even be able to tell the difference on the front panel.
...
11-11-2018 01:37 AM
Thanks for the feedback alten,
to create the cluster i must do so by creating Reference of the various indicator/controls that i want in my cluster and use them to create clusters right?
11-11-2018 04:40 AM
@edmund99 wrote:
to create the cluster i must do so by creating Reference of the various indicator/controls that i want in my cluster and use them to create clusters right?
Sorry, I have absolutely no idea what you are talking about. There is no need for references here. Can you add a few more sentences to explain what else is needed?
(Add the missing wire as instructed and you have a working VI. You can polish it up later.)
11-11-2018 05:44 AM
Hi sorry what i meant was how do i create a type def cluster as suggested.
11-11-2018 06:10 AM