PDA

View Full Version : Some images not visible in JACE web page?



glennmcaz
02-01-2007, 11:04 AM
I have used some of the canned graphics from KitPxHVAC in my AX JACE and WB.
I tried viewing the page through the local loopback of 127.0.0.1. Some of the pipes show up, but others don't. I also don't have the ducts appearing. I've compared properties of the items that appear to those that don't and the properties are identical.
I've also made sure the KitPxhvac is in the software on the platform (local and remote).

Anything you guys can think of?
Thanks in advance.

leaflying
02-01-2007, 03:47 PM
Upload your px file.

codewriter
02-01-2007, 06:26 PM
Upload the px to what? I think he is running the station on his pc.
Your running the station in workbench and then opening your browser and typing in "localhost" and then enter right?

Do you have both 3.0 and 3.1 loaded on the pc your using?

Post up the px file also, lets have a look.

glennmcaz
02-01-2007, 07:18 PM
I am running it both on the PC and a 201. The KitPx and KitPxHvac are both on the remote platform (quadzillion checked). These are basic test pages that aren't even going to work right as far ass the points are concerned (and i re-found the Label item so I don't have to use the Bound Lable and unanimate it anymore).
It's just certain images such as the pipewarmvert, and then the dpsshort... there are others, too, though.
Here's the xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Niagara Presentation XML -->
<px version="1.0" media="workbench:WbPxMedia">
<import>
<module name="baja"/>
<module name="bajaui"/>
<module name="converters"/>
<module name="gx"/>
<module name="kitPx"/>
</import>
<content>
<ScrollPane>

<CanvasPane name="content" viewSize="800.0,600.0" background="silver">

<BoundLabel layout="300,90,140,115" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="243,320,7,30" image="module://kitPxHvac/piping/hotVert.gif"/>

<BoundLabel layout="278,273,7,33" image="module://kitPxHvac/piping/hotVert.gif"/>

<BoundLabel layout="229,340,7,95" image="module://kitPxHvac/piping/warmVert.gif"/>

<BoundLabel layout="150,309,83,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="449,396,40,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="370,385,40,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="530,332,25,40" image="module://kitPxHvac/devices/pipeSensorTop.gif"/>

<BoundLabel layout="393,233,25,40" image="module://kitPxHvac/devices/pipeSensorTop.gif"/>

<BoundLabel layout="320,326,7,33" image="module://kitPxHvac/piping/hotVert.gif"/>

<BoundLabel layout="409,324,41,25" image="module://kitPxHvac/equipment/pumpHotLeftTrue.gif">
<ValueBinding/>
</BoundLabel>

<BoundLabel layout="409,380,41,25" image="module://kitPxHvac/equipment/pumpHotLeftTrue.gif">
<ValueBinding/>
</BoundLabel>

<BoundLabel layout="370,329,40,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="340,345,21,29" image="module://kitPxHvac/piping/hotTeeW.gif"/>

<BoundLabel layout="350,326,21,21" image="module://kitPxHvac/piping/hotElbowSE.gif"/>

<BoundLabel layout="350,371,21,21" image="module://kitPxHvac/piping/hotElbowNE.gif"/>

<BoundLabel layout="260,357,83,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="518,368,58,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="449,340,40,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="488,337,21,21" image="module://kitPxHvac/piping/hotElbowSW.gif"/>

<BoundLabel layout="488,382,21,21" image="module://kitPxHvac/piping/hotElbowNW.gif"/>

<BoundLabel layout="498,356,21,29" image="module://kitPxHvac/piping/hotTeeE.gif"/>

<BoundLabel layout="308,313,21,21" image="module://kitPxHvac/piping/hotElbowSW.gif"/>

<BoundLabel layout="276,302,21,21" image="module://kitPxHvac/piping/hotElbowNE.gif"/>

<BoundLabel layout="290,289,25,50" image="module://kitPxHvac/valves/globeValve2Way.gif"/>

<BoundLabel layout="265,269,103,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="241,344,21,21" image="module://kitPxHvac/piping/hotElbowNE.gif"/>

<BoundLabel layout="226,266,21,21" image="module://kitPxHvac/piping/hotElbowSE.gif"/>

<BoundLabel layout="231,306,21,21" image="module://kitPxHvac/piping/hotElbowSW.gif"/>

<BoundLabel layout="216,283,21,21" image="module://kitPxHvac/piping/hotElbowNW.gif"/>

<BoundLabel layout="7,269,211,91" image="module://kitPxHvac/equipment/heatExchanger.gif"/>

<BoundLabel layout="364,269,103,7" image="module://kitPxHvac/piping/hotHoriz.gif"/>

<BoundLabel layout="243,207,29,75" image="module://kitPxHvac/devices/dpsShortBtmAlarm.gif" valign="fill"/>

