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
Whenever I attempt to use anything involving openGL, my CPU usage hits 100%. Complex openGL programs will drop to a framerate of less than 10, and sometimes crash Xorg.  How can I fix this? General system info: lspci 00:00.0 Host bridge: Intel Corpor [More]
hi can i sync my husbands i phone to our itunes account with out him getting all my contacts, can he access out itunes music and have his own contacts with out downloading mine as well dot 65http://support.apple.com/kb/HT1495Read other 2 answers [More]
Something is going on with the latest Mac OS. Seems to be only with Intel Macs only.Image capture does not recognize either scanner I have.(Canoscan 8400F also). I see others have broken connections other than Canon also. Has Apple given an official [More]
Just got through patching from latest xref (May 11/09) After a reboot -- -r This is what I get... SunOS Release 5.10 Version Generic_139556-08 64-bit Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. /pl [More]
The DNS has been changed but iTunes doesn't seem to get it!I have no idea exactly how the Store operates, but as far as subscribers are concerned Apple isn't involved. Once you've subscribed to a feed, your iTunes application uses your computer's int [More]
I'm currently using iPhoto 2.0.1 and QuickTime Player 7.1.3. When I export a slideshow from iPhoto to QuickTime, a '.mov' file is created. When I play it, I can view the slideshow but there's no sound. Does anyone know why? Here's how I export a slid [More]
Hi , I have developed an RFC function module in SAP BW (BI 7.0). For this function module I have to populate material  number and  Quantity required and UNIT.Every thing working good. If the user forgets to enter unit  or enters other unit  where Qua [More]
Hello All, we are facing issue while doing sap migration from windows sql to solaries oracle. Import mointor has been successfull but we are issue in table Dynopro. during the istallation phase we stuck facing issue reset DDIC password. when try to l [More]
I really need to reset it to factory settings as it has all of her information on there.Hopefully, your friend supplied you with the discs that originally came with the computer. Solution may be found if you search in the "More Like This" sectio [More]
hi, Is Forms 6i & Reports 6i compatible with Oracle 8i database?Yes it is, no doubt. We use it with 8.1.6 and 8.1.7. MichaelRead other 2 answers [More]