Stand-alone application generates error with function 'Ramp Pattern' (bug in application builder?)
Hello,
in my program a main.vi links to a sub-VI via 'open VI reference' and 'invoke node'. In this sub-VI the function 'Ramp Pattern' is used. The program itself runs normally, but if I build a stand-alone application using application builder I get an error message 'error 1003 occurred ..'. I believe this error is directly related to the build specifications which are as follows: the main.vi is referenced in a main build specification, the sub-VI in its own specification where the target is a LLB.
I appended an example-program that exhibits the error (when executing 'Application.exe' and pressing 'calculate ramp'). The error does not occur when disabling the 'ramp pattern' function and rebuilding the application.
I would rate this to be a bug in the application builder and would appreciate any help on how to solve this problem. However, due to the structure of the whole program the sub-VI has to remain in its own LLB.
Attachments:
RampPattern.zip 198 KB
There can be reasons why a VI might appear broken when loaded from an executable. For example, if you have different versions of the same VI or enum that differ in such a way as to break the calling VI, that can cause a broken arrow when loaded from the executable. If you have DLLs being called and the runtime engine can't find the DLL, that can cause a broken arrow that you might not see otherwise. Finally, there is a bug related to a VI appearing broken when its not.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
I have a stand alone instance of ad lds on win server 2008 R2. Using ldp.exe 3.0 I CAN do a NON-ssl connection and eventually a bind using servername or the fqdn which is the servername followed by a period (i.e servername.) or using the
IP address. Note that the server is in a workgroup (not a domain).
However, when specifying the ssl port, ssl checkbox and any of the following servers in LDP.exe:
servername
servername. (note the trailing period)
ip addr
I get:
ld = ldap_sslinit("SRV9.", 50001, 1);
Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
Error 81 = ldap_connect(hLdap, NULL);
Server error: <empty>
Error <0x51>: Fail to connect to SRV9..
For SSL I expected the IP addr to fail because it has to be the FQDN. I expected the servername + period to work because it has on similar ad lds instances in the past.
I verified that the port is correct using dsdbutil. I have also tried changing the port using dsdbutil. Could this mess anything up if I specify that port in ldp.exe?
I have used the mmc certificate snap in to validate the certification path. The rootCA and subCAs are valid and work on other websites.
Under the details tab I have validated:
Issuer
Valid dates
Subject is SRV9
the template is WebServer
Server Authentication (1.3.6.1.5.5.7.3.1)
I have put the server cert in both the machine and service (for my ad lds instance) under the Personal store. I also have put the two "parent" CA certs in the Trusted Root Cert stores for both the service and the machine.
Additionally, here is some partial output from netstat -ano on the ADLDS machine:
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:50000 0.0.0.0:0 LISTENING 1256
TCP 0.0.0.0:50001 0.0.0.0:0 LISTENING 1256
TCP [::]:50000 [::]:0 LISTENING
1256
TCP [::]:50001 [::]:0 LISTENING
1256
UDP 10.200.41.75:40000 *:*
1280
UDP 10.200.41.75:50000 *:*
1256
UDP 127.0.0.1:59087 *:*
1256
UDP 127.0.0.1:59088 *:*
1280
UDP 127.0.0.1:59097 *:*
1300
UDP [2001:0:9d38:90d7:245d:2f39:f537:d6b4]:40000 *:* 1280
UDP [2001:0:9d38:90d7:245d:2f39:f537:d6b4]:50000 *:* 1256
UDP [fe80::245d:2f39:f537:d6b4%13]:40000 *:* 1280
UDP [fe80::245d:2f39:f537:d6b4%13]:50000 *:* 1256
UDP [fe80::bd46:2e7e:708c:1c3a%11]:40000 *:* 1280
UDP [fe80::bd46:2e7e:708c:1c3a%11]:50000 *:* 1256
Also Taskman reveals:
PID
1256 dsamain.exe ADLDS
1280 dsamain.exe ADLDS (another instance that I am not using)
1300 AD Webservices
MY pid is 1256. Port 50000 is non-ssl, 50001 is SSL. I have no idea what port 59087 (attached to my pid) is for.
Thanks!
leoLee you rock! Thanks!!
My problem was the missing read permission. I modified the instructions a bit from your link for Windows Server 2008 R2 for the permission issue:
To grant the Read permission on the server authentication certificate to the Network service account
First go into control panel > Folder Options and turn on view hidden files.
Navigate to the following default directory where the installed or imported certificates are stored:
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
Right-click the appropriate server authentication certificate, and then click
Properties. I see a strange filename convention. I just sorted the files by date and picked the latest one. Not sure how else to do it. Can someone please tell me the file naming convention of these files in MachineKeys?
On the Security tab, click Edit.
In the Permissions dialog box, click Add.
In the Select Users, Computers, or Groups dialog box, type
Network Service, and then click OK.
Turn off view hidden files in control panel Folder Options.
leo -
Error with Function Module for Automatically Reversing FI Documents
We are trying to use BAPIACREV to automatically reverse a document as part of workflow but get an error with 2 of the import parameters stating they were never transferred:
1) OBJ_KEY_R
2) OBJ_SYS
Does anyone know how to resolve this?Hi,
OBJ_KEY : Reference Key
This key value must be created while posting the document and this key must be maintained in any of SAP tables
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_KEY in BKPF-AWKEY field.
OBJ_SYS : Logical system of source document
Logical system may be maintained in some table.
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_SYS in BKPF-AWSYS field.
or you can use following FM to get logical system
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
OWN_LOGICAL_SYSTEM = L_V_OWN_LOGICAL_SYSTEM
EXCEPTIONS
OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
OTHERS = 2 -
Error with function returning "multiple" values
Hi
i am trying to write a function to return "multiple" values
however, it returned the following error during compilation
Compilation errors for FUNCTION sch1.myfn
Error: PLS-00382: expression is of wrong type
Line: 19
Text: RETURN V_res;
Error: PL/SQL: Statement ignored
Line: 19
Text: RETURN V_res;
ques :
1 - is there a need to always declare a table ? as it'll only return a single record with multiple columns
CREATE OR REPLACE TYPE result as table of result_t;
CREATE OR REPLACE TYPE result_t as object
(user varchar2(100), comments varchar2(4000));
CREATE OR REPLACE FUNCTION myfn (IN_ID IN VARCHAR2, IN_BEGIN IN DATE) RETURN result IS
type V_res_t is RECORD (user varchar2(100), comments varchar2(4000));
V_res V_res_t;
BEGIN
select a.user, a.comment
into V_res.user, V_res.comments
from view1 A,
(select distinct id,
begin_time,
max(time) over(order by time desc) max_time from view2 b
where id = IN_LOTID
and begin_time = IN_BEGIN) b
where a.id = b.id
and a.begin_time = b.begin_time
and a.time = max_time
and a.id = IN_ID
and a.begin_time = IN_BEGIN;
RETURN V_res; --> this is the line that the system keep complaining
END;
Note : pls ignore whether the return results is correct but i am expecting it to always return a single row
pls advise
tks & rgdsAnd if you really want to return a type as a table of, work with PIPELINED function :
SQL> CREATE OR REPLACE TYPE result_t as object
2 (user# varchar2(100), comments varchar2(4000));
3 /
Type created.
SQL> CREATE OR REPLACE TYPE result as table of result_t;
2 /
Type created.
SQL>
SQL> CREATE OR REPLACE FUNCTION myfn (IN_ID IN VARCHAR2, IN_BEGIN IN DATE) RETURN result
2 pipelined is
3 user# varchar2(100);
4 comments varchar2(4000);
5 BEGIN
6 pipe row (result_t(user#,comments));
7 return;
8 END;
9 /
Function created.
SQL>PS: there is non sense to use pipelined function in my example, it is just an example to return a type as table.
Nicolas. -
Application variable erroring in function
All,
Have a hopefully simple question..why am I getting an error when I try to reference an Application variable within a method? Is there a trick to get the method to recognize the application variable?
Exceptions]
09:11:59.059 - Expression Exception - in D:\webroot\model.cfc : line 74
Element DBADMIN is undefined in APPLICATION.
Scope Variables
Application Variables:
DBADMIN=databasenameThis suggests to me that at the time the exception was raised, application.dbadmin didn't exist, but at some stage between then and when the debugging was rendered, it was created.
Where's application.dbadmin created?
Adam -
Error with function in indesign cc 64bit
When trying to use the function below, I get this error. Upto now we use the 32bit version (cs6), but with the switch to CC, we're using the 64bit version on windows 7 enterprise (64 bit).
Any suggestions?
G
function datum_en_username() {
var get_username = 'myName = GetUserName\n'
get_username = get_username + 'Set myInDesign = CreateObject(\"InDesign.Application.CS9\")\n'
get_username = get_username + 'Set myDoc = myInDesign.ActiveDocument\nmyDoc.InsertLabel \"getUserName\", myName\n'
get_username = get_username + 'Function GetUserName()\n'
get_username = get_username + 'Dim objWSHNet, strCurrentUser\n'
get_username = get_username + 'Set objWSHNet = CreateObject(\"WScript.Network\")\n'
get_username = get_username + 'strCurrentUser = objWSHNet.UserName\n'
get_username = get_username + 'Set objWSHNet = Nothing\n'
get_username = get_username + 'GetUserName = strCurrentUser\n'
get_username = get_username + 'End Function'
var datum = new Date();
app.doScript(get_username, ScriptLanguage.visualBasic);
username = app.activeDocument.extractLabel('getUserName');
return [datum, username];Try launching InDesign (and Extendscript Toolkit if running from there) as administrator.
-
Hi Guys,
I have created a custom function module ,and transported to Production server,but the thing is am getting an error like "Error generating the test frame".What could be the reason?Give me your suggetions on the same.
Warm Regards,
Mohandoss P.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
Generating error with export to PDF action
Hi,<br>
After we have implemented Nakisa OrgChart Accelerated (live solution) successfully, we installed export pack 3.0 correctly. If we want to export an OrgChart to PDF a message pops up saying that an error occurred while generating the file.<br>
What is/can causing this?<br>
Thanks in advance,<br>
BrunoHi Bruno,
I know that the PDF functionality only works after Service Pack 1.0 has been installed because of some content in the CSS files in the Themes folder. I am unsure if implementing this element or the whole of Service Pack 1.0 would fix this for Accelerated because of potential style changes, but you could try it. I believe the files are orgChartTheme.css and NOMSStyle1.css.
I hope that helps.
Luke -
9iR2 database generating error with DBCA
I am using WinXP Proffessional Edition and setting up Oracle 9iR2 Database Server Enterprise Edition with Software Only option(my previous trials always fail generating new database) When ever I am trying to generate a database with DBCA(Database Configuration Assistant), again it fails when "Creating and Starting Oracle instance", giving "CreateProcess: null -new -sid MYDB1 -startmode m error=2" and the error follows it "ora-12560: tns: protocol adapter error" and all operation fails...
listener.ora content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT =
1521)))
(ADDRESS_LIST =(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
sqlnet.ora content:
NAMES.PREFERRED_SERVERS =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SQLNET.AUTHENTICATION_SERVICES= (NONE)
Oracle services running during database creation
-OracleMTSRecoveryService
-OracleOraHome92Agent
-OracleOraHome92HTTPServer
-OracleOraHome92TNSListener
Hey people, what would the solution be, how would I generate database without getting headache?Try this - create the new database with the name/SID of orcl and give it a try...
-
Multiple Application Domain Error with Preloader
Hi all,
I'm attempting to upgrade to Air 3.6. My app runs as a swf on the web and also meant to be packaged as a "slow" build (not interpreter) for iOS since I need the performance of Starling. Since it's a fat app, so thus it has a preloader for the web, which works perfectly. However when I try to start the app in ios-debug on my iPad, I get:
[Fault] exception, information=Error: Error #3747: Multiple application domains are not supported on this operating system.
mPreloader = new PreloaderSwfEmbed();
mPreloaderLoader = Loader(mPreloader.getChildAt(0)); // need to wait until the swf loads before grabbing all the information from it
mPreloaderLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, EmbeddedPreloaderLoadCompleteCB);
On the first line of my code snippet here. How can I insert permission regarding multiple application domains for embedded swfs?
Thanks!
ZSOk so I got the swf to load by changing the code above to the following:
var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
context.allowCodeImport = true;
mPreloaderLoader = new Loader();
mPreloaderLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, EmbeddedPreloaderLoadCompleteCB);
mPreloaderLoader.loadBytes(new PreloaderSwfEmbed(), context);
But now when I run the app I get a message dialog on the iPad saying:
Uncompiled ActionScript
Your application is attempting to run uncompiled ActionScript, probably due to the use of an embedded SWF. This is unsupposed on iOS. See the Adobe Developer Connection website for more info.
And yes I am using Adobe Air SDK 3.6, and building with -swf-version=19, at least on the main swf. The other swf was made with an fla with Flash Pro.
Any help people? Why is this still not working? I thought it was fixed in 3.6. I must be missing something.
Thanks! -
Login error with correct u/p using Oracle Application Server / BPEL
Hello,
We are using Oracle 11g and BPEL 10.1.3.4. We had everything working fine until earlier this week. We were receiving an exception when accessing the database from our BPEL process.
Unable to establish connection to "iCareConnectionPool". Error message: Exception occurred testing connection. Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied.
I went into the Application Server control and tested the data source and connection pool and they both failed with the login error. The userid and password being submitted is correct. I checked the data-source.xml file and the id/password looked good. Here are the steps I performed.
On BPEL server:
1) Deleted connection pool iCareConnectionPool, data source, iCareDataSource, and removed /eis/db/iCareDataSource from the DBAdapter.
2) Created new connection pool – iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
3) The connection pool test was successful. Clicked finish to create connection pool
4) From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
5) Modified connection pool to use IDS2 and it worked.
6) Modified connection pool to IDS and it failed.
7) Modified connection pool to jimc and it worked.
On Database:
1) Created new schema/user ICAREIDS
2) Connected using SQL Developer and I could connect
On BPEL Server:
1) Deleted connection pool
2) Created connection pool iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
3) The connection pool test was successful. Clicked finish to create connection pool
4) From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
5) Modified connection pool to use IDS2 and it worked.
6) Created new connection pool TestPool – same results
7) Tried jdbc:oracle:thin:@//<host>:1521/ORCL - same results
On my local system BPEL server:
1) Created connection pool iCareConnectionPool using jdbc:oracle:oci:@//<host>:1521/ORCL with userid IDS
2) The connection pool test was successful. Clicked finish to create connection pool
3) From the JDBC resources screen, I tested the connection pool and it failed with invalid logon error.
4) Modified connection pool to use IDS2 and it worked.
5) Modified connection pool to use ICAREIDS and it failed.
Since it failed on two different BPEL server's, I am wondering if it is something with the database. I can connect using existing schema's but not IDS or any new schemas. However, I can connect to any schema using any other tool like SQL Developer.
Can anyone provide an insight as to what could be happening here.
Thanks,
JimI found the problem and wanted to pass on the solution in case any one else runs into this problem.
With Oracle Database 11g the passwords are now case sensitive. Because the BPEL server is using 10g drivers the login fails if you have capital letters in your password. -
Error with function module TABLE_COMPRESS?
Hi all,
What is the alternate function module for TABLE_COMPRESS?
This is going fine in 4.7 version.
But in ECC 6.0, if we use this function module we r getting SLIN error (Obsolate statements) .
How can we rectify this SLIN error?
So we have to use another funtion module for the same purpose.
Can any one help on this?
Rewards to all.
Thanks & Regards
Anu.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
Error with function that returns a rowtype...
i have a function that returns a rowtype. below is a simplified version:
create or replace function "GETC"
return mytable%rowtype
is
rec mytable%rowtype;
begin
rec.rowid := 1;
return rec;
end;
eventually i'll want to call this from java. but for now i'd settle for calling it from the XE web front end (and sqlplus).
SQLPLUS: i try to call it from sqlplus by first declaring a variable where i can store the return:
var a mytable%rowtype;
it instantly stops me saying that i can only declare a var of a particular type. so what do i do?
XE interface: i tried various ways to call getc(), but they were all unsuccessful. what should i be doing?
thanks so much for your time.
markoGiven a function like this:
CREATE OR REPLACE FUNCTION get_employee
( p_empno emp.empno%TYPE )
RETURN emp%ROWTYPE
AS
v_result emp%ROWTYPE;
BEGIN
SELECT * INTO v_result
FROM emp
WHERE empno = p_empno;
RETURN v_result;
END get_employee;You can call it within PL/SQL like this:
DECLARE
rec emp%ROWTYPE;
BEGIN
rec := get_employee(7902);
DBMS_OUTPUT.PUT_LINE(rec.ename);
END;However,
1. Unless there is a column named "ROWID" in the table (unlikely since it would conflict with the actual rowid and is therefore not allowed), the type will not have an attribute named "rowid".
2. "1" would not be a valid rowid anyway.
3. %ROWTYPE defines a PL/SQL type, which will not be recognised in other environments such as SQL and Java. -
Multiple application domain error with ANEs
I'm building a mobile app that loads external SWFs, and it works fine when I include the current application domain in the loader context for the Loaders.
However, as soon as I include some native extensions I need to use for the app, I start getting this familiar error:
Error #3747: Multiple application domains are not supported on this operating system.
I've tried switching to the parentDomain, grabbing the application domain from the parent's loaderInfo... no dice.
Anybody know a workaround for this?
I really need to load the SWFs and I really need the ANEs...Well, in case anyone else runs into this issue, here's what I did that fixed it...
I just deleted the <extensions> node from the application descriptor XML and re-published. I have no idea why that fixed it (since Flash Builder repopulates that node when you include ANEs in your build packaging). But it did. -
Application & Runtime Error with Full Motion Recording
I keep encountering the following errors when trying to add
some full motion recording to an existing project in Cap2.
Application Error: Unknown software exception 0x0eedfade at
0x7c812a5b
Runtime Error: 217 at 01661812
After hitting end to stop recording project immediatly shows
these errors and closes. I am recording a web application using IE6
when this happens. Thoughts?1) Upgrade to Captivate 3, which is better equipped to do
full-motion slides. If that isn't an option,
2) try planning your project without the need for
full-motion. If that isn't an option,
3) try another product which is better designed for
capturing "dynamic" actions. Captivate really isn't in its own
element doing full-motion captures of any length.
Sorry I don't have better news, tsumpter, but I hope the
thoughts are some help to you.
.
Maybe you are looking for
-
How do I deal with CPU Temp Issues?
my newly built pc just wanted to shut down b/c the temp hit 80C. I opened it up and the heatsink, cpu, fan everything is not very hot. One spot (don't know technical terms for each piece yet) is a bit warm, but mostly it is cool. I know this is an o
-
i work with windows 7 , have all my music 52k songs, I want to lisen to them but not down load them to my mac mini , 500gb, because is gonna take alot of space, I dont know a lot of this, can somebody help me thanks guys. wifili.
-
Internal display not detected. "Detect displays" option now gone...
Hello! My MacBook Pro will not detect any displays. After going to sleep a couple of nights ago, and bringing the computer out of sleep, the display would not turn on; even though I could hear the computer wake up and the fans turn on. I hard-reset t
-
Splash Screen in my AppleScript
hi, actually i have done a small applescript which is using exiftool to change some efix-data in my images. After finishing the basic function i would like to tune it a bit, if possible Is it possible to create a SplashScreen or similar with AppleScr
-
Installing 2 Application server and 1 DB server and load balancing for 11i
Hi, I need info on how to install and configure load balancing for 11.5.8 on Win2000. The scenario: 1 db server DB, 2 apps/web/forms servers AP1 and AP2. Using rapid install you can only specify one db server A and one form server in multi node insta