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
I keep receiving this error message in a dialog box, repeatedly; so much so, in fact, that it is affecting productivity: "USB OVER CURRENT NOTICE - A USB device is currently drawing too much power. The hub to which it is attached to will be deactivat [More]
Hi I'm working on the configuration of an SFTP server over OAG, using both password and public key authentication. This particular listener need 3 policies: - Password Authentication - Public Key Authentication - File upload Both File upload and pass [More]
Hello, We are trying to purchase a box from vendor 1, have vendor 1 ship the box to vendor 2, and then have vendor 2 add some additional components and then ship the finished material to us. Can anyone help me with this scenario from a Purchasing poi [More]
Dear Experts, Scenario: Create document in DMS with status IE In preparation. Change the document with status Release Before release of the document we validate that the respective documents are stored in respetive folders. Documents are stored manua [More]
How to compare dates using this date picker collection. SELECT APEX_ITEM.DATE_POPUP(1, 1, null, 'DD-Mon-YYYY',10, 15, ' ','apex_date_f01_' || LPAD(rownum, 4, 0) ) "Baseline Start", APEX_ITEM.DATE_POPUP(2, 2, null, 'DD-Mon-YYYY',10,15, ' ','apex_ [More]
I've searched the forums and googled, but I haven't been able to find the answer.  I'm sure I've missed it somewhere... I start my openbox session with 'startx' from the command line. I would like a terminal command or a key-binding to be able to exi [More]
I currently have 3 windows 2008 r2 domain controllers. 1 physical and 2 virtual. I am looking to see what the best upgrade path would be. the physical is the primary and has dhcp and dns services Stonecold31666See this, http://social.technet.microsof [More]
Hi Friends, I need to deploy WEBIreports and Dashboards in mobile devices of different OS like IOS/Android/Windows. How far is it possible to fulfull this requirement through design studio. BO Ver - 4.1 Thanks, GauravI am not sure why you want to use [More]
$ ./runInstaller Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please wait... Error in CreateOUIProcess(): -1 : Bad address What does this mean? nullVishal Khemka (guest) wrote: : [[email protected]]# ./runInstaller : Initializing Java Virtual [More]
Hi everybody! How are u? I have knowlege on C++,but Im new to oops concept in abap,Im very interested to learn oops concepts in abap ,so.. can anyone provide me good documentations related to oops concepts and explanation of  how the business scenari [More]