LV2009: Graph- Copy Data moves/removes cursors
Using a right click->Copy Data seems to move or remove cursors from the image copied to the clipboard. Anyone know of a workaround that doesn't involve screen cap and edit?
PrtScn result:
Copy Data result:
Other results show the cursor changing its value, but only in the vertical axis.
Thanks,
Joe Z.
This forum post is over three years old. In order for the community to better answer your question could you please post a new question and link this older post to it. This will allow it to appear nearer to the top of the postings. Have a great day.
Alex D
Applications Engineer
National Instruments
Similar Messages
-
PS CS5 Extended on Windows
When trying to use the clone stamp and/or healing brush as soon as I move the cursor from the toolbar over to the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush. This just started tonight. What's causing this weird behaviour?What are the settings in Window > Clone Source?
-
How can I get extract the data between two cursors on an XY graph
How can I get extract the data between two cursors on an XY graph
Well, you say xy graph, so this might be a more complicated problem.
For a waveform graph it's trivial. Simply get the two cursor indices (property: cursor index) and apply them to array subset of the data. Is that all you need?
Here's how the above code would look like. using cursor.index instead of cursor.x elimnates the need to include scaling information.
For an xy graph, there could be multiple segments (e.g. imagine a spiral that passes the desired x range multiple times from both sides). This would neeed significantly more code for a general solution.
Message Edited by altenbach on 11-24-2009 07:53 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
cursorsubset.png 17 KB -
Event Precedence - Mouse Move or Cursor Move on Graph?
Since LabVIEW 8+ introduced cursor events (grab, move, release), is there a conflict that would occur between a mouse move event and cursor move event since a cursor move involves a mouse move? Or, since the cursor move requires the left mouse button to be down, does that allow LabVIEW to differentiate which event is occurring? I have some code I am writing to draw a box on an intensity graph (using the new plot.images property for graphs) so as to extract a region of interest. At first, I want a cursor to follow the mouse as it moves over the graph. Then, I want to draw the box region when I grab the cursor (with left mouse key down) and drag it. Differentiation of these two event types will allow me to unambiguously accomplish this task.
Thanks,
DonMoving a cursor will interleave mouse move and cursor move events.
However, you can easily keep state of mouse up/down to distinguish what to do in this particular case. See attached draft (8.20).
LabVIEW Champion . Do more with less code and in less time .
Attachments:
eventqueue1.vi 29 KB -
How do I remove the question mark on my dock?
When I move my cursor over it it reads "photos".Everything in the Dock is an alias.... that is a tiny file that points to the original app, folder or file.
If the original app, folder or file is missing or not accessible in some other way (deleted?), it displays a question mark.
You remove it the same way you remove any icon from the Dock.
Simply drag the icon up away from the doc a couple of inches and let go of it.
It should just disappear with a poof and some clouds. -
"Copy data" fails to copy entire graph image
Formerly "Copy Data" when right clicked would copy a graph together with the data for pasting as an image file into other applications.
I have an application that used to work fine like this but now if you "Copy Data" you only get the graph background, grid, axis, etc. No plot lines.
A graph which does copy correctly in a sub VI if running stand alone (not in the main VI), will not copy correctly when running from the main VI.
Export Simplified image works and preserves the data plot, but fails to preserve the same graphical look to the plot, so is not desired for this use.
Running 8.2.1. Many different development versions of this application had working "Copy Data" for months, so its a new occurance. Problem occurs in multiple office apps: Word, PPT, Paint, and on multple computers. Occurs on both development version and executables built in 8.2.1I am having similar problem. Using "copy data" gives only a blank background. See attachment; export simplified image options works but copy data option does not. I am usiing LV 2009 SP1. Any help will be highly appreciated.
Attachments:
copy data.JPG 34 KB
export simplified image.JPG 70 KB -
I was working on an email last night and must have set something on which I do not want. When I state firefox, it comes up full screen but without any menu or toolbars. Even when I move the cursor to the top of the scrren to reveal what is there, there still is no menu or toolbars showing.
If you run Firefox in full screen mode then press F11 or Fn + F11 to toggle (Mac: command+Shift+F).
-
How to use NAS for copying data on?
Well, this may sound like a simple question, but apparently it's not as simple as it seems.
I have a Raidon SL3620 NAS. I managed to set it up with help of one of our community members.
However, now I found the problem of not being able to copy all my data on there. I want to copy my movies etc to the NAS, so I created a user (myself) and a group (called public), with no shared space limits. I granted access to all to make things easy, and after the harddrives were formatted, I drag-dropped the relevant folders into the new user directory on the NAS.
First of all, it predicted some 100 hours to complete the task (and my iMac only has a 1TB harddrive), whilst my Mac and the NAS are both connected via ethernet. I find that unlikely.
Then when I woke up this morning, it had aborted the transfer due to lack of space. It has 2x 2TB storage in RAID 1, and as I said, my iMac has a 1TB HD. So why does it say it's full after 900MB??
Also, when I then decided to remove the data, I was told some files were in use. Which surprised me because the copy was cancelled. I checked airport utility and no one was using it, so I wonder what's happening there!
Can anyone help me out?right, I think this was caused by using a wireless connection, which takes longer than smoke signals. Using ethernet seems to have solved the issue for now
-
Pda graph redraws every time when cursor is moved
Hi,
I use PDA Module 8.2 and Windows Mobile 5 OS on PDA.
I
have a problem that every time I move cursor on graph control plot is
being redrawn, so it realy annoying when you have 5000 or more points
and you have to wait a second while plot is being redrawn.
You can test this in attached vi.
Is there any way to aviod this?
Thanks,
andrej
Attachments:
test1.vi 25 KBandrej wrote:
I need to react user-interaction.
I will resize data and plot it, but processing will be done on original data.
OK, that's not just a "cursor move", if the cursor movements causes resizing and processing of the displayed data. Most likely, the processed data looks different so a redraw is needed anyway.
Reducing the displayed data as suggested by others is certainly a good thing. However, 5000 points are not that many, so maybe you are doing things very inefficiently and wasteful. For example, currently you don't have a small wait inside your loop, so the While loop alone will consume all available CPU, strongly competing with the graph redraw operations for CPU resources.
Why don't you show us the real code that modifies the display/data when the cursor is moved?
Also, if the data is manipulated via cursors, it is generally a really bad idea to have the axes set to autoscale.
LabVIEW Champion . Do more with less code and in less time . -
Copying data from excel(more than one row) and pasting into table control
I have a requirement to copy data from excel and have it pasted it into the corresponding fields table control when the user clicks on an icon.For the first part I used a class to copy it from the clip board.By the previous process,I get the data inside an internal table, but even after trying to split the data using 'split at cl_abap_char_utilities=>horizontal_tab into table itab.' it's not working.The table and the excel file are of the same structure.
Does anyone know any cause as to why it might not work?Is there any other way to achieve my objective?
BonHi,
try to get data into internal table as below
TYPES : BEGIN OF ty_data ,
zbukr TYPE payr-zbukr ,
hbkid TYPE payr-hbkid ,
hktid TYPE payr-hktid ,
rzawe TYPE payr-rzawe ,
chect TYPE payr-chect ,
laufd TYPE reguh-laufd ,
laufi TYPE reguh-laufi ,
lifnr TYPE reguh-lifnr ,
vblnr TYPE reguh-vblnr ,
rwbtr TYPE reguh-rwbtr , "uncommented
unique_no TYPE char13 , " Added SAP Doc. No. and current year concate in NEFT,RTGS and Fund Transfer cases
END OF ty_data .
DATA : wa_file LIKE LINE OF it_file ,
wa_data TYPE ty_data .
DATA: it_data1 TYPE kcde_intern WITH HEADER LINE,
wa_data1 LIKE LINE OF it_data1.
start-of-selection.
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = lv_file1
i_begin_col = '1'
i_begin_row = '4'
i_end_col = '11'
i_end_row = '60000'
TABLES
intern = it_data1
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc = 0.
PERFORM format_data.
ENDIF.
FORM format_data.
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
DATA it_tab LIKE wa_data OCCURS 0 WITH HEADER LINE.
LOOP AT it_data1.
MOVE it_data1-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE
it_tab TO <fs>.
MOVE : it_data1-value TO <fs>.
MOVE it_data1-value TO p_table.
AT END OF row.
APPEND it_tab.
CLEAR it_tab.
ENDAT.
ENDLOOP.
it_data[] = it_tab[] .
ENDIF.
endform. "format_data -
SQL Server: 2008 R2 SP2
Before describing my problem, I have gone via the forum, there is no view or functions inside my stored procedure
When running a particular stored procedure inside crystal report, the error " Could not continue scan with nolock due to data movement" comes once every few weeks. After I clear the query cache plan, it works again for few weeks and the problem
comes again. During these few weeks, there is no restart or query plan clearing.
If I run the stored procedure inside SSMS, where the SQL statement is copied and pasted from SQL profiler during crystal report run, there is no error.
I discovered running in SSMS and crystal report generate 2 different query plans even I copied the SQL from SQL profiler, I have actually saved the query plans. Unfortunately, this forum does not accept attachments, or otherwise I will post my query plans
here.
There is one thing I notice about the query plan is during nested loop operation, there is a warning "no join predicate". I don't use any views or UDF in the statement, nor did I use pre-1992 ANSI join syntax. However, I did use table variables.
My guess is whether this will cause " Could not continue scan with nolock due to data movement", after I clear the cache, I run crystal report again, and I look at the plan again, the "nested loop no join predicate" warning is gone.
Running this stored procedure took 1 second maximum, even when this error is popping up, it pop up within 1 second.
DBCC checkdb has been run
The same stored procedure running by crystal report in a SQL 2008 (non r2) live environment has no problems, so I am thinking this is R2 specific problems.
The "nested loop no join predicate" error SQL statment is below, no views, no udf, but table variables
INSERT @ChequeAccount
SELECT PS.PaySummaryID, PS.EmployeeID, PS.CostCentreID,
(PS.GrossPay + PS.LumpSumA + PS.LumpSumB + PS.LumpSumD+ PS.LumpSumE+ PS.ETP+ PS.PaymentsAfterTax - PS.DeductionsAfterTax
- PS.Tax- PS.ETPTax + PS.TaxRebate) * -1 AS Amount,
CGLM.GLAccountID
FROM Pay_Summary PS JOIN Input_Sheet ISH ON PS.InputSheetID = ISH.InputSheetID AND ISH.PayrollID = @binPayrollID
AND PS.PaySummaryID NOT IN (SELECT PaySummaryID FROM @ChequeAccount)
JOIN Payroll P ON P.PayrollID = ISH.PayrollID AND P.EmployerID = @binEmployerID
JOIN CustomGLFixMapping CGLM ON CGLM.EmployerID = P.EmployerID AND CustomGLFixMappingNameID = 1 AND CGLM.CostCentreID IS NULLThe error Could not continue scan with nolock due to data movement can occur when you use the NOLOCK table hint, or use the command SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED. That is, so-called dirty reads. The error is not related to the
query plan per se, but when scanning a table, the storage engine will use an IAM scan rather than following the clustered index. If there is simultaneous activity, the storage engine may detect this and abort the operation to avoid returning incorrect data.
Or it may not detect it, and return uncommitted data or fail to return committed data.
All of these effects are transitory and they will not show up when you are alone on the system, only when there is concurrent activity in one or more of the tables in the query.
Using dirty reads is a risky business for the reasons explained above, and it takes careful analysis to understand whether you can live with the errors you can get from a particular query. The error about data movement can be handled: trap the error and
resubmit the query. But what about spurious incorrect results?
If you believe locking to be a problem, you should consider setting the database to READ_COMMITTED_SNAPSHOT
and take out all use of READ UNCOMMITTED/NOLOCK. When the database is in READ_COMMITTED_SNAPSHOT, readers read from the snapshot and only see committed data without blocking writers. This has some other effects like requiring a bigger tempdb,
and there is a risk for other types of concurrency errors, but they tend to be smaller risks.
I discovered running in SSMS and crystal report generate 2 different query plans even I copied the SQL from SQL profiler,
This is because SSMS by default runs with SET ARITHABORT ON. I discuss this in more detail in this article on my web site:
http://www.sommarskog.se/query-plan-mysteries.html
However, as I said, this problem is not related to the query plan as such, although some query plans are more susceptible to this error than others. (All plans are suscpeitble to produce incorrect results).
Erland Sommarskog, SQL Server MVP, [email protected] -
Different ways to copy data between two schemas in one instance
Hi there,
I am searching a good way to copy data between two schemas in the same instance.
Both schemas have an identical structure such as triggers, tables, views and so on. The only difference is the purpose: one is the productivity system and one is for development.
I looked at datapump but I do not explicit want to export / import. I want to keep the data in the productivity schema as well as copy it to the other schema. Any ideas? I found out there is a copy statement but I dont't know how that works.
Thank you so far,
JörnThank you for your replies!
I also thought of creating a second instance for development and move the dev - schema to it. I just don't know whether our server can handle both (performance?). Anyway the idea is to have a possibility to quickly rebuild the data inside a schema without indixes or triggers, just pure data. I thought the easiest way would be to copy the data between the schemas as they are exactly the same. However if you tell me DataPunp is the best solution i won't deny using it :).
When you export data a file is created. does that also mean that the exported data is deleted inside the schema?
best regards
Jörn
Ps: Guido, you are following me, aren' t you? ;-) -
How to get the plsql table data into output cursor
Hi,
Could anybody please help me.
Below is an example of the scenario..
CREATE OR REPLACE PACKAGE chck IS
PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR);
TYPE get_rec is record (ename varchar2(20),
eno number(12));
TYPE t_recs IS TABLE OF get_rec INDEX BY BINARY_INTEGER;
emp_tab t_recs;
END chck;
CREATE OR REPLACE PACKAGE BODY chck AS
PROCEDURE getdata(dept_no IN VARCHAR2,oc_result_cursor OUT sys_REFCURSOR)
is
BEGIN
select ename, eno
bulk collect into emp_tab
from emp;
open oc_result_cursor for select * from table(emp_tab); -- I believe something is wrong here ....
END;
END chck;
the above package is giving me an error:
LINE/COL ERROR
10/29 PL/SQL: SQL Statement ignored
10/43 PL/SQL: ORA-22905: cannot access rows from a non-nested table
item
let me know what needs to be changed
Thanks
Manjumanjukn wrote:
once i get the data into a plsql table, how to get this plsql table data into the cursor?There is no such thing as a PL/SQL table - it is an array.
It is nothing at all like a table. It cannot be indexed, partitioned, cluster, etc. It does not exist in the SQL engine as an object that can be referenced. It resides in expensive PGA memory and needs to be copied (lock, stock and barrel) to the SQL engine as a bind variable.
It is an extremely primitive structure - and should never be confused as being just like a table.
Its use in SQL statements is also an exception to the rule. Sound and valid technical reasons need to justify why one want to push a PL/SQL array to the SQL engine to run SELECT 's against it. -
Atv 1 no longer able to stream or copy over movies
Hi
I have the original atv which since installing lion seems to no longer be able to stream movies without them stopping about every minute, or be able to copy the movie over from itunes, for example it has been copying a movie over from itunes all day and its still not done.
Anyone having the same issue
Does anyone have an answer.
I have all system up to date with latest itunes
Funnily enough I can watch the movies stream to my iphone from my mac with no issues,
I have changed channels on the router and have a reasonable connection speed.
thanks
chrisI am having the same issue - ever since I went to Lion my Apple TV 1 doesn't stream without crashing. My Apple TV 2 works just fine...
We can't be the only ones... -
Copying data to its corresponding type folder is mandatory...?
hey ...if we copy data into our playbook from other source....than we must copy it to its corresponding folder
for ex. if want to copy video into PB than we have to copy it into the videos folder of the PB ....why is it so..?no alternative is there...?
Solved!
Go to Solution.Install a proper file manager like Files and Folders or My File Manager and copy them from downloads to where you want. Or use wifi connection to playbook from your computer and move them with the computer. They will usually go to downloads or the normal location first.
there are only three possible sources to copy from, internet, email or your computer. Can't copy in from usb.
Sarah.
Maybe you are looking for
-
Hi We have a webdav oracle files instance running in http mode. how can it be switched / configured to run in https mode ? Thanks in advance
-
During installation of OAS 10g (10.1.2), by default the pagefile.sys on the C:\ is checked to see that it has at least 512 MB. The pagefile.sys on our Windows server is located on a different drive. Is there a way to specify to the OAS installer to s
-
hi! I'm a beginner to jsp, and want to do the following: - Pass 2 input parameters (name and city) from test.jsp to test.java using <jsp:setproperty ....> - Use <jsp:getproperty ....>, and get the values (name and city) from test.java Here's test.jsp
-
How to find the CX event bound to a command event string
I have a UI button that has the button action 'Raise Command Event' which has the command string 'item details'. What is the easy way to locate the CX event associated with this command string. Do I have to search through all the rules to find out wh
-
Issue with self reference on ManyToOne relationship
Hi, I have a scenario where one of the columns on a table refers to the ID of the same table for a @ManyToOne relationship. Here is an example class below to better explain the situation: @Entity @Table(name = "DEPARTMENT") public class Department im