I have a channel with 3 fields. Each field will either store a 1 or a 0, so true or false effectively.
Field 3 is a logical AND of field 1 and field 2 using the Matlab Analysis app.
What I want to do is update field 3 everytime either field 1 OR field 2 gets a new value, but I can only seem to set up one 'React' that reacts to either field 1 data insert or field 2 data insert but not both.
Any work arounds or advice would be greatly appreciated!!
You could use a fourth field. Put data in field 4 each time you update field 1 or field 2. Then trigger your react on field 4 with new data and have your matlab analysis check for data in field 1 or 2 and update field 3 based on the data check in your analysis app.
You could do something similar to this
data=thingSpeakRead(YOURCHANN#,'Fields',[1,2]); %add read api key if necessary
value=data(1) & data(2);
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee