08-24-2016 09:30 AM
You can also store the previous values in shift registers so that you can use those values when the recieved channel does not match.
08-24-2016 09:45 AM - edited 08-24-2016 09:58 AM
Is this how you would implement the shift registers?
08-24-2016 09:47 AM
@udka wrote:Case structure accepts other types of case selector also apart from boolean.
-Case selector can be integer, Boolean value, string, or enumerated type value.
Edit: You can even combine compare and select operations into case structure.
Case structure accepts other types of case selector also apart from boolean.
-Case selector can be integer, Boolean value, string, or enumerated type value.
can you explain this part? A case structure only has a two way switch, but I need a 3 way, one for each transmitter node.
08-24-2016 10:23 AM
One way to show:
-You are talking about case selector and not strcture.
08-24-2016 10:28 AM - edited 08-24-2016 10:29 AM
@superomario wrote:can you explain this part? A case structure only has a two way switch, but I need a 3 way, one for each transmitter node.
Wire a string to the case selector input on the case structure. You can do the same for an integer. Unfortunately, the hex view does not exist for the string selector, so I would recommend using a lookup table.
08-24-2016 10:30 AM
@superomario wrote:Is this how you would implement the shift registers?
No. I would store the values that actually get written to the graph in shift registers.
08-24-2016 11:16 AM
@crossrulz wrote:
@superomario wrote:Is this how you would implement the shift registers?
No. I would store the values that actually get written to the graph in shift registers.
More like this?
Also I tried to set up the string case structure per your example but it's not looking for the strings just reports -1.
08-24-2016 12:11 PM
superomario wrote: More like this?
Much better.
superomario wrote: Also I tried to set up the string case structure per your example but it's not looking for the strings just reports -1.
That is because you need to use the "Source Address" as your search element, not the entire data string.
08-24-2016 01:29 PM
Oh okay gotcha. Thank you for all your help. I will mark this solved.