<BoundLabel layout="120,30,110,30" text="1738 Home" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)" mouseOver="highlight">
<BoundLabelBinding hyperlink="file:^PX_Files/1738home.px" statusEffect="none"/>
</BoundLabel>

<Slider layout="469,260,200,20" min="140" max="200" value="155">
<SetPointBinding widgetEvent="actionPerformed" widgetProperty="value">
<IStatusToBrush name="trackBrush"/>
</SetPointBinding>
</Slider>

<BoundLabel layout="474,240,190,17" text="Discharge Water Temp Setpoint">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="475,445,100,7" image="module://kitPxHvac/piping/warmHoriz.gif"/>

<BoundLabel layout="375,445,100,7" image="module://kitPxHvac/piping/warmHoriz.gif"/>

<BoundLabel layout="280,445,100,7" image="module://kitPxHvac/piping/warmHoriz.gif"/>

<BoundLabel layout="245,445,100,7" image="module://kitPxHvac/piping/warmHoriz.gif" valign="fill"/>

<BoundLabel layout="227,431,21,21" image="module://kitPxHvac/piping/warmElbowNE.gif"/>

<BoundLabel layout="217,320,21,21" image="module://kitPxHvac/piping/warmElbowSW.gif"/>

<BoundLabel layout="500,400,99,20" text="Return Water Temp">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="520,420,70,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="210,210,90,19" text="Flow Switch">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="220,230,70,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="309,344,29,21" image="module://kitPxHvac/piping/hotTeeN.gif"/>

<BoundLabel layout="267,266,29,21" image="module://kitPxHvac/piping/hotTeeS.gif"/>

<BoundLabel layout="10,90,140,115" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="25,155,100,20" text="Pump Status">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="25,175,100,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="25,95,100,20" text="Pump 1 Command">
<BoundLabelBinding/>
</BoundLabel>

<ImageButton layout="15,115,60,30" text="RUN">
<ActionBinding widgetEvent="actionPerformed"/>
</ImageButton>

<ImageButton layout="85,115,60,30" text="STOP">
<ActionBinding widgetEvent="actionPerformed"/>
</ImageButton>

<BoundLabel layout="155,90,140,115" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="170,155,100,20" text="Pump Status">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="170,175,100,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="170,95,100,20" text="Pump 2 Command">
<BoundLabelBinding/>
</BoundLabel>

<ImageButton layout="160,115,60,30" text="RUN">
<ActionBinding widgetEvent="actionPerformed"/>
</ImageButton>

<ImageButton layout="230,115,60,30" text="STOP">
<ActionBinding widgetEvent="actionPerformed"/>
</ImageButton>

<BoundLabel layout="470,50,140,160" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="490,50,100,20" text="Outside Air Temp">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="490,180,100,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<AnalogMeter layout="490,70,100,100" min="-15">
<ValueBinding>
<INumericToNumber name="value"/>
<ObjectToString name="text"/>
</ValueBinding>
</AnalogMeter>

<BoundLabel layout="320,100,100,20" text="Summer / Winter">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="320,125,100,20" text="SUMMER" background="lime">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="320,150,100,20" text="WINTER" background="blue">
<BoundLabelBinding/>
</BoundLabel>

</CanvasPane>

</ScrollPane>
</content>
</px>

glennmcaz
02-01-2007, 07:19 PM
I removed a couple of labels to get inside the post limit, but they are just bound labels with text or links to other pages in them... but I forgot that they don't appear in the screen either.


<BoundLabel layout="350,275,99,20" text="High Temp Water">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="492,293,108,17" text="Discharge Water Temp">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="214,365,128,15" text="Control Valve">
<BoundLabelBinding statusEffect="none">
<IBooleanToSimple name="image">
<Image name="trueValue" value="null"/>
<Image name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="500,310,70,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<BoundLabel layout="370,295,70,20">
<BoundLabelBinding>
<ObjectToString name="text"/>
</BoundLabelBinding>
</BoundLabel>

<SetPointFieldEditor layout="230,380,100,20">
<SetPointBinding>
<IStatusToBrush name="foreground" mode="foreground"/>
<IStatusToBrush name="background"/>
</SetPointBinding>
</SetPointFieldEditor>

<BoundLabel layout="0,0,210,20" text="Heat Exchanger System" font="18pt Tahoma" halign="left">
<BoundLabelBinding/>
</BoundLabel>

<BoundLabel layout="0,30,110,30" text="Base Home" background="#e0e0e0" border="top(1.0 solid black) right(1.5 solid black) bottom(1.5 solid black) left(1.0 solid black)" mouseOver="highlight">
<BoundLabelBinding statusEffect="none"/>
</BoundLabel>

