How to see updated xy values of Mutiple plot on a single XY graph
I am receiving the GPS data from two sources through UDP protocols but unable to get the previous values of lat/long on the XY graph.
How is it possible to do it??
Kindly guide me so that it displays the previous set of values as well
Attachments:
lat_long of 2 sources.png 46 KB
Hi Axher,
use shift registers to store previous values!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
How do I update the value of a hidden field?
Jsp has hidden field. The value of the hidden field is set.
<%= RequestCtx.getSessionInfoAsHiddenParam() %>
<INPUT type ="HIDDEN" name=billtoContactPartyId" Value="<%=billtoContactPartyId %>">
Based on some logic I've added to the jsp. I want to update the value of the hidden field. This does not work. How do I update the value?
windowForm.elements['billtoContactPartyId'].value = windowForm.elements['defaultcontactPartyId'].value;Hi,
If you create a function to return wwctx_api.get_user you could
call this inside an update trigger, you could put in an
exception to return USER if there is an error, this would then
work for users connected directly and users using Portal.
Regards Michael
e.g.
CREATE OR REPLACE FUNCTION F_PORTAL_USER RETURN VARCHAR2 IS
vRet VARCHAR2(50) := wwctx_api.get_user;
BEGIN
RETURN(vRet);
EXCEPTION
WHEN OTHERS THEN
RETURN (USER);
END F_PORTAL_USER; -
How do we update the value of a textfield in a dialog box by clicking a button/ textbutton ?
Hi,
If you create a function to return wwctx_api.get_user you could
call this inside an update trigger, you could put in an
exception to return USER if there is an error, this would then
work for users connected directly and users using Portal.
Regards Michael
e.g.
CREATE OR REPLACE FUNCTION F_PORTAL_USER RETURN VARCHAR2 IS
vRet VARCHAR2(50) := wwctx_api.get_user;
BEGIN
RETURN(vRet);
EXCEPTION
WHEN OTHERS THEN
RETURN (USER);
END F_PORTAL_USER; -
How to get updated table values from objectlistdataproviders
how to get updated table values from objectlistdataproviders
Hi,
Here is a sample code
start-of-selection.
*Select the data you need into an internal table
loop at it_mara into wa_mara.
data that needs to be displayed in the output list
write:/ box as checkbox,
wa_mara-matnr under text-001,
wa_mara-maktx under text-002,
wa_mara-lgort under text-003.
Hide the data that needs to moved to internal table
hide:wa_mara-matnr, wa_mara-maktx, wa_mara-lgort.
endloop.
clear wa_mara.
end-of-selection.
lines = sy-linno.
at line-selection.
clear:it_matnr.
do lines times.
check sy-index > 1.
box = space.
read line sy-index field value box.
if box = 'X'.
*data selected using check box is moved to internal table
append wa_mara to it_matnr.
endif.
enddo.
Regards,
Jisha. -
How does one update Subtemple value from Yes to No?
Greetings! In the instructions of a published problem statement (Note ID: 808571.11) there is a line that says:
"c) Check if the subtemplate is set to NO. Update it to NO if it is set to Yes."
How does one update the Subtemplate value from Yes to No? In edit configuration, I do not see a Subtemplate value column.
Many thanks in advance fr your suggestions.
TomWith all due respect ... I do not see how one can change the Subtemplate value from Yes to No. When I query the offending Template, the Subtemplate column is not displayed in bold, indicating to me that it can not be updated. Clicking on Edit Configuration, doe not provide an ability to change the value either.
As best I can determine, one needs to 1) query up the template
2) download the rtf file(s)
3) end date the template
4) create a new template and then set the Subtemplate value to No.
And the same steps appear to be required in order to add or update a template Description.
Which raises the question, Why can this not be done by editing the configuration? -
How to see the peak values in a chart?
I have the following situation: I am applying the FFt to an acceleration signal. In the FFT-peak graph I see different peak frequencies. However I would like to know how much are those peak values and either display them in the chart on top of the peaks or extract them in numerical indicators. Is any of these solutions possible in LabView?
I guess the question stands for any kind of graph or chart where you want to extract and see only certain or peak values. Any suggestions?
Thank you.
RaduOK. Attached is a VI which allows you to move cursors 0 and 1 to select any section of a graph, and then click a button to get the maximum of that particular section. It also places the third cursor (red) at the location of the maximum it finds. It is all done using property nodes of the graphs.
This VI is based on an exercise of the LabVIEW Basics II course, which I took a long time ago, but the manual of which is still very useful.
Hope this helps.
Alejandro
Attachments:
GetMaxiumumExample.vi 81 KB -
How to persist updated DataGridTemplateColumn value
I am new to WPF and facing some issues with datagrid . My ViewModel has an ObservableCollection Report Of class T_Reports.
//EF generated code
public partial class T_Reports
public int ReportID { get; set; }
public string ReportName { get; set; }
public Nullable<string> ReportUIGroup { get; set; }
public virtual T_ReportsUIGroups T_ReportsUIGroups { get; set; }
I am showing the ReportUIGroup in DataGrid. My intention is to allow user to be able to change to other values of ReportUIGroup from T_ReportUIGroups. To achieve this i am fetching all Values of T_ReportUIGroups table in an ObservableCollection UIGroupingsWithReportNavigation.
I have created a DataGridTemplateColumn which shows current Value of ReportUIGroup and on edit it shows a combobox with all possible values from UIGroupingsWithReportNavigation.
But i am not getting how to persist this changed Value back to Report(ObservableCollection)
ModelView
public ObservableCollection<T_ReportsUIGroups> UIGroupingsWithReportNavigation
get { return _uIGroupingsWithReportNavigation; }
set
_uIGroupingsWithReportNavigation = value;
base.RaisePropertyChangedEvent("UIGroupingsWithReportNavigation");
public ObservableCollection<T_Reports> Reports
get { return _reports; }
set
_reports = value;
base.RaisePropertyChangedEvent("Reports");
XAML
<DataGrid HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" AutoGenerateColumns="False"
GridLinesVisibility="None" AlternatingRowBackground="Silver" ItemsSource="{Binding Reports}"
Margin="0 0 0 0" Height="420" ColumnWidth="SizeToCells">
<DataGrid.Columns>
<DataGridTemplateColumn Header="UI Group1" MinWidth="150" >
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlockText="BindingT_ReportsUIGroups.GroupName,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" />
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
<DataGridTemplateColumn.CellEditingTemplate>
<DataTemplate>
<ComboBox DataContext="{DynamicResource MainWindowViewModel}" ItemsSource="{Binding UIGroupingsWithReportNavigation}"
DisplayMemberPath="GroupName" SelectedValuePath="GroupID" ></ComboBox>
</DataTemplate>
</DataGridTemplateColumn.CellEditingTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
Please help me to solve this problem
ThanksIf the DataGrid's ItemsSource property is bound to the ObservableCollection<T_Reports> you should store the selected value of the ComboBox in some property of the T_Reports class.
If the GroupID of the T_ReportsUIGroups class (SelectedValuePath in the ComboBox) is of type int, you could bind it to an int property of the T_Reports class:
public partial class T_Reports
public int ReportID { get; set; }
public string ReportName { get; set; }
public Nullable<string> ReportUIGroup { get; set; }
public virtual T_ReportsUIGroups T_ReportsUIGroups { get; set; }
public int SelectedGroupId { get; set; }
<ComboBox DataContext="{DynamicResource MainWindowViewModel}" ItemsSource="{Binding UIGroupingsWithReportNavigation}" DisplayMemberPath="GroupName" SelectedValuePath="GroupID" SelectedValue="{Binding SelectedGroupId}"></ComboBox>
Hope that helps.
Please remember to mark helpful posts as answer and/or helpful. -
How do I update the value of a field programmatically
I want to change a form field "modified_by" to the current sso
user using wwctx_api.get_user before updating the record in the
database, how is a good way to do it? p_session.set_value? not
having much luck with that, I put it in before processesing the
for and get this error when I hit QUERY
Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric
or value error (WWV-16016)
An unexpected error occurred: ORA-06502: PL/SQL: numeric or
value error (WWV-16016)
(WWV-00000)Hi,
If you create a function to return wwctx_api.get_user you could
call this inside an update trigger, you could put in an
exception to return USER if there is an error, this would then
work for users connected directly and users using Portal.
Regards Michael
e.g.
CREATE OR REPLACE FUNCTION F_PORTAL_USER RETURN VARCHAR2 IS
vRet VARCHAR2(50) := wwctx_api.get_user;
BEGIN
RETURN(vRet);
EXCEPTION
WHEN OTHERS THEN
RETURN (USER);
END F_PORTAL_USER; -
How to "see" encrypted attribute values (for verification)
Hi,
I have enabled attribute encryption following:
http://docs.sun.com/app/docs/doc/819-0995/6n3cq3aqc?a=view
I configured an attribute named "xx-attribute1" to be encrypted:
C:\SunDS\ds6\bin>dsconf create-encrypted-attr verbose -h foo.whatever.com secure-port 636 dc=orwhatever,dc=com axx-attribute1 des3
Certificate "XXXXXXXXXXXXXXXXXXXXXXXX" presented by the server is not trusted.
Type "Y" to accept, "y" to accept just once, "n" to refuse, "d" for more details
: Y
Enter "cn=Directory Manager" password:
Creating the encrypted attribute "dc=orwhatever,dc=com" for "xx-attribute1"...
Data have to be imported to have attribute encrypted on "dc=orwhatever,dc=com".
The "create-encrypted-attr" operation succeeded on "foo.whatever.com:636".
and then I used dsconf to check that the change "took":
C:\SunDS\ds6\bin>dsconf list-encrypted-attrs -h foo.whatever.com --secure-port 636 dc=orwhatever,dc=com
Enter "cn=Directory Manager" password:
xx-attribute1
So, that part looks ok.
I then used dscc to add an "xx-attribute1" to one of my users.
I would like to actually "see" the encrypted attribute somewhere, just to verify that the value that I entered using dscc was, in fact, encrypted, i.e., something like:
{des3}xxxxxxxxxxxxxxxxx
I've looked through the files in the "data" directory for this suffix, but I can't find anything that looks like that.
Is there any way to "see" that?
To be clear, I know that I won't be able to decrypt the encrypted value. I just want to verify, somehow, that SunDS is encrypting data that I'm entering.
Thanks,
JimHi,
I think I was able to find the encrypted attribute in xxx_id2entry.db3:
xx-attribute1: {ckm_des3_cbc}wsRrq1ygL8cnQOXSuu2dAz+1w==
so, it looks like the encryption is working :).
Jim -
How do I Get the value from a mouse click - on a waveform graph?
If I have made a plot into a Waveform Graph and later want to do a zoom of my data
(Not zoom into the Waveform Graph, but regenerate the data). How do I read the mouse
coordinate if I click on the graph window. I know how to put up the horiz and vert
cursors but don't know how to just read the mouse click. I would really like to
follow the windows standard that identifys a rectangle by clicking and draging and then
be able to read the corners of the rectangle. Thanks, Rick
PS: Using Labview 6iI would recommend to 'translate' your graph in a picture and dislay it in a picture control (see picture examples in LV6).
Once you did it, pictures have an extremely useful property called Mouse that returns the mouse coordinates and click events when you place the cursor on the picture.
By this you can re-arrange the graph on picture appearance.
There are also other methods such as using a Window's API that returns the mouse position referred to the whole screen window, but I believe this would be much more difficult to implement.
Let me know if this was clear and if you need an example vi.
Good luck,
Alberto -
How to find the maximum value among four fields in a single record
Hi Gems...
I have a record in which there are 4 currency fields.
Now i would like to know the maximum of these 4 fields.
I tried with Max functions in which i put all the 4 values...but it is showing error like ") is missing" though it is there.
Can we insert more than 2 values in Max function?
Or else is there any other option to find the max value among the 4 values which lies in a single record
Thanks
JitenHi Anil,
Say suppose i have a single record in which 4 premiums of a particular bond exists.
for eg:
Prem1 Prem2 Prem3 Prem4
129000.00 388000.00 228000.00 14800.00
Now this is a single record for a particular bond ... now i need to calculate the max value among these 4 premiums.
How would we proceed to achieve this?
Regards
Jiten
Edited by: Jitendra Yuddandi on Feb 3, 2009 1:04 PM -
How to Get and Update properties values from XML tag Using Xquery or PL Sql
Hi
I have this tag
<Solicitud Pais = "1">
How i can get Pais value?
How i can update Pais Value?
Y can use Xquery funtions or PL SQL for this?
Thak's
AngelHow i can get Pais value? ExtractValue
How i can update Pais Value?UpdateXML
Y can use Xquery funtions or PL SQL for this?Yes
Without knowing more about your requirements, where information resides, or even a version of Oracle, that is the best I'll do. -
I recently updated to Firefox 4. Now my Norton password protection does not work; My hotmail view on my MSN home page does not work; and my stock updates to not work. I have to click on "hotmail" to see if I have new e-mails and click on "stock quotes" to see updated stock values. Prior to the "upgrade", my new emails could be viewed on my MSN homepage as well as my stock prices. Does anyone know why this is occurring?
I was able to fix the issue here. Steps Taken: From the comand line I ran
dscl /Search read /Users/jdoe HomeDirectory
It returned # No such key: HomeDirectory
This was the big clue.... it should have returned
HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
I unbound the Mac from AD and ran the following command in terminal.
dscacheutil -flushcache
I then went into OS X sharing preferences and renamed the computer slightly, so it would create a new computer record in AD. I rebound the machine to AD making sure in Directory Utility Advanced, under User Experience that Force local home directory on start up disk was unchecked and Network protocol to be used was AFP.
I then ran
dscl /Search read /Users/jdoe HomeDirectory
and it returned
HomeDirectory: <home_dir><url>afp://files.hihllc.lan/Users/jdoe</url><path>/</path></home_dir>
I had the user reboot... which was necessary. When he logged in HomeSync fired up. He had quite a few conflicts, so I told him to select use files on this computer for all conflicts.
I checked the FileSyncAgent.logs and it was good.
Let me know if this fixes your issue.
Thanks,
Ray -
Loop through xml and update the value
I have the following xml table. I need to update the Field which name="data"
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root name="xyz">
<Row id="1">
<Field name="data">456</Field>
<Field name="time">2005-02-08 10:43:51</Field>
</Row>
<Row id="2">
<Field name="data">123</Field>
<Field name="time">2005-02-08 10:43:16</Field>
</Row>
</Root>
After update, the table should look like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<Root name="xyz">
<Row id="1">
<Field name="data">abc</Field>
<Field name="time">2005-02-08 10:43:51</Field>
</Row>
<Row id="2">
<Field name="data">edf</Field>
<Field name="time">2005-02-08 10:43:16</Field>
</Row>
</Root>
How do I update the value through java program? I do not want to load the data to database to update the value. The constrain is that i must have the value updated in java application before I loaded it to the database.
Please any advise?
Thank you!Use a DOM parser to parse the xml document...you will get a Document object, which you can use XPath or traverse the DOM tree and perform the updating.
-
How to plot with multi colors in a single XY graph?
Hi,
I'm making hesteresis measurements. In this case, I collect data while sweeping voltage first from 0 to 2V, and then back from 2V to 0V, and the data are plotted in a single XY graph. In the XY graph, I want forward sweep plot of one color while the reverse sweep with another color so I can easily make comparisons. And I want to see the data real time. I tried to wire "plot color" in "property node", but this will change the color globally and can not be applied to a section of data. Can anyone advise me how to do this? Thanks!
Guanglei
Solved!
Go to Solution.Hi Graham,
Thank you very much for the reply, I really appreciate it.
However I don't quite understand your descripton. Yes I do spit my data in two arrays, one for forward sweep, and the other for reverse sweep. I can plot with different colors in XY graph by appending several XY graphs into one, but by doing this I can not see the data real time. I quickly made a vi to demonstrate my problem, hope this will give you a better understanding. Thanks.
Guanglei
Attachments:
demo_GL.vi 108 KB
Maybe you are looking for
-
To make selection period mandatory in Logical Database Report
Hi All, My report is using customized HR Report Category with selection period as Key Date. My requirement is to make Key Date as mandatory field and with default value as sydatum. Pls help . Regards, Nibha
-
Error when creating transformation or DTP
I am trying to load data from one DSO to a second DSO using DTP and Transformations. When I try to create the DTP or Transformation I am faced with the message below (I am able to create an update rule). Can someone advise on a reason/solution? Tha
-
ISA SSO problem, help!!
Our system landscape is as follows: 1. Portal(7.0 sp8) PGD host:pekax119.mycompany.com 2. CRM(2005) CGS host: crmdev01.mycompany.com Abap instance Java instance (ISA installed here) We want to integrate the ISA applications into P
-
512 MB RAM is mandatory for installing oracle 9 on linux 8. Thanks, Regards, Akshat
-
Hi All, I have Query like this when i select data from Select * from @TempforBU the result contains 9 rows. But next insert only 2 rows are inserting(As table is empty) Declare @tempforBU table([partner_ID] Varchar(50) null ,DeleteBULevelCode Varchar