Sitemap

Amicuk Programming Answers

Set Cursor.vi fails after it has been called for 30 different panel refs in LV 7.1.1

2015-10-11   Views:0

Advertisement

Make sure both attached files (Run LabVIEW_Cursor_TestCase.vi, SimpleVI.vi) are in the same folder. Run LabVIEW_Cursor_TestCase.vi notice that the -3 error code is returned from "Set Cursor.vi" after it has been called with 30 different panel re

Make sure both attached files (Run LabVIEW_Cursor_TestCase.vi, SimpleVI.vi) are in the same folder. Run LabVIEW_Cursor_TestCase.vi notice that the -3 error code is returned from "Set Cursor.vi" after it has been called with 30 different panel refs. If "Set Cursor.vi" is replaced with "Set Busy.vi" the same error occurs.Is there a workaround for this problem other that setting the cursor image manually in user32.dll? I must be able to open more than 30 panels and set them all to busy. In the test case I used a single VI, simply to demonstrate the error.
Message Edited by Jerred on 05-04-2007 10:06 AM
Attachments:
LabVIEW_Cursor_TestCase.vi ‏68 KB
SimpleVI.vi ‏13 KB

The replay answer
Advertisement
This bug is fixed in LabVIEW 8.0 and later.  Unfortunately, I know of no workaround in LabVIEW 7.x.  When I encountered this bug in one of my UIs in LabVIEW 7.x, my "fix" was simply to ignore the error outputs from the cursor VIs, and to live with the fact that I had no custom cursors after 30 windows had been opened.
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Go to See the other 2 answers

Set Cursor.vi fails after it has been called for 30 different panel refs in LV 7.1.1

Category:DefaultRelease time:2015-10-11Views:130

Make sure both attached files (Run LabVIEW_Cursor_TestCase.vi, SimpleVI.vi) are in the same folder. Run LabVIEW_Cursor_TestCase.vi notice that the -3 error code is returned from "Set Cursor.vi" after it has been called with 30 different panel re[More]

The code to set focus and cursor position fails in a mobile browser

Category:DefaultRelease time:-0001-11-30Views:130

