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'm using the following: Asp.net C# Server 2003 Sp2/ DW CS3 Access db I'm attempting to connect to a "local" db on my server. I use the database connection string" Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\catalog\Catalog\files.mdb; [More]
Dear Friends We have a requirement that a sales order say order no 1000 with material A qty 5 units This order is Delivered---Billed  The requirement 1 is no one should change the qty to more than 5 units This i can control through OVAH message setti [More]
Trying to get windows 7 to run under iMac. I am learning to fly and the best flight simulator (I'm told) is still FSX which does not run on the iMac which I made my main computer infrastructure last year.  And besides it's got the best screen in the [More]
I have a Service BS_IMIWH_DEV and an interface DeliveryReceipt_OB, and it is running on our fatfreddy system; the J2EE engine port is 50000. I have used the Web Service wizard to generate a WSDL file. I used the following target url: http://fatfreddy [More]
Well, 2 days ago I connected a second CRT monitor to my MSI NVidia FX5200 VTD128 card via the addapter given with the card. It was working ok, though the refresh rates were noticeably slower on both monitors when both monitors were active. Then I sta [More]
Put some songs on my stupid wish list and now I can't find it. Supposed to be below Quick Links in the Itunes store home page. Not there.Are you signed into your account? Put your cursor over your id in the upper right hand corner, click the arrow to [More]
Hi there I have a stored procedure which is executed from a web application. It contains a query (insert-select-from statement). When this stored procedure is called by the web application in PROD, it takes 13sec but it takes 19sec in TEST env. I che [More]
Dear all I had a complete breakdown of my iMac and lost ALL my Data, except some stuff from an old backup on an external HD. I did also transfer some Fotos to show my friends onto the iPad when I received it. Now, these Fotos are the only ones left! [More]
i recently bought Iphone5. I want to install apps  from App store. But do i need to have a dollar account? Is it possible to download and install apps after sign in without register account. Maybe then as soon as i have dollar account, i can register [More]
we having an item (eg. A) which is dual procured one (i.e as Local & Subcontracting procurement).Because of capacity constraint at Subcontracting vendor we have negotiated with the Local Vendor in such a way that he will deliver 10000 for Aug, 50000 [More]