LV DSC 6.1: no tag refresh?
Hello:
I am using DSC 6.1 with LabVIEW and have the following issue: in the tag configuration editor I define tags originating from both the LabVIEW OPC server example (National Instruments.OPCDemo) and the Kepware simulation server. In the tag monitor tool I can see that all tags' quality are "good" but only the LabVIEW OPC server example tags update continuously although other OPC clients software reveals that the Kepware tags also should change continuously. Now if I stop/start the tag engine I will get updated values (once) then it stops again refreshing. I set the deadband to 0 and it does not change anything. No noticeable tag definition differences between the LabVIEW server tags and the Kepware tags. Any clue would be much apprecia
ted, thank you,
Christophe
Sorry, I was a bit in a rush so I was not attentive enough.
Here is another possible solution:
Change the OPC communication mode in DSC to synchronous communication for the Kepware server(default is asynchronous and some OPC servers don't work correctly using this method).
To do this navigate to Tools -> DSC Module -> Advanced -> Server Browser and click on the button labeled "OPC Client Settings".
Then hit the "View All" button and select the Kepware server from the list and hit the "Add" button.
Now your OPC server will appear in the Synchronous Communication list.
I hope this helps.
Best regards,
Jochen Klier
NI-Germany
Similar Messages
-
I have a head tag refresh in a page, but the "Go To URL" isn't a static value; it's actually a recordset that gets the url from a table. Here's the code:
<meta http-equiv="Refresh" content="0;URL=<?php echo $row_Recordset3['redirect']; ?>" />
It works fine, but I want to add a feature whereby the head tag refresh cancels if $row_Recordset3['redirect'] is empty. As it is now, if there isn't a value for the URL, the page keeps refreshing indefinitely. How could I fix the problem? Any thoughts are appreciated.
Thanks,
GabeNever mind; I figured it out:
<?php if ($row_Recordset3['redirect'] != 'nope') { ?>
<meta http-equiv="Refresh" content="0;URL=<?php echo $row_Recordset3['redirect']; ?>" />
<?php } ?> -
JSP Tags - Refreshing tag data
I have written a few custom Tag Handlers.
I built these Handlers to eliminate all scriptlet code from a JSP form page, and also for ease of reuse.
A few of the Handlers generate '<select>' tags, which have option values populated by a call to another Class object that performs a database query.
All of the tags work perfectly, however, the tags that rely on database calls for the values do not get rebuilt, thus the values do not reflect current table data - This was not a problem when the options where generated via scriptlets; the data was rebuilt any time the page was refreshed.
Is there a method available to signal the container to rebuild the tags each time the page is refreshed/called?sounds like a caching problem.. if so, you can test this by putting print statements in the page and reloading the page. If nothing prints, the server isn't getting the request, just the browser reloading from cache. if that is the case, then you need to be putting in the proper no-cache headers. I forget them offhand, but if you search this forum for "Pragma no-cache" you'll definitely find a post with the full set (there's a few things to set).
-
Problemas al instalar el modulo DSC y crear las Tags para el PLC
Hola, espero que me puedadn ayudar.
Actualmente estoy tratando de comunicar a Labview con un PLC y lo quiero realizar por OPC y el modulo DSC. Sin embargo al instalar el modulo DSC me sale un error de que ya existia el modulo, asi que checo en Tools>DSC y si esta pero no tengo el submenu de configure tags y sin este submenu no puedo configurar mis variables para el PLC ¿A que creen que se deba ? la version que estoy utilizando es la 8.2Hola Zeakiller es normal que no puedas encontrar este submenú en la versión de 8.2 pues en esta versión de DSC ya no se manejan las tags de la misma manera.
A partir de la versión 8 de LabVIEW en lugar de utilizar tags para comunicarte con tu PLC lo que se utiliza es variables compartidas. Tu programa lo tienes que crear dentro de un proyecto y ahí en una librería generas tus variables que es lo que vas a utilizar en lugar de tags.
En la siguiente dirección hay un link a un tutorial de DSC 8.x para que puedas iniciar con tu aplicación.
http://www.ni.com/swf/presentation/us/labview/newdsc/default.htm
Saludos
Benjamin C
Senior Systems Engineer // CLA // CLED // CTD -
Edit Tags in DSC RTS 8.0
I just received our first copy of the LV 8 DSC RTS and as I'm anxious to test, how hard an update to LV 8 will be for us, I installed it.
The most important question I currently have, is: where is the tag editor, or the equivalent of it?
In LV DSC 7.1 DSC RTS is a tag editor where I did define which database to log to and what to log to the database. Can I do this in LV 8 DSC RTS as well? What program do I have to use? Actually the install of the LV DSC 8.0 RTS didn't add any entries to the start menu as well (on a Win2K machine).
So do I have to recompile my application everytime if I want to:
change the database the data is logged to?
change the scaling of logged data?
change deadband, timing settings, etc.?
With the old Tag Engie I could edit all these things in the Tag Editor without ever recompiling my applications!
Currently I have the impression, that using DSC has got much more complicated...
Best regards,
CarstenDoes that really mean, there's no global GUI available in the DSC RTS anylonger where I can change logging conditions, etc.?
The workflow I want to use (as I do in 7.1), is:
Create a database.
Create a configuration of fieldpoint channels to be stored in database (with scaling, deadband, etc.).
Attach the configuration to the database.
Use a LV program to show some of the values (or not).
In LV DSC RTS 7.1 I just used the included Tag Engine Editor to define the database and all the logging parameters without the need to write a dedicated LV program. As we have a defined naming scheme for our data, I could easily attach datasocket URLs to GUI elements programatically (I used the elements names and then tested on initialization if a tag with that name exists or not).
If there's is no tool in LV 8 DSC RTS like the tag engine editor were I can define how to log data to a database without creating any LV program at all any more, LV DSC 8 won't be usable for us (and with that unfortunately LV 8!).
As I see I could create something like the tag engine editor using LV 8 DSC development system maybe, but neither do we have the man power, nor am I willing to do so, considering that I pay an update fee to do this work... :-(
So long,
Carsten
PS: yes, testing LV 8 DSC RTS left me in a bad mood... -
Placing meta tags possible in iWeb?
If you are publishing your website to a host other than .Mac - is one able to place in meta tags for each page?
And If so...how?
Is one able to place in a hit counter? And if so...how?
Thanks, NealPublish your site to a local folder and add tags using the freeware iWeb SEO Tool. One you have done this and published, subsequent publishing only needs the tags refreshed.
http://www.iwebformusicians.com/SearchEngines/Tags.html
"I may receive some form of compensation, financial or otherwise, from my recommendation or link." -
http://jobs.oracle.com/
Code is as follows:
<!-- Copyright © 1995,1998, Oracle Corporation, All Rights Reserved. -->
<HTML>
<BODY>
<title>HTML META tag refresh</title>
<meta http-equiv="Refresh" content="0;url=http:/jol_ext-jolap-dad/plsql/jol_www_pages_pkg.jol_intro">
</head>
</html>
Seven lines of code total, containing four problems ... not a great impression.
1. Comment contains © ... html character codes aren't necessary in a comment, and even if they were, it's missing the terminating semicolon to make it valid.
2. First tag after <html> is <body>, when it should be <head>
3. The content of the meta refresh lists the URL as http:/jol_... I'm not sure where to start with this one. It should either be a relative URL (i.e. url=/jol_ext-...) or an absolute URL (i.e. http://jobs.oracle.com/jol_ext-...). This is some horrible attempt to do both, and ends up doing neither.
4. The second to last tag is </head>. While this is half correct, since the meta tag should precede the closing </head> tag, there is no corresponding opening <head> tag, so the tags are mismatched. According to the order in which tags were opened, this "should" be </body> (which would also be wrong, for a different reason.
[5. This isn't really an error, but a nitpick. An http response code 301 should probably be used in this situation instead of a crappy <meta> refresh. Or, even better, just put the actual content in the web site root directory ... no redirect needed. If you do insist on using a meta redirect, the title of the page should probably be something more display-friendly, such as "Redirecting, please wait," instead of a low-level implementation-specific note.]
Then, when I went to report this problem, naturally I go to www.oracle.com -> Contact us, to find a "site feedback" link. As others have pointed out before [ http://forums.oracle.com/forums/thread.jspa?messageID=1735536 ], no such link exists. However, in visiting the "Contact Us" page, an HTTP authentication message appears for login.oracle.com. I tracked this down to the "image" /corporate/contact/dotted_horizontal.gif ... which actually results in an HTTP 302 temporarily moved message, redirecting the browser to https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~5426~A2B7981364[...]
This is further complicated by the fact that [apparently] this page prompts Opera for http authentication, and loads a regular web page for Firefox and Internet Explorer. Regardless, it's at least slightly broken (probably in at least two ways).
For being "the information company," Oracle really needs to work on how their information is presented.Thanks. I googled for oracle site feedback, and this was the closest I could find.
I was a little curious, so I investigated further on the http authentication point.
I simulated the HTTPS session, and discovered that, in fact, the server did respond differently based on the User-Agent string (ugh, browser discrimination ... one of my big pet peeves). When I used the User-Agent string from Internet Explorer 6 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)), the server responded with a 302 Moved Temporarily page. However, when I used the Opera User-Agent string (or a made-up string) (Opera/9.20 (Windows NT 5.1; U; en)), the server responded with a 401 Unauthorized HTTP response (and WWW-Authenticate: BASIC realm="Single Sign-On"). -
I must create a OPC serveur to distribute any value to other automation application.
I now how to access to a OPC server (like the NI Demo server) but this time i must do my hown OPC server
Thanks in advance and best regards
(sorry for my english but i speek usually french!)
YvesYves
Two possible solution come into my mind:
1) You could use the LabVIEW DSC module, which is also an OPC Server. Then you define so-called "memory tags" within DSC and access them from your LabVIEW code using the read and write tag VI's or the logos protocol. What is annoying with that solution, is that DSC has no programmatic tag creation, so you must setup the tags manually outside of your code.
2) Search the net for the "FactorySoft OPC Server Rapid Development Kit". Using that toolkit, a few years ago we programmed an OPC Server which can be embedded into LV code using the "Call Library Function Node". I am still using it. The advantages are that tags can be programmatically created in the LV code, the OPC server can be distributed royalty free (DSC=$$)and the OPC server will consist just of 3 small dll's which are easy to install. However some C/C++ knowledge and a compiler will are required.
J' espère, que ces informations sont utiles pour toi
Alexandre -
Hi,
Is there a way to instruct an http client (browser) to re-issue the same
http request it issued for this request ?
The scenario is as follows :
I have a client sending a "heavy" http post request, now when it arrives to
the app.server
I have a case in which I want to tell the client to try the request again in
a delay of one minute,
without the user of the browser being aware of this ?
I tried the "Retry-After" header in http (according to the RFC) on the
response object
but it didnt work, (More then possible I didnt do it correct).
The environment is : jsp pages with weblogic as http and app erver (5.1sp4
on Win2000).
Any thought or solution will be appreciated.
Thanks.
Thanks for the link!
Cameron Purdy
[email protected]
http://www.tangosol.com
WebLogic Consulting Available
"Marius" <[email protected]> wrote in message
news:[email protected]...
> Go to http://vancouver-webpages.com/META/ and study the HTTP META TAG
> 'Refresh'.
>
> Cheers,
> Marius
>
>
>
> "Asher Bitton" <[email protected]> wrote in message
> news:[email protected]...> This is not good for me since
> > I'm using weblogic's session management via the URL I cant perform
> > GET operations, the encoding destroys the get parameters (unless they
> > are manually put there, when building the url by code, which is not the
> > case).
> > I was looking for a programmatic way or if you know what is the HTTP
meta
> > tag I can study it and see maybe in some way it can help me.
> >
> > thanks in advance.
> >
> >
> > "Alexandre POLOZOFF" <[email protected]> wrote in message
> > news:[email protected]...
> > > There is an HTML meta-tag that will allow you to do a GET and then use
a
> > > query string in the URL.
> > >
> > > --
> > > -Alexandre POLOZOFF
> > > [email protected]
> > >
> > >
> > > "Asher Bitton" <[email protected]> wrote in message
> > > news:[email protected]...
> > > > Hi,
> > > >
> > > > Is there a way to instruct an http client (browser) to re-issue the
> same
> > > > http request it issued for this request ?
> > > > The scenario is as follows :
> > > > I have a client sending a "heavy" http post request, now when it
> arrives
> > > to
> > > > the app.server
> > > > I have a case in which I want to tell the client to try the request
> > again
> > > in
> > > > a delay of one minute,
> > > > without the user of the browser being aware of this ?
> > > > I tried the "Retry-After" header in http (according to the RFC) on
the
> > > > response object
> > > > but it didnt work, (More then possible I didnt do it correct).
> > > > The environment is : jsp pages with weblogic as http and app erver
> > (5.1sp4
> > > > on Win2000).
> > > >
> > > > Any thought or solution will be appreciated.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
-
I have a custom portlet in .net on the portal home page for calendar.
At the bottom of it , we have different custom portlet for posting the company photos.
When we click on the next month in the calendar portlet, the portlet(Company photos porlet) behind it disappears.
Later we found that placing the controls inside the form tag in the aspx pages cause this issue. During the post back the form tag refresh the page and overwrites the portlets behind it.
Has anyone come acroos this type of issue? If means do you have any fix for this?
Thanks for your help.i'm guessing you're using "Web Controls for .NET" or whatever they are called now.
what portal version? adaptive layouts?
does this happen in all browsers? whats your doctype?
try looking at the rendered source with a tool like firebug for firefox to see what happened to the html that you can't see anymore. there probably is a closing tag missing. -
Passing variables with page redirect
I have a cfform. After it is filled out and submitted, the
action page generates a random reference_no and puts the data into
a database. I then do a cflocation url and pass the reference_no to
another page. This page takes the reference_no and does a cfquery
again to get all the information just entered and displays it on
the form. A javascript popup/alert message then tells the user the
form was submitted with the reference_no and to print the form. I
was advised to do it this way so that the form cannot be
resubmitted again. Everything works fine the way I have it.
Now here is what I would like to do. After the form is
displayed with the popup, I would like to pause 3-5 seconds and
then redirect that page to another page that is identical (minus
the javascript popup message) with the cfdoucment tag because I
want them to print the form in pdf format. The problem I am having
is when I do another cflocation url at the end of the display page
and pass the referendce_no, to go to the pdf page, it works but it
never stops at the display page to display the javascript popup
message. So I tried to use the meta tag refresh rediredct set at 3
seconds and pass the reference_no. The display page with the
javascript message works then the page is redirected but the
reference_no is never passed and the pdf form comes up but without
anything to display. I guess you cannot pass variables in a meta
tag since that is not cf ?
How can I go from the page with the javascript popup to the
page with cfdocuement pdf format ?
ThanksYou would have to craft the url of the popup page to pass the
reference_no. I'm going to assume that you're using the "Post"
method on your form, which means you have to pass the reference_no
form value as a url/GET value.
<cflocation
url="somesite.com/popup.cfm?reference_no="#form.reference_no#">
and then on the popup.cfm page, consume the url.reference_no
again as part of the url in the meta refresh
<cfoutput>
<meta http-equiv="refresh"
content="10;url=http://somesite..com/pdfDisplay.cfm?reference_no=#url.reference_no#"
/>
</cfoutput>
If you're just trying to prevent double submission, you could
just lock the
form from double submission clientside. In the method below,
it actually hides the form. There are other options such as
displaying an inline IFRAME which would simulate a popup and would
remain until the page was refreshed from the form submission. I
would also consider this old school. You might want to check out
other options as far as Web 2.0 using AJAX and frameworks such as
JQuery.
<script language="javascript">
function formSubmit(){
if (document.myForm.isSubmitted.value != "no"){
return false;
}else{
document.myForm.isSubmitted.value = "yes";
document.getElementById('submitdiv').style.display =
"block";
document.getElementById('formdiv').style.display = "none";
document.myForm.submit();
</script>
<div id="submitdiv" style="display:none">
Your Form has been submitted.
</div>
<div id="formdiv" style="display:block">
<form method="post" name="myForm" id="myForm"
action="HandleSubmission.cfm">
<input type="text" name="isSubmitted" value="no">
<input type="button" name="manSubmit" value="submit"
onclick="formSubmit();">
</form>
</div> -
bug: i have an alert("haha"); displayed from an inpage button with javascript, and while the alert message is still open, if i do a refresh i get this error in the error console:
Timestamp: 2/5/2012 12:27:27 μμ
Error: uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 457" data: no]
it happens on every site that shows an alert dialogue box
online example:
[http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert w3schools example]
press the "show alert box" button and as the alert box is open do a page refresh.I didn't realize you could reload in that situation; I thought alert() was application modal. Hmmm...
In Firefox 13 beta 4 on Windows 7 I still see the error:
Timestamp: 5/22/2012 7:41:13 PM<br>
Error: uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 457" data: no]
I don't think it has any negative consequence. Did you just want to get it on someone's list to look at, or is it a problem for your page/application?
I looked in Bugzilla briefly and these sound related:
[https://bugzilla.mozilla.org/show_bug.cgi?id=655181 Bug 655181 – modal dialog (e.g. via window.alert()) opened with meta refresh tag refresh page in background causes this uncaught exception: "prompt aborted by user" .. resource://gre/components/nsPrompter.js]
[https://bugzilla.mozilla.org/show_bug.cgi?id=717248 Bug 717248 – Pressing backspace on alert() modal closes alert and triggers "back" functionality without firing onkeydown]
Both note the error when navigating the tab in different ways with the alert displayed. But... not much attention to them so far. -
HI,
Here is my problem. I am using no-ip.info as a redirect to my
server. However, it just uses the main IP address to get to my
server and not the folder so the folder info has to be typed in.
Example is like this tradewars.no-ip.info/tradewars. I would just
like to have tradewars.no-ip.info as the URL and then the index
page redirect them to the tradwars folder based on the URL.
Any help is appreciated
ThanksOne- get real hosting instead of hosting it yourself.
Two- put an index.html page in the folder they land in that
does a meta
refresh to the desired folder. Dw menu-->insert-->Head
Tags-->refresh
I'm assuming they are landing in the root public folder of
your locally
installed webserver?
> Nobody has any ideas?
original post from May
"�Here is my problem. �I am using no-ip.info as
a redirect to my server.
However, it just uses the main IP address to get to my server
and not the
folder so the folder info has to be typed in. �Example
is like this
tradewars.no-ip.info/tradewars. �I would just like to
have
tradewars.no-ip.info
as the URL and then the index page redirect them to the
tradwars folder
based
on the URL. -
Redirecting from a template based webpage
I would like to automatically redirect from one webpage to
another. The problem is that the first webpage was created and a
template was applied to it, so now when I try to "Insert/HTML/Head
Tags/Refresh" Dreamweaver cannot apply the refresh because the
template has locked the head region. How can I automatically
redirect from a webpage that has an uneditable head, or how do I
make the head region of the template editable so that a "Refresh"
redirect can be added to the head tag?Insert the editable region in the head using Code view
Walt
"buckeyestargazer" <[email protected]> wrote
in message
news:gc0i8q$a30$[email protected]..
> Walt, thanks for the reply. This is what I originally
tried to do in the
> template. Unfortunately, no matter where I try to insert
an editable
> region in
> the <head></head> for some reason it inserts
the editable region AFTER the
> </head> and when I then try to insert the refresh
in the webpage based on
> the
> template, it will not let the change take place and
discards the action.
> Here's the code to the head of the template, if it
helps:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <!-- DW6 -->
> <head>
> <!-- Copyright 2005 Macromedia, Inc. All rights
reserved. -->
> <title>Buckeyestargazer.net</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <link rel="stylesheet" href="../mm_spa.css"
type="text/css" />
> <style type="text/css">
> <!--
> .style1 {
> font-size: 18px;
> color: #FF9900;
> }
> .style2 {color: #FF9900}
> .style3 {font-size: 12px}
> -->
> </style>
> <script src="../Scripts/AC_RunActiveContent.js"
> type="text/javascript"></script>
> </head>
> -
Looking for a good page transition script
Hi;
I need a cross browser transition to fade a page out and
redirect to another
after a given time period.
Any suggestions ?
Thanks;
PatSuch things only delay the next page's loading. I don't think
it's a viable
plan.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Pat Jones" <[email protected]> wrote in message
news:fpkqrg$bpt$[email protected]..
>I understand the reasoning, but the client wants the
opening page to
>transition that way. How about a layer that fades out
that could be
>synched with the meta tag refresh ?
>
> Thanks;
>
> Pat
>
>
>
> "Paul Davis" <[email protected]>
wrote in message
> news:fpkmcd$749$[email protected]..
>> Yes, don't do it.
>>
>> As for a page redirect, a meta tag refresh will do
that.
>> Page fade, I think IE has some of their own code
which does something
>> like that. Here is a link which does something like
that cross browser
>> (of course, when it was written, back in NNv4 and
IEv4 days)
>>
http://codingforums.com/archive/index.php?t-77563.html
>>
>> But, seriously, don't do it.
>>
>> Paul Davis
>>
http://www.kaosweaver.com/
>> Visit us for dozens of useful Dreamweaver
Extensions.
>>
>>
http://www.communitymx.com/
>> Partner at Community MX - Extend your knowledge
>>
>> Pat Jones wrote:
>>> Hi;
>>>
>>> I need a cross browser transition to fade a page
out and redirect to
>>> another after a given time period.
>>>
>>> Any suggestions ?
>>>
>>> Thanks;
>>> Pat
>
>
Maybe you are looking for
-
Integration of bi publisher with BI APPS
HI We implemented BI Apps the security model of the OBIEE is based on the security of the ERP. In this case there are no users in the BIEE application and the login to the OBIEE is threw the ERP Frame. We try to configure BI publisher but when I try
-
Put in the wrong airport card, fried my G5, is it worth fixing?
Maybe more importantly can i trust what this repair shop tells me? After Apple told me my computer was too old to work on and scouring these boards i thought i was installing the right airport card and apparently I didn't. Immediately the power went
-
Hi, I need to calculate difference between two dates. I believe that i should use function @DATEDIFF to perform such a calculation. But the problem that one of the dates calculated by such a script: i=@TODATEEX("Month dd yyyy",@CONCATENATE(@CONCATENA
-
Transferring photos from bb9900
my phone screen is broken and before i send it back to get a replacement i need to transfer all my photos and vids to my pc. i have never done this before and always just lost all my pics. i have connected the phone and I was told i need to download
-
BUFFALO HD-H250LAN LINKSTATION
I am having problems with a Buffalo Linkstation Model HD-H250LAN, I cannot get my Mac to recognise it, and Buffalo industries cannot assist, I'm connecting to the net @8mb and using a four port modem-router. Any assistance on configuring this piece o