• R
    Robmalone

    Hi all, i have set up a new user with a home url of/iu/insulated-glove-test but when I log in as that user it takes me to data-point-details page. I have checked permissions and even denied permission for the data-point-details page for that user but it still takes me then when I log in.
    Is there something else I need to do? Thanks.
    Rob

    posted in User help read more
  • R
    Robmalone

    Hi Craig, There is indeed! WIll I post it?

    posted in User help read more
  • R
    Robmalone

    Hi all,
    I just deleted a data source (modbus IP) that I was using for testing purposes. Mango then crashed/shut down and now wont load. It gets to 40/50% and gives and error Unable to load /mango/status/ status:0

    The cmd window closes and there are no errors in ma.log.
    No other changes were made to mango or java.

    Mango version is 3.7.7.
    Java Version is AdoptOpenJDK 11.0.6.10

    EDIT: This appears to be a serial/com port issue. I have set up some modbus serial data points but when I enable the data source Mango crashes. It wont restart until I delete the database. No errors in ma.log, it just crashes when starting data sources.

    EDIT 2: I have tried a USB to RS485 converter in case it was a com port issue but it is also crashing Mango when I enable the data source. I have confirmed the converter is working using ModbusPoll on the same PC and slave device.

    Any Ideas? Thanks

    Rob

    posted in User help read more
  • R
    Robmalone

    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>

    posted in User help read more
  • R
    Robmalone

    @MattFox I'm not really thinking of any particular scenario, more of a generic tool. Say you have a motor which is getting old, you might want to compare some stats (current, power, temp etc.) from now to some time in the past or maybe you've recently had some PCBs fail, you could compare your power quality to how it was previously.
    Would it possible to retrospectively tag the start and end of the runtime events? That might work.
    Thanks.

    posted in How-To read more
  • R
    Robmalone

    Thanks for the replies.
    @MattFox I like your solution. It sounds great for certain situations which I will probably use at some point but for now I have no way of triggering an event, there may be no event to trigger. The 2 compressors was just an example. What I really need is to be able to select any 2 points at any 2 time ranges and plot them on the same graph. It could be very useful when comparing new/upgraded plant and equipment with old ones. Also a very useful tool for finding and diagnosing electrical/mechanical faults.

    @cwangv I have used this very nice chart before but it will only plot the same time ranges so I couldn't put 13:00-15:00 time range for point1 with 22:05-00:05 time range for point2.

    I figured it was a long shot. I think Ill just put one chart on top of the other and hide the time axis labels.
    Thanks again.

    posted in How-To read more
  • R
    Robmalone

    Hi all,
    is there a way to plot 2 different time ranges one one graph?
    I would like to have a graph where I can compare 2 points with 2 different time ranges. For example - I am logging kW of 2 compressors. Compressor 1 ran for one hour today between 14:00-15:00. Compressor 2 ran 3 days ago for one hour between 11:30-12:30.
    Can I plot the 2 series on one chart similar the image attached? 0_1588336109623_Compare Point.jpg

    Thanks

    posted in How-To read more
  • R
    Robmalone

    Thanks @CraigWeb. Well don't i feel like an idiot! Not sure where I was going wrong, I thought that's how I had it but when I copied your format in and it worked first time. Thanks again.

    Edit: Just as a matter of interest - If it was unix time what would the format be?

    posted in User help read more