In two previous discussions (http://scn.sap.com/message/15176399 and http://scn.sap.com/message/15205348) I received help on how to set the focus on an OpenUI5 mobile input field and then how to position the cursor at the end of any text that might b[More]

Mouse pointer/cursor clicking fails while screen sharing in Messages & iChat

Category:DefaultRelease time:-0001-11-30Views:130

Has anyone else had this problem? My work partner is sharing her screen using iChat on OS 10.6.8 and I'm controlling it with Messages on OS 10.8.3 - usually working on Adobe Lightroom and Photoshop. Every few minutes or so, I lose the ability to clic[More]

Failing to refresh LOV fields added in the query panel with table

Category:DefaultRelease time:2015-10-11Views:130

Hi.. Iam using Jdev 11.1.1.2.0 I have a scenario like ..i need to add 2 cascaded lovs in search panel and clicking on search button, the result should be displayed in table form. For example.. I have cascaded LOV fields departmentId and Firstname , f[More]

VISA (Serial port) commands fail in the VI, but work in VISA test panel

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have an instrument which has a usb connection. When I connect it to a Windows 7 PC, it automatically picks up the driver and shows up as a "USB Serial Port (COM7) (Manufacturer is FTDI).  When I open up NI MAX, this device shows up as COM7 (ASR[More]

Can't registerOutParameter of cursor type in SQL Server 2000

Category:DefaultRelease time:2015-10-11Views:130

Hi, there, I'm using SQL Server 2000 and a type 4 JDBC driver for it from JRun 3.1. I wrote a stored procedure which has a Cursor (ResultSet) as an output parameter. But I used callStmt.registerOutParameter(1, java.sql.Types.OTHER); I got an exceptio[More]

Unit Test Validation for Output Ref Cursor Not Working

Category:DefaultRelease time:2015-10-11Views:130

Here is the problem: I have a stored procedure as follows: CREATE OR REPLACE PROCEDURE usp_GetEmployee( p_employeeId IN NUMBER, cv_employee OUT Sys_RefCursor ) AS BEGIN OPEN cv_employee FOR SELECT * FROM employees WHERE employee_id=p_employeeid; END[More]

Max no.of rows capacity in a cursor ?

Category:DefaultRelease time:2015-10-11Views:130

Gurus, Do we have any limitations in cursors to hold max no.of rows returned by a SQL ? My select returning 50 Million rows. Can I hold all of them in a single cursor ? Thnaks. SWrong question. A cursor does not have "capacity". A cursor is an e[More]

PL/SQL - Cursor - Select in Select list

Category:DefaultRelease time:-0001-11-30Views:130

Hi. The following PLSQL compiles, DECLARE      CURSOR cur1 IS           SELECT account_no           FROM rnt_account;           BEGIN      OPEN cur1;      CLOSE cur1; END;      <B>This does not, </B> DECLARE      CURSOR cur1 IS           SELEC[More]

Ref cursors for stored procedure

Category:DefaultRelease time:-0001-11-30Views:130

Hi every body, I am new one,I am in learning stage. My java developer was ask me give set of results. i am using in my code sys_refcursor, my questions are. SQL> create or replace procedure sysref(p_out out sys_refcursor) is 2 begin 3 open p_out for[More]

ORA-01000: maximum open cursors exceeded--Error

Category:DefaultRelease time:-0001-11-30Views:130

Hi What is "ORA-01000: maximum open cursors exceeded" error,How to solve. Thanks MisebaHi ORA-01000: maximum open cursors exceeded Other terms Oracle, open cursors, exchange infrastructure Reason and Prerequisites The parameter "open_cursor[More]

Hot
What the hell?? I'm in the middle of a project using SWF files, Creative Cloud updates Premiere Pro and all my clips are now 'not supported,!! How do I get the previous release installed so I can finish my project?That a tool can do something doesn't [More]
I have a  HP Pavilion HPE h8- 1214 Desktop ,  I recieved a Seagate 3TB expasion drive as a gift but when plugged in, the system will not boot. It turns on but thats it.  It never gets to the boot sequence. I have it plugged into the top 3.0 usb slot [More]
8.1 didn't fix my issue with Bluetooth. I can receive calls and play music thru my Mazda CX-9 but I cannot make outgoing calls. My daughter has same issue with her iPhone 5 in her car so it has to be glitch with Apple yet. Please help. I'm so totally [More]
Where will the output of the "spool filename.out" command go if I do not supply a full path name? If I'm executing my PL/SQL script in iSQL, it goes into the directory I was in when I started up iSQL. When I'm using SQL Developer, it never shows [More]
Hello ALL. I need to update the field AUFNR in database table BSEG, I'm using the BAPI BAPI_ACC_DOCUMENT_POST, the function module execute with out errors, but do not change the field AUFNR. Could any one help me? Thanks in advanceHello Lalit, thanks [More]
When saving a document library as a template, any configured metadata navigation and key filters columns are lost. Has anyone else experienced this issue or know a viable workaround? Can anyone shed some light on why these settings are not saved with [More]
When a post gets moved to another forum, and you click on the green-arrow Moved: it shows you a new screen with the new link, and info where it is moved to. See here and here Could that be changed in such a way, that when you click on the Moved: it t [More]
Hello, We are going to be deploying MacBook Air computers to our teachers and I was wondering whether anyone has used Apple Configurator to manage and supervise sofware deployment.  I have searched these forums and I've seen a few tutorials that show [More]
hi, can anyone tell me the cmd to export and inport table data of a paticular schemaExp userid=system/pass owner=SCOTT rows=Y triggers=Y Imp userid=system/pass file=expdat.dmp fromuser=SCOTT touser=NEW commit=yes log=log.txtRead other 2 answers [More]
Hi , I am new to IDocs and we have a requirement. when we are sending some IDOCs (ARTMAS05), the size of the file comes to around 2 MB and the frequency is hourly. We do not need all the fields. Is there any way where we can suppress the fields which [More]