Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
ma-set-point-value
-
Hi all,
I have a dashboard set up with some alphanumeric virtual data points.
On the dashboard I have some ma-set-point-values to input serial numbers and also an svg graphic with some buttons using ng-click to set values.
Using ng-click I cant seem to set the values for the data point that have a ma-set-point-value on the same dashboard. The same ng-click operation works for all other points. Is this possible to do? Thanks.EDIT: Figured out to get the results I want using event detectors.
Here is the markup.:
<ma-set-point-value id="279c1002-ac83-4bc4-ac1d-c820822b97c2" style="position: absolute; left: 810px; top: 155px; width: 224px; height: 33px; z-index: 4; font-size: 25px; background-color: rgb(255, 255, 255); color: rgb(102, 255, 255);" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'Glove3SNPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="17f2a32f-b141-4f75-a85c-91c09e518103" style="position: absolute; left: 1335px; top: 155px; z-index: 4; width: 220px; height: 33px; font-size: 25px; color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'Glove5SNPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="e179f987-85b8-42d1-9bf8-44b89f32ad61" style="position: absolute; left: 291px; top: 320px; z-index: 4; width: 215px; height: 33px; font-size: 25px; background-color: rgb(255, 255, 255);" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'Glove2SNPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="14f75f75-919f-4471-9082-77635d36b49c" style="position: absolute; left: 810px; top: 320px; z-index: 3; width: 225px; height: 33px; font-size: 25px; background-color: rgb(255, 255, 255);" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'Glove4SNPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="2996ff30-acf5-4d87-88b9-b38c8c20cc3a" style="position: absolute; left: 1335px; top: 320px; z-index: 5; width: 220px; height: 33px; font-size: 25px; background-color: rgb(255, 255, 255);" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'Glove6SNPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="47fab070-dc11-48cc-aa1d-6b5081a50910" style="position: absolute; left: 1580px; top: 13px; width: 250px; z-index: 3; height: 33px; color: rgb(1, 1, 1); font-size: 25px; background-color: rgb(255, 255, 255); text-align: center;" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'CustomerPt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="0564cc38-1eeb-4e16-91ac-4d6ed118abc8" style="position: absolute; left: 1580px; top: 51px; width: 250px; z-index: 2; color: rgb(1, 1, 1); font-size: 25px; background-color: rgb(255, 255, 255); height: 33px;" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'CertificatePt'}:true | maFirst"></ma-set-point-value> <ma-set-point-value id="9cbc487e-39d6-47e3-9db3-7c86466dcd5a" style="position: absolute; left: 1580px; top: 89px; width: 250px; z-index: 2; color: rgb(1, 1, 1); font-size: 25px; background-color: rgb(255, 255, 255); height: 33px;" show-button="false" set-on-change="true" enable-popup="hide" point="designer.points | filter:{name:'JobNoPt'}:true | maFirst"></ma-set-point-value> <div ma-selector="#ResetButtonAll" ng-click="ResetMaxPt.setValue(9); Status.setValue(0); Glove1LengthPt.setValue('n/a'); Glove2LengthPt.setValue('n/a'); Glove3LengthPt.setValue('n/a'); Glove4LengthPt.setValue('n/a'); Glove5LengthPt.setValue('n/a'); Glove6LengthPt.setValue('n/a'); Glove1SizePt.setValue('n/a'); Glove2SizePt.setValue('n/a'); Glove3SizePt.setValue('n/a'); Glove4SizePt.setValue('n/a'); Glove5SizePt.setValue('n/a'); Glove6SizePt.setValue('n/a'); GloveClassPt.setValue('n/a'); Glove1SNPt.setValue('n/a'); Glove2SNPt.setValue('n/a'); Glove3SNPt.setValue('n/a'); Glove4SNPt.setValue('n/a'); Glove5SNPt.setValue('n/a'); Glove6SNPt.setValue('n/a'); CertificatePt.setValue('n/a'); JobNoPt.setValue('n/a'); CustomerPt.setValue('n/a')" ng-style="{'fill': Status.renderedValue == 3 ? 'green' : 'grey'}"></div>