How to set a bit and leave it
The company I work for recently took over tech support for a SCADA PC that has Lookout 6.1. Our customer is a small town's Utilities department.
A new pumphouse communicates back to the Public Utilities SCADA PC using radio ethernet. We've found that when setting command bits (Ack alarms, Reset alarms, disable/enable alarms, manual/auto mode change) the radio transmission introduces a delay factor. However, when clicking a pushbutton object to set a bit, Lookout resets the bit almost immediately and long before the remote pumphouse PLC receives the command.
I've looked at and tried the .snapdelay option, set the pushbuttons to latch their outputs, and examined the Lookout.ini settings but have not achieved the desired result. I want to set a bit high with a pushbutton, and leave it high until (optonally) logic in the PLC resets it back to zero. The opposite action would also be desireable, set and stick 0 from a 1 state. In this way, the action would be like a true toggle.
I want Lookout to just get out of the way and not manipulate the output at all: accept the set bit and leave it alone completely. I checked the sample applications, NI website knowledge base and discussion groups, but nothing comes close to explaining how to set and leave a bit in Lookout. Flip-flop objects, one-shot objects and the .snapdelay feature are not suitable to this purpose. Why does Lookout not contain a simple toggle capability?
Can anyone please advise me of a method that will provide what I need?
pb-edm
Thank you for the suggestion.
The radio delay I'm working with is about 2 to 5 seconds, sometimes a little longer.
I was at the customer's site earlier this week and tried several things. Almost nothing worked. I noticed a while ago that a SnapDelay of 0 does NOT disable it on any of the pushbutton objects I created in the app.
I did see in the Lookout Readme Notes file that the unwanted snapback behavior when using remote connections has been a "feature" since version 6.0. The readme contains several possible workarounds, none of which work (as mentioned in my original post).
A set of configurations I found in another application worked for half the objects I newly created, and did not work for the other half -- about 15 objects in total, all pushbuttons. In the pushbutton object properties, I set connections for .enable, .resetvalue and .value to the remote PLC address. When the pushbutton object is clicked, the desired value is forced continuously until a change of state is registered in the PLC. But like I said, it only works about half the time.
Obviously this IS a bug. I'm hoping Lookout pulls up its socks and issues a patch. We don't have ours/our customer's time to waste on something that is accomplished without a second thought in other products.
-pb-edm
Similar Messages
-
How to set input delay and output delay when source Synchronous
ClkIN is the board clock which is connected to the FPGA. Clkif is the generated clock from ClkIN. The Device's clk come from Clkif. So, how to set input delay and output delay in this scene(within my understand, this is Source Synchronous)?
The example in many document, the input delay and output delay setting all refer to board clock(within my understand, this is System Synchronous). In that scene, the input delay max = TDelay_max + Tco_max; input delay min = Tdelay_min + Tco_min; the output delay max = Tdelay_max + Tsu; output delay min = Tdelay_min - Th.
So, I want to know how to set input/output delay in the Source Synchronous.
In system synchronous, I set input/output delay such as:
create_clock -period 20.000 -name ClkIN -waveform {0.000 10.000} [get_ports ClkIN]
create_generated_clock -name Clkif -source [get_pins cfg_if/clk_tmp_reg/C] -divide_by 2 [get_pins cfg_if/clk_tmp_reg/Q]
create_clock -period 40.000 -name VIRTUAL_clkif //make virtual clock
set_input_delay -clock [get_clocks VIRTUAL_clkif] -min 0.530 [get_ports DIN]
set_input_delay -clock [get_clocks VIRTUAL_clkif] -max 7.700 [get_ports DIN]
set_output_delay -clock [get_clocks VIRTUAL_clkif] -min -0.030 [get_ports DOUT]
set_output_delay -clock [get_clocks VIRTUAL_clkif] -max 1.800 [get_ports DOUT]
*******************************************************************************************So, first. Architecturally, the clock that you forward to your external device should not come directly from the clock tree, but should be output via an ODDR with its D1 input tied to logic 1 and the D2 tied to logic 0. This guarantees minimal skew between the output data and the forwarded clock.
ODDR #(
.DDR_CLK_EDGE("OPPOSITE_EDGE"), // "OPPOSITE_EDGE" or "SAME_EDGE"
.INIT(1'b0), // Initial value of Q: 1'b0 or 1'b1
.SRTYPE("SYNC") // Set/Reset type: "SYNC" or "ASYNC"
) ODDR_inst (
.Q (Clkif_ff), // 1-bit DDR output
.C (ClkIN_BUFG), // 1-bit clock input
.CE (1'b1), // 1-bit clock enable input
.D1 (1'b1), // 1-bit data input (positive edge)
.D2 (1'b0), // 1-bit data input (negative edge)
.R (rst), // 1-bit reset
.S (1'b0) // 1-bit set
OBUF OBUF_inst (.I (Clkif_ff), .O (Clkif_out));
This generates an output clock that is the same frequency as your input clock. This is consistent with your drawing, but inconsistent with your constraints - is the forwarded clock a 50MHz clock or a 25MHz clock?
I will assume your ClkIN goes to a BUFG and generates ClkIN_BUFG. Your first constraint generates a 50MHz clock on the ClkIN port which will propagate through the BUFG to (among other places) this ODDR.
create_clock -period 20.000 -name ClkIN -waveform {0.000 10.000} [get_ports ClkIN]
Assuming your forwarded clock is supposed to be 50MHz, then your 2nd command is close to correct
create_generated_clock -name Clkif -source [get_pins cfg_if/ODDR_inst/C] -combinational [get_pins cfg_if/ODDR_inst/Q]
With this done, you have successfully described the forwarded clock from your design. This is the clock that goes to your device, and hence should be the clock which is used to specify your input and output constraints.
set_input_delay -clock [get_clocks Clkif] -min 0.530 [get_ports DIN]
set_input_delay -clock [get_clocks Clkif] -max 7.700 [get_ports DIN]
set_output_delay -clock [get_clocks Clkif] -min -0.030 [get_ports DOUT]
set_output_delay -clock [get_clocks Clkif] -max 1.800 [get_ports DOUT]
If you want to get fancier, you could try adding a set_clock_latency to the forwarded clock to account for the board propagation of the clock
set_clock_latency -source TDtrace2 [get_clocks Clkif]
(But I haven't experimented with clock latency on a generated clock and I don't know for a fact that it works).
Avrum -
How to set multiple ORACLE_HOME and ORACLE_SID, on Windows
How to set multiple ORACLE_HOME and ORACLE_SID, on Windows.
I have 5 oracle instances. Every time if i want to start up the services , I am manually setting the environment variable (ORACLE_HOME and ORACLE_SID) and starting the services one at a time.
Can we set multiple ORACLE_HOME and ORACLE_SID in Start->My computer-> properties-> advance-> Environment variable.
Thanks
NaveenHi ,
Can you please give me the link, for the doc you are referring to
Thanks
Naveen -
While trimming a clip in my timeline, the entire timeline moves with my trim. How can I stop that and leave a gap in-between clips? Also when I use my blade it only leaves a dotted line in the clip. How can I make that a solid line? I do a lot of flickering in my videos and don't need that some what of a snapping effect while I edit. Please help me someone. I believe i upgraded from FCP 10.0.1 to 10.0.3 and before it never did this.
Mark an In point and an Out point (which creates a Range) and hit the forward delete key (Replace with Gap.) On a MacBook, you'll probably need to hold down the Fn key and type the Delete key (or, I think you might be able to use Shift-Delete as the same command). On an iMac/Mac Pro keyboard, it's the key just to the left of 'end' or the next key above the left arrow key.
You can use the Range tool (hold down the R key and click drag over your clip) or the Blade tool to cut at the in and out (then select the cut and replace with gap).
You can also go into Commands > Customize (command-option-K) and assign a different key to Replace with Gap.
If you need to ripple edit the ends (cut), create a small section that is Gap, and hold down the T key while you use the mouse to click drag both ends (double sided trim cursor) of the cut.
Don't worry about the dotted line blade... That just lets you know that the frames on either side of the cut are continuous, or sequential — nothing has been moved yet. Once frames from either side of the mark have been cut, it becomes a full fledged cut resembling a separate clip. -
How to set the IP and MAC address in C program?
My working environment is Sun250 Server, Solaris 7 operating system. I encountered a problem ---- How to set the IP and MAC address in C program to make the system change it IP & MAC at runtime?
Any idea is welcome! Thanks!Hi
As a simplest possible solution, you can use the system command
to run ifconfig that can set both the mac address and the IP address of the system. You will have to use setuid though.
Or you can use the DLPI calls ( do a man DLPI or search for a
Sun documentation on the same at http://soldc.sun.com) to write
a pure C program.
HTH
Shridhar -
How to set default currency and Country in R12 financial modules
Hi all,
How to set default currency and Country in R12 financial modules (AR,AP,GL,FA,CE) becuase I found some default settings are shown "USD" & "United States" such as create AR Customer, the Country is shown the default "United States"....
Can anybody advise ?
Thanks & Regards,Hi,
Change the below profile for the user to a territory different than the US :
In System Administrator, navigate to Profiles -> System.
Select Site, Application, and Responsibility.
Profile options:
Default Country
HZ: Reference Territory
ICX: Territory
Regards,
Raju. -
How to set the WIDTH and ALIGN of h:column in h:dataTable ??
How to set the WIDTH and ALIGN of <h:column> in <h:dataTable>??
Thanks a lot!Hi,thanks to your reply.
Now I find a more convenient appraoch to set column's width and align respectively:
<h:dataTable ...>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:80px; text-align: right;" value='#{row.fieldA}'/>
</h:column>
<h:column>
<f:facet name='header'>
</f:facet>
<h:outputText style="width:120px; text-align: left;" value='#{row.fieldB}'/>
</h:column>
</h:dataTable>
It works fine.
^-^ -
How to set the router and play the Command & Conquer using direct IP mode?
My router is WRT54GFirmware Version: v3.03.1
How to set the router and play the Command & Conquer using direct IP mode with other computer?Hi, when you say direct IP mode, what do you mean ? do you wanna play the game online or on the LAN ??
can you give a few more details. -
How to set the gain and input coupling for each channel on a NI 4462 DaQ card?
I've seen a few examples in how to set the gain for NI 4462, but none tell me how to chose the channel I wish to set this gain. Also the same problem with input coupling
Does anyone know how to set the gain and input coupling for each individual channel?
Thanks,
Hector
LabView 8.5 Windows XPHey Hector,
http://forums.ni.com/ni/board/message?board.id=100&thread.id=1688
This has a few examples of how to do that. Let me know if you have further questions.
Have fun!
-gaving -
How to set the Mail and Fax options for the Smartforms ???
How to set the Mail and Fax options for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .
>
veera Karthik wrote:
> How to set the Mail and Fax options for the Smartforms ??? Please reply me very soon. Its a life deciding question now for me. Please .
Hi
Check this Link:
http://help.sap.com/saphelp_nw04/helpdata/en/a5/28d3b9d26211d4b646006094192fe3/frameset.htm
P.S: Never say reply me soon....people answer you here voluntarily and as everyone has their own desk to manage...sp replies may late or early..depending upon the availabality of the members.
Vishwa. -
How to set 32-bit ODBC to crystal report in 64-bit OS
hello,
Previously, I have asked for the CR export question after OS change from WINXP 32 bit to WIN2003 64 bit, and I configurate the 32 bit ODBC administrator at the server and tried to run program to generate simple report, just use CR's own datasource Xtreme Sample Database 11.5. Unfortunately, the program pop up the error message below.
IM002:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Error in File C:\DOCUME1\Temp\LOCALS1\Temp\1\CrystalReport1 {20D21A9C-A4AD-4175-81A4-3A25E2D463A0}.rpt:
Unable to connect: incorrect log on parameters.
So I assume, the program will look up for the default ODBC 64 bit for use only. please advise how to set the program to get the 32 bit ODBC to generate report.
Thanks.
Edited by: bigban on Jun 18, 2009 11:32 AMSee [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] and [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
[This|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] article may also be of use.
Also ensure you have the correct 32 bit database client installed.
And, what version of CR are you using? What version of .NET are you using?
Ludek -
How to set buildID.xml and custom.properties in SDK
Hello,
I just completed a new build deployment of SAP ME5.2, because after I deployed the new version, I don't think I have set a
correct version number.Can you someone give me a sample how to set the buildID.xml and custom.properties? I am a new on the SAP ME5.2
The Base version is ME_Base_5.2.5.16.5_netweaver-71_Update.zip and
MEClient_Base_5.2.5.16.5_netweaver-71_Update.zip. the HB customzation
version is ME_xxxxxx_2.0.0.0.x_netweaver-71.
Within the sap note 1484551, you mentioned we need change the
SDKInstallDir/build/buildID.xml file, here is the context of the file:
buildID.xml -
<?xml version="1.0" encoding="UTF-8"?>
<buildID xmlns:xs="http://www.w3.org/2001/XMLSchema">
<customer>XXXXXX</customer>
<revision>1.0.0.0</revision>
<build>1</build>
</buildID>
buildID.xml -
1. how can we change the revision and build?
There is another file BuildToolDir/build/script/custom.properties, here
is the file context:
custom.properties----
This file contains build properties used to configure the build
system.
The name of the software vendor implementing the customizations.
vendor.name=xxxxxxxxx
Vendor build identifier. This value is used to uniquely identify
customizations built by a particular vendor for a particular customer
and base
application version.
This is also used in path locations and in naming certain build
artifacts, like the custom EJB module and the utility classes archive.
vendor.id=xxxxxxxxx
The installation of the J2EE engine installed in the development
environment.
ex. C:/usr/sap/CE1\J00
j2ee.instance.dir=J2EEInstanceDir
The web context path used to access the main web application. This
is used by the build to set the
context-root value in application.xml after an update has been
imported.
web.context.path=
The web context path used to access the production XML interface web
application. This is used by the build to set the
context-root value in application.xml after an update has been
imported.
xml.context.path=
The web context path to access resources from the web extension
application, like images and work instruction HTML files.
web-ext.context.path=web-ext
The target database vendor. Valid values are 'oracle' or 'sqlserver'.db.vendor=ORACLE
The JDBC driver configured for the application server.
db.drivername=VMJDBC
JDBC connection propertes for the WIP (Work In Process) database.
This is the primary application database.
db.wip.driverclassname=
db.wip.driver.url=
db.wip.host=
db.wip.port=
db.wip.sid=
db.wip.user=
db.wip.password=
JDBC connection propertes for the ODS (Open Data Store) database.
This is the offline reporting and archiving database.
db.ods.driverclassname=
db.ods.driver.url=
db.ods.host=
db.ods.port=
db.ods.sid=
db.ods.user=
db.ods.password=
Flag indicating whether to add DPMO NC codes to NC idat files when a
new update is imported. This value is initially
set by the installer according the the user selection.
dpmo.nc.codes=
The default locale used by the production system. The default locale
is the locale used to display locale
specific text and messages when the requested locale is not
available. This property does not need to
be set if the default locale is english.
default.locale=en
Used when running the build from Eclipse to locate the java compiler
used by the WebLogic EJB compiler.
jdk.home=C:/Program Files/Java/jdk1.5.0_20
Compiler debug mode. If set to 'true', debug symbols will be
compiled into the byte code.
compile.debug=true
Keystore alias
security.alias=xxxxx
Keystore password
security.storepass=ChangeIt
Key password
security.keypass=ChangeIt
Keystore type (jks=default,jceks,pkcs12)
security.storetype=jks
Optional source control build identifier that is to be displayed with
standard version information.
scs.build.ID=
Optional extended version information to be displayed with standard
version information.
ext.info=
custom.properties----
2. How can we change this here?
Regards,
Leon Lu
Edited by: Leon Lu on Aug 4, 2011 11:14 AM
Edited by: Leon Lu on Aug 4, 2011 11:21 AMHi,
I created one request with logo in the header an page in the footer etc. and called StyleSheet. After you can import this formats by each request.
You can do this in compound layout.
Regards,
Stefan -
How to Set JMS property and Read JMS property in BPEL using JMS adapter
Does any one know how to set or read more than one JMS property in BPEL using JMS adapter. My queue server is Oracle JMS server.
Any help and sample is well appreciatedHi Van
I have noted that only the attribute "type" is missing. It seems that when you create a "string" property, the attribute "type" is droped from the XML. If you use another type (as "integer" or "double") it stays there.
If you try to read your properties, except for the "type" attribute, you should be successful, as I am. If you need, please tell me your email, I can send you my code.
Source Code:
in ASSIGN activity (process which SENDS the JMS message):
<assign name="TESTES">
<copy>
<from expression="'string'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@type"/>
</copy>
<copy>
<from expression="'name'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@name"/>
</copy>
<copy>
<from expression="'value1'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@value"/>
</copy>
<bpelx:append>
<bpelx:from>
<Property name="" type="" value=""
xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/"/>
</bpelx:from>
<bpelx:to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties"/>
</bpelx:append>
<copy>
<from expression="'string'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@type"/>
</copy>
<copy>
<from expression="'name2'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@name"/>
</copy>
<copy>
<from expression="'value2'"/>
<to variable="HeaderJms" part="outboundHeader"
query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@value"/>
</copy>
</assign>
in ASSIGN activity (process which READS the JMS message)
<assign name="Assign_1">
<copy>
<from variable="Variable_1" part="inboundHeader"
query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@name"/>
<to variable="temp"/>
</copy>
<copy>
<from variable="Variable_1" part="inboundHeader"
query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@value"/>
<to variable="temp"/>
</copy>
<copy>
<from variable="Variable_1" part="inboundHeader"
query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@name"/>
<to variable="temp"/>
</copy>
<copy>
<from variable="Variable_1" part="inboundHeader"
query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@value"/>
<to variable="temp"/>
</copy>
</assign>
Note that I do not try to read the "type" attribute, otherwise it will fail.
Here is the JMS Header Message received:
<inboundHeader>
<JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">
<JMSInboundHeaders>
<JMSCorrelationID>
bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/3200025-BpInv0-BpSeq1.6-2
</JMSCorrelationID>
<JMSDeliveryMode>2</JMSDeliveryMode>
<JMSExpiration>0</JMSExpiration>
<JMSMessageID>ID:467DFA1FA1ED459EBF37F51F596C3F12</JMSMessageID>
<JMSPriority>4</JMSPriority>
<JMSRedelivered>false</JMSRedelivered>
<JMSType>com.mercurio.lms.integration.c001eip.c001EIntegrationPoint</JMSType>
<JMSTimestamp>1201552046253</JMSTimestamp>
</JMSInboundHeaders>
- <JMSInboundProperties>
<Property name="JMSXDeliveryCount" type="integer" value="1"/>
<Property name="JMSXRecvTimestamp" type="long" value="1201552046698"/>
<Property name="JMSXUserID" value="lms_dev_int_v1_user"/>
<Property name="JMS_OracleDeliveryMode" value="2"/>
<Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
<Property name="JMS_OracleDelay" type="long" value="0"/>
<Property name="JMSXState" type="integer" value="0"/>
<Property name="IAS_VERSION" value="10.1.3"/>
<Property name="JMS_OracleDeliveryMode" value="2"/>
<Property name="name" value="value1"/> ("type" attribute was droped!!!)
<Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
<Property name="name2" value="value2"/> ("type" attribute was droped!!!)
</JMSInboundProperties>
</JMSInboundHeadersAndProperties>
</inboundHeader>
Regards
Marcelo -
How to set the width and heigh in the popup window
Hi All,
I tried to show a report in a popup window style.
In the column link section, I defined the URL like the following:
javascript:popupURL('f?p=&APP_ID.:128:&SESSION.::&DEBUG.::P128_PAY_RATE,P128_PAY_TERMS:#PAY_RATE#,#PAY_TERMS#'). how and where to set the height and width for page 128?
Thank you,
sparkHere is a sample of the JavaScript function I re-use that opens a popup window. You'll notice that it includes the width and height of the popup window:
function callTCPopup (formItem1) {
var formVal1 = formItem1;
var url;
url = 'f?p=&APP_ID.:1111:&APP_SESSION.::::P1111_TC_ID:' + formVal1;
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
if (w.opener == null)
w.opener = self;
w.focus();
}You could also look at using a Modal Page (Skillbuilders' plugin - watch the video for use). -
How to set standalone model and create local company code
HI,
For SRM5.0 or 7.0 , how to set standalone model ?, when I check attribute , the system warn me I must fill company code for BUK. I have no backend system .
thanks a lot
JesseJesse,
You should define a Backend System using IMG setting 'Define Backend Systems' as a non-sap backend system and use it with BUK attribute.
SG
Maybe you are looking for
-
Medias for Adobe CS3 Design Standard/Premium (Windows) Volume License
Hello, We have volume licenses for CS3 Design Standard /Design Premium but no media kit for Windows, unfortunately. All attempts at finding this or buying it have failed. I've spoken direct to Adobe and the official solution is to upgrade to CS6 or A
-
How do I get rid of iMac always asking for login keychain
How do I get rid of iMac always asking for login keychain, very annoying
-
This question is also posted in the "Forum: Oracle Authentication Services for Operating System" I am trying to install the preview. I am using example provided in OID-LinuxWorld-Demo-OAS_viewlet_swf.html. Any insight on why this fails? see below...
-
Map is not shown, only white space
When I open the map module, I don't see a map. The area where the map should be shown is just white. I reinstalled ALR but that did not help. MacOS 10.8.2 ALR 4.3 How could I fix this?
-
Setting up Photoshop Elements 13 to use Shutterfly
How do I set up Photoshop Elements 13 so I can print photos through Shutterfly. I have a Shutterfly account but can't find any place in Organizer or Editor to provide by Shutterfly UserName and password. Would seem to be obvious but it isn't, not in