codewriter
02-01-2007, 07:32 PM
hmm... works fine for me...

I'll look deeper later, the wifey wants to go to dinner.

glennmcaz
02-01-2007, 07:35 PM
I noticed that the modules at the top do not list KitPxHvac... but there are items from Hvac showing up... makes no freakin sense.
It is ALWAYS the same images showing or not showing, though... if that helps.
Thanks CW, I look forward to helping you help me :)

codewriter
02-01-2007, 09:04 PM
Send me the entire station zipped, something is wrong somewhere else.
Is this on 3.0 or 3.1 on your end?

leaflying
02-01-2007, 09:11 PM
Upload the px to what?To this forum. :confused:

glennmcaz, here are 2 screenshoots. Same to yours or not?

glennmcaz
02-01-2007, 09:23 PM
Leaflying... dagnabbit, you got it to work... you suck. LOL
I am missing the lower warm pipes buttons at the top and some other things... consistently.
But only when viewing through the web interface (IE6 with all the latest packs, as well as latest java updates). in PxView, it works fine.

Codewriter... email sent

leaflying
02-01-2007, 09:55 PM
Code handles it, so I dont have to think hard.

This reminds me a geek's t-shirt, it says "I write code so you dont have to".

glennmcaz
02-01-2007, 10:01 PM
I have one that says _ _ _ _ you in binary :) Just one more of my offensive t-shirts that we've discussed before.
There's also the hex for "I _ _ _ _ed your girlfriend"

codewriter
02-01-2007, 10:09 PM
Code handles what?

Sorry leaflying, I now understand what you mean, I was thinking hard to, like what trick do I not know about... lol... I thought you were going to break out some super secret or something... ;)

When I open the px, mine looks just like those as well.

glennmcaz
02-01-2007, 10:10 PM
Have you run it in a web browser, not the pxviewer in WB

codewriter
02-01-2007, 10:29 PM
Yep, it works in everything I try it in. Your horizontal pipe images are not sized properly, but other than that it all appears as I think you intended.
Maybe thats what your "not" seeing, when in px viewer click on your horizontal pipes, and drag the top handle up or the bottom handle down a bit so tha you see the entire width of the pipe, and then reposition so that it connects properly with the other pipes.

In WB, go to the top menu, select Tools/Options/Px Editor/ and change the grid size and snap size to a smaller value and that will give you a finer control over placement, if that does not give you the resolution you want, switch the Use Snap to false. For basic pages I set grid to 5 and snap to 5, if I am doing detailed stuff I turn off the Use Snap to give me exact control.

glennmcaz
02-01-2007, 10:33 PM
I use Ctrl+arrow key to do fine placement. if memory serves me right, I just used the default image and dragged it around the page. I might have used the grab handles to shorten the h length of the h-pipes (anyone thinking of a Weezer song?), but i didn't do anything to the vert sizing.
I'll see what I can do with your instructions.
Thanks

codewriter
02-01-2007, 11:29 PM
I use Ctrl+arrow key to do fine placement.

Thanks! I just learned something! I still like adjusting my snap so I can drop it a little closer to exact placement the first time, but the Ctrl+arrow will make life just a wee bit easier when I am a click off.

glennmcaz
02-02-2007, 07:47 AM
It was something Phil showed us in AX training, and it's one pixel at a time. In a normal arrow move, it's something like 5 px (at least it is in a 10px grid).
I was used to it from other graphics progs

leaflying
02-02-2007, 10:22 AM
Since we are here, I have a question. Did you guys find there are certain areas on the screen that you can not apply "down" or "left" arrow (you keep pressing the button, but the image block wont move.) ?

neuron
02-02-2007, 11:12 AM
Sometimes images that are on the same layer hide one to the other...
Or a image that is not resized correctly.

leaflying
02-02-2007, 11:41 AM
May not be that issue, cause in certain area (usually bottom right part), you can use up and right arrows to move images/labels but not down and left arrows.

Sometimes images that are on the same layer hide one to the other...
Or a image that is not resized correctly.

glennmcaz
02-02-2007, 06:15 PM
If the overall image border (not just the visible colored area) is touching the edge of the canvas, then you can't move it. once you bring it inside the canvas on all edges, it won't move outside of the canvas again.
Look at where your grab handles are. If they're against the edge of the canvas (easier to see with Grid on) then it's not gonna move in that direction.

That's actually an improvement I'd like to see them make. Allow us to move items off the viewable screen as some of their canned graphics are too large for any useable screen sizes. I typically dev in 800x600 as no one runs a PC screen at that small of a res anymore. But their graphics are over 1000px wide! :eek:
I know I know... size to image or whatever. I forgot what that even does. The sponge that was my brain has already dried out since training. LOL