OPC URL features
Hello
Can any one please explain this OPC URL (what each part mean?)
opc://localhost/Tunneller:ric841x1si.da.1\\\ric841x1\66TI1450
I do not understand these parts “Tunneller:ric841x1si.da.1” and “\\\ric841x1\66TI1450”
Please let we know if there is a link for more advance tricks for OPC URL
I am getting this error:
1/22/2007 10:41:34 AM Err Code: -1967259646 SourceataSocket Connect.vi
Error: Parsing URL.<ERR> Addtl Txt: Multiple OPC Items Monitor
Let me know if you know what error is this
Thank you
Amit
Hello Doug
First of all, thank you for your information on OPC URL.
Actually, this is first time I am using OPC with LabView, and I am looking older application which has OPC URL. I wanted to understand how OPC URL address works.
By reading some document I understand some part of the URL but not fully.
You have explained very clearly what I am looking for.
"Tunneller:ric841x1.osi.da.1" is the name of the OPC server ( I am confuse with colon ‘:’ and point ‘.’)
“ric841x1" is most likely a folder within this particular process for organizational purposes
"66TI1450" would be an individual register or data item
Again great help, thank you for that.
Amit
Similar Messages
-
Storing OPC URL link as String
Hello
I am having trouble with reading OPC URL link in correct format form the System.ini file. (LabView 8.2)
I am able to read the OPC URL link from System.ini file and save it as a string, but in the OPC URL link it contain some back slash and that is where the problem start.
I have old EXE file created in LabView, which read the same OPC URL and able to communicate. I cannot provide this EXE file because it is very big.
Please take a look the System.ini file where OPC URL link are stored, and the OPC test.vi.
I try to add some extra back slash to take care of escape sequence, but I could not communicate with OPC server.
Please help me
Thank you,
Attachments:
OPC test.vi 45 KB
System.ini 1 KBHello Guys
Thank to Rolf, Ravens and GerdW
As Rolf point out that read raw string flag on the Read key.vi takes care of all escape sequence problem. Also do the same thing when you use the Write Key.vi. So if the Value type is String then this flag comes up, but if not careful we can easily miss that.
Here is the some more info.
read raw string? Specifies whether the string was written without escaping unprintable and backslash (\) characters. If FALSE (default), the VI replaces any unprintable characters in the string, such as <ESC>, with a backslash and two Hex characters (\xx). If TRUE, the VI does not convert the unprintable characters in the string.
write raw string? specifies whether to write the string without escaping unprintable and backslash (\) characters. If FALSE (default), the VI converts any backslashes (\) to double backslashes (\\) and replaces any remaining unprintable characters in the string, such as <ESC>, with a backslash and two Hex characters (\xx). If TRUE, the VI does not convert the unprintable characters in the string.
I think this is very important point to keep in mind.
Thank you -
[ADF Mobile] remote url feature
I have several questions from a customer regarding ADF mobile capabilities. They have already developed an ADF application and are looking at reusing that in an ADF Mobile application.
1. How can I access phone features from inside a Remote URL feature? Do I need to add the phonegap javascript libraries and code to the remote app or do I need to do smth on my mobile app?
2. Can I access content exposed by the page in the remote URL feature? For instance, let's say that on my remote app I have a list of POIs that I want to display on a map in my mobile app. Can I achieve that with remote url + an additional feature(to show the map) or should I use web services +amx pages?Hi ,
i want to tell my knowledge that i know about your questions.
1) You cant access native features from remote url.
2) You can only reach native features by using mobile app. ADF mobile can do this as you know.
3) Phonegap is using on mobile platforms.
4) You cant access content exposed by the page in the remote URL feature but u can use content via calling webservices from your mobile app.
Fuat OZERGIL
Edited by: FuatOZERGIL on 06.Ara.2012 08:14 -
Updaterate of opc url less than 1 s doesn't work
I conntect to a field point by using this url:
opc://localhost/National Instruments.OPCFieldPoint/FP @ COM1\FP-TC-120 @1\Channel 3?updaterate=50&deadband=0
and with AccessMode cwdsReadAutoUpdate.
The adviserate of the field point channel is 10 ms.
The connection between PC and fieldpoint FP1000 uses a serial port with a baudrate of 115200
The measured temperature changes fast. But the CWDataSocket_OnDataUpdated method comes only once per second.
If I change the updaterate to more than 1 s it works in greater intervalls, but not with updaterates less than 1 s..
What can I do to get more datas with a faster updaterate of the opc server?
ThanksHi Rainer
I think the problem is your FP-TC-120 module
If you look at the datasheet of your module you can see that the max. update rate of your FP-TC-120 is only 0.88 Hz.
regards
Manuel -
XSQL new feature suggestion: transform="url" for xsql:query
To the Oracle XML developers:
I'd like to suggest adding the transform="url" attribute/feature to the <xsql:query> action.
This would allow one to transform and/or apply XSLT conditional logic to the posted XML before it reaches the <xsql:query> action. A couple of key areas where I think this would be very useful are:
1. handling multiple HTML parameters of the same name.
Currently, the only way to handle this in an <xsql:query> action is to call a Java program via <xsql:action> that can parse the rowified parameters of the same name, then transform it in a format suitable for the <xsql:query>.
2. verifying user session login status for password protected XSQL pages.
If one could use XSLT to check user authentication BEFORE the <xsql:query> action you could display a login page if the user is not authenticated.
Since the transform="url" feature is already available for other tags (<xsql:update>, <xsql:delete>, etc) I would think adding this to the <xsql:query> action would not require extensive coding from the Oracle XML development team, and yet this simple but powerful feature could help us users to develop pure XML solutions that don't require calls to external Java actions.
MichaelThere would also be able to simply add the "perspective"as in Photoshop, probablyeasier to develop and integrate the interface.
-
How to use boimage url for displaying images
I am trying to test the Image URL feature in a Web Intelligence report.
I have a few images loaded in the images folder on the installation server.
I made the text of a cell: boimage://auditingBOBJLogo.png
No images are showing up. When I am in view mode a box with an x shows.
I am using the Web Client to edit the report and view it in InfoView.
Any tips or best practices for getting this to work would be appreciated.
ThanksHi,
Make sure that you have placed the image files in correct folder.
And the cell formula is boimg://auditingBOBJLogo.png and not boimage://auditingBOBJLogo.png.
Remember to set the display property of the cell to Image URL.
Regards -
Load Balancing on a URL with parameters in it.
Hi,
We have two main Server Farms. I have been asked to load balance to each farm based on the url. The problem:
The url looks like this
https://www.domain.com/test/ci/?par1=Default&par2=main&userRole=userrole&mcId=companyname&par4=somethingelse
The bit of the url for the decision making is "mcId", but as I understand it, I cannot use a "?" in the url text string on the CSS. So, how do i do it ?
Many thanks
WayneWayne,
the documentation is actually incorrect.
The '?' does not prevent the advanced-balance url feature to work.
It just changes where the CSS starts looking for the string.
Check this url for a sample config.
http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a0080409807.html#wp1115519
Regards,
Gilles. -
Hi! I'm trying to communicate with some hardware via OPC and datasocket. The
problem is the great and variing number of the channels for the data
acquisition (400-1500 channels!). So I decided to automatize the "Browse to
OPC item.vi" via ActiveX with every single item written into an array with
its specific properties like datatyp, access right, OPC-URL and so on. For
better understanding: Similar to the "List directory.vi" I want to analyse
how many OPC-Server ("harddisks") at the local PC do exist, how many groups
(directories) they contain, how many subgroups (subdirectories) there are
and what kind of items (files) they contain. Additionally, I want to get
some information of them and I want to build an array where all informati
on
(path, properties...) is stored in. I succeeded in displaying a string array
with the installed OPC-servers, but that's all. Puuh, hard staff. I hope
somebody can help me.For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
The browsing functionnality that you where looking for as been implemented in this toolkit.
Hoping this helps.
Jean-Louis SCHRICKE
├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
├ CTD - Certified TestStand Developer (2004 & 2007)
└ CLD - Certified LabVIEW Developer (2003 & 2005) -
OPC DataSocket error 42 in writing negative values
I was playing around with OPC and using the DataSocket pallete. Although I've used it reliably for a while and am content, I was baffled by one error. I was hoping someone could explain why this error occurs or how to solve it.
In the NI Distributed System Manager I've created an Shared Variable of the type single, with Read/Write access.
Problem
When writing a value less or equal to 0 to an OPC URL, I get an error 42. When using the equivalent PSP URL, I don't get it.
Using this VI snippet code.
I get these paths and errors:
This error 42 comes for all values below zero and for zero. For all positive values I don't get this error. What's the reason for this behaviour? In my humble opinion this is not wanted behaviour, as OPC tags should accept the whole value range of the single.White spaces are allowed in OPC URLs, so that cannot be the issue.
I've tested with another LV2013 computer and NI Distributed System Manager 2013 and got the same errors. However, when I tested it on a LV2012 and NI DSM 2012 it was all working. Quite strange.
Now I'm wondering if it's something local or that the bug was introduced in the 2013 distribution and if it has been solved in the 2014 version ...
Could someone test it on LV2013 and/or LV2014, just to check if the problem occurs for other installations in LV2013 and if the problem has been solved in LV2014? Please indicate LV version and DSM version. -
Hi All,
I want to know what is the exact use of URL in MDM?
Please explain me with some procedures.
Regards,
PramodHi Pramaod,
URL feature is available in MDM for the purpose of accessing web services through internet from within MDM.
If you want to refer something through net pertaining your master data,or else update your master data based on some updates on net then you can use this feature.
This feature is not enabled by default you need to do some settings so as to view internet through MDM.
In the console->Admin->links
give the url name and link
then in Data manager give the name of the same url in your configuraton options.
This will enable your web tab and your web link
Kindly note you can have many urls defined in your console but each link is specific to one data manger instance
Hope it helped
Kindly reward points if found useful
Thanks & Regards
Simona -
All,
I have a URL Action (defined on cells based on condition specified in MDX) defined in my SSAS 2005 Cube that opens a page in our ASP .Net application.
I use custom MDX statements within SSRS to generate report. Is it possible to expose the above action in a report generated using reporting services ? (in which case I can use the "Jump to URL" feature in SSRS to redirect the user to the appropriate web page) If so, please can you specify how?
Thanks in advance,
ArunHey Arun,
can you describe me, how can I trought URL Action open one ASP .Net application?
Best Regards -
The URL does not auto complete nor does the favicon display
When I type in a partial URL, such as apple, it used to be completed to the full URL and display the Apple favicon. It now goes to the website, but the typed word, apple, remains without completing the URL. The favicon remains as a blue dot.
I have reinstalled Lion, to solve other issues which have been resolved. The Safari issue is not resolved. I cannot download a new Safari copy for the only Safari 5.1 available in support > downloads is for Snow Leopard.
I know many don't like the auto complete URL feature, but I like to know the full address.Go to ~/Library/Safari.
Move the WebpageIcons.db and the LastSesssion.plist files from the Safari folder to the Trash.
Now go to ~/Library/Caches/com.apple.Safari.
Move the Cache.db file from the com.apple.Safari folder to the Trash.
~ (Tilde) represents the Home folder.
For LIon: To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
Unfortunately, the only way to reinstall Safari if necessary is to use Lion Recovery. -
URL action to open PDF on a shared drive with credentials
I am using "Go to URL" feature of SSRS 2008 to open a PDF file saved on a shared drive. It works fine for me as I have access to the drive.
I don't want to give access to this drive to all the business users who will be using the report. There are several reports on the drive which they should not access. Is there a way to pass generic credentials with URL to allow opening the relevant document
without giving permissions to every single user.
Thanks
AYHi AY,
As far as I know, we cannot pass generic credentials with URL. In your case, we can set permissions for Shared Drive to work around the issue. It is assign permission to specific user on the network.
These articles are about Give Permissions to a Shared Drive, Set Permissions for Shared Folders, you can refer to it.
http://www.ehow.com/how_6187022_give-permissions-shared-drive.html
http://technet.microsoft.com/en-us/library/cc726004.aspx
Hope this helps.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Configuring Vanity URLs In 11.1.1.8.0
Hi,All
I was use the JSK(11.1.1.8.0 ) Configuring Vanity URLs feature,
I have prepared the webroot and url Patterns,And i create One page,
use the Auto-Generated URLs in the browser,
the page shows 404.
is anyone got the same problem?Forget step:
Administrator's guide
24.4 Resolving Vanity URLs Using a Rewriter Filter -
Can I write arrays of strings to OPC server?
I am using shared variables for their built-in OPC server functionality. I have configured some of my SVs as strings, as arrays of doubles, as arrays of booleans, and as arrays of strings. When I connect to the NI shared variable engine using the MatrikonOPC Explorer OPC client application (a free app recommended for OPC troubleshooting on the NI website), I see data for all of the shared variables EXCEPT the SVs that happen to be arrays of strings, which show no values and a quality of "Uncertain, non-specific". If I use DataSocket to connect to the same SVs using their OPC URL, I see the same quality result (Quality=64). Is there something I need to do to ensure that SVs configured as arrays of strings work properly as OPC tags? (string lengths?, termination characters? etc). In MatrikonOPC "Array of Strings" is listed as a possible Data Type, so I assume that what I'm trying to do is not impossible. The reason I'm trying to have OPC tags as arrays of strings is because my system has a variable number of channels, and I want to transmit the channel name list to an OPC client. Does anyone have experience with this?
NI Software : LabVIEW version 8.6.1
OS : Windows XPI've downloaded a couple of free OPC client apps (MatrikonOPC and CAS OPC) and they both seem to list an array of strings as a possible data type, though I can't say if that is a commonly implemented one or not.
You are correct that I would like the LabVIEW shared variable engine to act as an OPC server in my application. Data will be acquired on the PC running LabVIEW, and written to OPC tags for sharing with another PC on the network. I'm actually not positive what the client application will be, since it will be supplied by the customer that is purchasing the software. It might be Wonderware, but I'm not 100% on that.
If I am unable to solve this problem then I guess I can always create a separate SV/OPC tag for each DAQ channel and pass data that way, rather than my current method of creating only two SVs: one that is an array of channel names (strings), and one that is an array of channel values (doubles). It just seems a bit inefficient to create a whole bunch of OPC tags that may or may not be used, since the number of channels enabled and their names will all be based on a user-supplied configuration that may change from one run to the next. I'm not much of an OPC expert though, perhaps creating a whole mess of OPC tags is the normal methodology that people use.
Maybe you are looking for
-
Move (or copy or cut and paste) entire sheet from one document to another.
I have several sheets I want to move from one document to another and retain all formatting and spacing, etc. What is the best way to do this? Thanks
-
Dear Experts, We are in the process of installing new netweaver 2004s server with BI 7 and would in the process like to utilize the latest features of BI 7 mainly the Bex Web and enhancements in Bex web like drag & Drop, Adobe Engine etc to name a fe
-
TS3989 Question on iPhone photo stream.
I just enabled Photo Stream on my iPhone. There are 230 pictures in my camera roll. I do not see any of these pictures in "My Photo Stream". It appears that only the new pictures going forward will be added. Is that correct? I would like to add
-
Purchased HD movie from iTunes Store. Keeps hanging up during download. Tried multiple downloads and single downloads with two movies, one rented, one purchased. Neither download finished. Any suggestions?
-
Hi , I Have Procedure where it take input parameter date value for eg PROCEDURE P_GET_EMP_DATE(V_DATE IN DATE) IS V_BEGIN_DATE DATE; BEGIN SELECT max(BEGIN_DATE) into V_BEGIN_DATE FROM emp where TRUNC(APPT_DATE) =V_DATE+90; END; now my doubt is APPT_