Programatically changing data socket IP for OPC
Hello,
I am using a string indiactor which is configured with the data socket (OPC lookout) settings. I am having a difficult time changing the IP address of the datasocket URL (ie- lookout:\\172.24.149.2X\LV\digame\Control_Parms) using property nodes. Has any one been able to do this??
Thanks,
brad
Intel Corp
Brad Whaley
LabVIEW Certified Engineer
Brad,
What version of LabVIEW RT are you running? There was an issue in LabVIEW 6.0.3 the DataSocket VI's could not have different URL's passed through them. E.G. If you had one DataSocket Read in a For Loop that auto-indexed through an array of 10 URL's, you would always get the data from the first URL.
Also, remember that a number of VI server functions are only available on development machines and not available when built as an executable. Check the online help on the property node to determine whether the property you are using is available at all times or only in development mode.
Regards,
Aaron
Similar Messages
-
IW31/32- Change Date Restriction choices for "StartPoint" and "End"
Hello,
In IW31/32> Operation tab> then "Dates" screen.
Is there a way to change Date Restriction choices for "StartPoint" and "End."
Start Point: there are 4 choices: Must Start on, Cannot start before, cannot start after, start from resource planning
End: Must finish on, Cannot finish before, finish not later, finish from confirmation.
We want to limit the choice to 2 optiions on Start and End/ in addtion change the text.
Is this possible.
Thanks,Hi,
No its not possible to accomplish this in standard using configuration functionality.
You may able to accomplish restricting the values on the drop down through the implicit enhancement functionality available in ECC 6.0.
You will have to make a screen modification to make the associated start point/ end point key text editable.
Regards
Narasimhan -
SCCM 2012 R2 changing date and time for patching software update groups
I recieve this error when changing date and time for software update group. worked fine yesterday before patches to the server were applied last night. we removed patches but still get error below. Any help would be great.
ConfigMgr Error Object:
instance of SMS_ExtendedStatus
Description = "Property array AssignedCIs exceeded the max allowed";
ErrorCode = 1078462259;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspupdatesassignment.cpp";
Line = 94;
Operation = "PutInstance";
ParameterInfo = "";
ProviderName = "ExtnProv";
StatusCode = 2147749889;
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
The SMS Provider reported an error.
Stack Trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(IResultObject resultObject, List`1 resultObjectsPut, Boolean retainLock)
at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(Boolean retainLock)
at Microsoft.ConfigurationManagement.AdminConsole.DialogFramework.Forms.SmsPropertySheet.Put(ActionTrigger trigger)
System.Management.ManagementException
Generic failure
Stack Trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(IResultObject resultObject, List`1 resultObjectsPut, Boolean retainLock)
at Microsoft.ConfigurationManagement.AdminConsole.SmsDialogData.Put(Boolean retainLock)
at Microsoft.ConfigurationManagement.AdminConsole.DialogFramework.Forms.SmsPropertySheet.Put(ActionTrigger triggerno it is the final version... is working today after cleaning up database... is working now...thanks
Hello Robert,
would you please give some more informations, as I have the same issue and don't get what you mean bye "cleaning up databases".
Regards ooGDoo
ooGDoo -
Unable to Determine the Change Date and Time for records in infotype 2011
Hi Everyone,
We need to know on when the clock-in and clock-out records were interfaced to SAP in infotype 2011.
The change date/time field in infotype 2011 is blank/not populated. Hence, we're unable to determine on when the clock-in records were updated in infotype 2011.
It is not possible to get the audit logs for infotype 2011 as it is switched off.
We found this table TEVEN and just the same thing, the field "change on" is blank.
Kindly help us on how we can determine the change date and time for records in infotype 2011.Hi Prasad,
Here's the scenario.
On June 3, it was reported that staff's clock-in record on june 1, 7:00AM is missing in infotype 2011.
However, when I checked infotype 2011, the record is there.
So, they are now asking me on when this record was updated in infotype 2011 as they are thinking that there might be some delays in sending of the data to SAP.
The created on and created at in table TEVEN shows the same, june 1, 7:00AM which seems to be not true as on june 3, it was reported to be missing.
Can you help further on this? -
Not allowed to change date and time for some photos; why?
I have some images that I scanned in of old photos. I'm trying to change the date and time and location to reflect the time the original photo was taken. I know how to do it in the menu system, but when I try to change the original data it tells me they are of a file type that won't allow this metadata to be changed. They are simple JPEG's so I'm not sure what the problem is. Do I need to convert it to some other format first to be able to do this? Any ideas would be helpful...
Hello Toran,
are trying to change the date and time of the versions only, or are you trying to change the date and time of the masters too? If you are using
Meta Data -> change date and time
deselect "also change master file", this causes the problem, the new Aperture version seems not to allow to change the date and time of masters.
There have been long discussions on this problem, see e.g. this thread; I do not know if somebody has found a solution by now,
Regards, Léonie -
Change what data type data socket requests from OPC server
I suspect this is a foregone conclusion, however just in case; is there a way to make Datasocket request items from an OPC server in a different data type than variant?
I have a server that scales integers (native data type) and offers tham as floating point values, however to get those nice floats the client must request the data in the right type. If the client asks for a variant the server will return the integer value (e.g. 2 instead of 2,36...).
I have not checked whether this is a server behaviour as it must be (according to OPC specs) or if it's just a choice by the vendor (Automated Solutions), but still it may become an obstacle.
Has anyone implemented OPC Client functionality without using Datasocket (and server for that matter)? Any software componants you can recommend?
MTOHi Mats
I once found vi's (..\vi.lib\Platform\dataskt.llb) with different read- and write-types. In fact they are all wrapping up the read- & write-variant functions.
I use them to communicate with Siemens OPC-Scout and it works. They make life a little easier .
Hope this helps.
Thomas
Using LV8.0
Don't be afraid to rate a good answer... -
Hi all.
I must modify a date when SAVE an item (date ACTUAL_FINISH).
I have implemented the interface /RPM/IF_EX_ITEM_API, but ther isn't methods for modifiy the datas of item. You have others BADI to suggest to make this?
Thanks!
VanessaYes, I have watched and it don't change the ITEM areas.
But I have resolved the problem in this way.
I have opened a enhancement in class RPMCL_ITEM_T_API, method UPDATE_ITEM_ATTRIBUTES and have varied the date.
Thanks of all!
Vanessa -
RPM: Change DATA at SAVE for ITEM
Hi all.
I must modify a date when SAVE an item (date ACTUAL_FINISH).
I have implemented the interface /RPM/IF_EX_ITEM_API, but ther isn't methods for modifiy the datas of item. You have others BADI to suggest to make this?
Thanks!
VanessaYes, I have watched and it don't change the ITEM areas.
But I have resolved the problem in this way.
I have opened a enhancement in class RPMCL_ITEM_T_API, method UPDATE_ITEM_ATTRIBUTES and have varied the date.
Thanks of all!
Vanessa -
Change Data Capture (CDC) for Oracle by Attunity on SQL Server 2014
hi
i've installed the above on my server. It seems to look fine. The connection to oracle database is set, the databases on the sql server side have been created; the tables to be captured are created. When i make a change on the oracle side, the configuration
ui senses the change, but no data is moved over. Silly question, do i have to move the data from oracle to sql server FIRST before any of this will work? and how do inserts work if the data has to be moved over to sql server first? I'm missing something here
Any help would be appreciated.
thank youWell, better ask the vender. They haver their own forums.
-
Change Data Capture: Unsubscribed column results in new change set record
I have an installation using Oracle 11g Change Data Capture in synchronous mode. As of writing, I have a single publication and a single subscription. The setup is pretty basic:
PUB_TABLE
PUB_ID*
PUB_NAME*
PUB_USELESS_FLAG
* columns are included in both the PUBLICATION and the SUBSCRIPTION. The final column is of no consequence and is excluded from both the PUBLICATION and SUBSCRIPTION.
My problem is that any time PUB_USELESS_FLAG gets updated (even if no other columns are changed), a record is written to not only the change table but the change table view. The table in question has a significant number of transactions logged against it, but only a subset of those changes are of note to the subscriber (which is why the subscriber does not listen to every column). However, since the subscription is receiving records for every change to the source table, the result is an enormous amount of overhead as the subscriber is forced to sift through numerous records that are of no consequence.
I read the Change Data Capture manual for Oracle 11g; I could not find any reference to the observed functionality. Is this a consequence of using synchronous vs. asynchronous modes of capture? Is there an option to only receive changes on subscribed columns?
Thanks in advanceBring this to the top because I have the same question. This website (http://www.bikinfo.com/HTML/CDC/CDC_Article.html) makes it sound like this problem is unavoidable.
Edited by: nik_m on Nov 10, 2011 8:04 AM
Edited by: nik_m on Nov 10, 2011 8:05 AM -
hi
I want to hold change data information.
For example I have table student and one row is inserted.
Then somebody else changed the name of the student name and phone number.
I want to hold the changed columns when an update query is executed.
I looked at change data capture but I think it is about data warehouses and there are 2 databases in that case.
I do not want to write triggers for all tables.
I looked at fine grained auditing but I can take the update statement only, I do not know how can I find the changed columns, column's last data and new data.
How can I do it? Which topic should I research?
Can you lead me?
Good Works[Flashback Query|http://www.oracle-base.com/articles/9i/FlashbackQuery.php] may be possible. but, There are some restrictions for Flashback query.
[http://www.oracle-developer.net/display.php?id=210]
[http://www.dbasupport.com/oracle/ora9i/flashback_Query.shtml]
[http://www.dbasupport.com/oracle/ora9i/flashback_Query2.shtml]
[http://www.dbasupport.com/oracle/ora9i/flashback_Query3.shtml]
Last option is log Minor. -
Last State Received / Last State Change Date is Incorrect
Checking a report today I noticed the Last State Received and Last State Change dates are off for many of our clients. The report I'm looking at is the
Compliance 8 - Computers in a specific compliance state for an update (secondary)
The StateMessage.log on our clients show successful submissions to the MP. Statesys.log on SCCM looks healthy as does MPControl.log. Has anyone run into this before?
Orange County District AttorneyHi,
If you initiate Actions on clients, could this data get updated after a while?
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Dynamically create Variant Data Socket items with multiple writers
I want to use variant or cluster items with data socket connection. I want to allow multiple writers.
So far I can create these items dynamically but not set them to allow multiple writers.
For numeric, string, and Boolean items I can set these properties by predefining them in the data socket server manager. I could not predefine a variant or cluster in the manager.
I realize I can flatten to string the item needed but would prefer to do this in the cluster or variant formats.
Any suggestions?unclebump wrote:
Could you accomplish this using a functional global architecture??
An interesting concept which might work and did just open up a new host of possibilities!
When I get the time I might give this a try. I just did a quick test in another program.
Through VI server I opened a reference to a remote machine. I then created strictly typed reference to a âfunctional global viâ that I knew would be in memory. It reads the functional global just fine!
Thanks for the suggestion.
Here is the work around I used for the data socket program.
Here is the original problem.
I needed to know on the server side when a new value was written to the message cluster, which consisted of a string and a variant. Checking the string portion of the cluster let me know what command to send the device being controlled on the server machine. The variant is used to hold the various parameters that accompanied the command. Since the same command type could be sent several times I needed to reset the string control after the server read the command. This required writing to the data socket from the client & server machine (multiple writers). Also since the client could be any PC in the subnet I needed to allow all these machines to have write access.
I solved this by using a second data socket item for the new message flag. This item is a string value that could be pre-defined and set to allow multiple writers. I then used the cluster item to handle the commands and wrote to the string item a signal that a new command was ready. The server then recognizes a new command is ready, reads the command, and then flags the string message received.
Thanks again for those who took the time to answer this.
Randall -
Ni hypertrend with opc data socket
hello,
i am going to use ni hypertren with labview dsc 8.6 version. i am not using shared variable here but using opc server + data socket i am reading all the channels of data. currently i am reading 300 channels of data over modbus tcp/ip network. all are thermocouple inputs and each module has an 8 channels of array of data which i defined, i tried using shared variable but here i need to create 300 variable for each channel then only i can able to insert these data values to the data base. but using data socket with opc server i can able to group it 8 channels/ module the i can able readuce my data set also it will be traceble one. to inserting data base i am making programming.
i checked the ni-hypertrend, i gone through the help, my question is can i plot the datas from opc data socket with out using shared variable...?
Regards,
Balaji DPSOLVED
I just installed the runtime and copied the exe to the target. That doesn't work.
After I build a distribution with NI DataSocket component and installing it the copied OpcClient works. Even after uninstalling said distribution...
/* Nothing past this point should fail if the code is working as intended */ -
How to get changed data in ALV in Web Dynpro for ABAP
METHOD on_data_check .
DATA:
node_spfli TYPE REF TO if_wd_context_node,
node_sflight TYPE REF TO if_wd_context_node,
itab_sflight2 TYPE if_display_view=>elements_sflight.
node_spfli = wd_context->get_child_node( name = if_display_view=>wdctx_spfli ).
node_sflight = node_spfli->get_child_node( name = if_display_view=>wdctx_sflight ).
CALL METHOD node_sflight->get_static_attributes_table
IMPORTING
table = itab_sflight2.
this code is ..get all data(changed and not changed)
but i want get changed data only, not all data.
how to get changed data?
Edited by: Ki-Joon Seo on Dec 27, 2007 6:04 AMHi,
To get only the changed data in the ALV grid of a WD, you need to capture the "ON_DATA_CHECK" of the ALV grid.
To this please do the following in the ALV initialization of the ALV table settings :
lr_table_settings->set_data_check(
IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
You may also do this:
lr_table_settings->set_data_check( IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CHECK_EVENT)
The above two ways would depend on when do you need to check for the changed data. If you want to check the data as soon as it is entered, then use the first method. Else, use the second method.
You need to register an EVENT HANDLER for this event.(You may do this in your VIEW or Component Controller).
In this Event handler, you would find an importing parameter R_PARAM which is a ref type of IF_SALV_WD_TABLE_DATA_CHECK.
The attribute T_MODIFIED_CELLS of this interface IF_SALV_WD_TABLE_DATA_CHECK will contain the modified cells of the ALV with the old & new values.
Maybe you are looking for
-
Application is not running in IntegratedWeblogic server
I have installed JDeveloper & Webcenter for my project development work in my windows 7 64-bit machine. Here are the versions i have installed. 1) Installed Weblogic server (Generic version for 64-bit machine - wls1035_generic.jar) 2) Installed Webce
-
Hi, If save and send as attachment used in MS Office 2010 then outlook 2010 displays error "Either there is no default mail client of the current mail client cannot fulfill the messaging request-----error Outlook 2010" Windows 7 32 bit Enterprise edi
-
How to use MS Access database in Flash CS4 using AS3
Hello everyone, I need help for how use the MS Access database in FlashCS4 and I want to save and retrive the data from the database and display in the Flash window. Thanks with, Viswa.
-
500 Internal Server Error OracleJSP: oracle.jsp.parse.JspParseException: Line # 58, <ejb:getSysTypes searchCriteria="test" return = "ret" />/> Error: Attribute: _return is not a valid attribute name I created this tag in Weblogic 7.0 anyone run into
-
Wriet Back --- Update query issue
Hi Freinz, I have a requirement where user needs to write back some values. The table (product_tbl) that has to be update is of the following staructure. col 0:Product col 1:Actual Rev col 2:Derived Rev col 3:Estimated Rev i have enabled write back f