Creating application with odbc driver LabVIEW 8.0
Hi,
I've looked through a lot of examples and tried out a lot of them, I still can't get this right. I have a login vi which connects to a MySQL database via an ODBC driver to authenticate a user, if username & password are right user is sent to another vi. This works well on my computer. I am trying to build an executable/installer to run this on another computer that has LabVIEW 8.0 installed but not the ODBC drivers. I followed examples and included the MDAC files in my application (executable file), and the .udl file I created. I then included the file in my installer. When i run my application in another computer I get the error 'Data source name not found and no default driver specified in DB Tools Open Connec (string).vi'.
1. What more must I add cause I thought adding MDAC and the udl file was enough.
2. Just to confirm: do I add the MDAC in support files in Executable file builder or do I add the files in Installer builder?
3. If I need to include the odbc driver in the application, at what stage (where?) do I do that?
Please do not refer me to help files Applicationi Builder files for versions 7.0 and less because the setup is different and I just got confused.
Please help.
Thanx.
ntfan
Hey ntfan,
Here is a paragraph taken from the Database Connectivity Toolkit ReadMe file.
Distributing Stand-Alone Applications and DLLs
When
you use components from the Database Connectivity Toolset to build a
stand-alone application or a DLL with the Application Builder, you must
install MDAC to the target computer if it is not already installed
along with the appropriate support files. A build script is included in
the Database Connectivity Toolset to help you include all these
components. Refer to chapter 6 of the Database Connectivity Toolset
User Manual for more information.
Are you using a build script as described above?
Brian B
Field Sales Engineer
Tennessee/Southern Kentucky
National Instruments
Similar Messages
-
Instant client with ODBC driver
Hi, I have problem with the instant client version 10.2 with ODBC driver. I have the instant client base package and ODBC package installed in my computer. the Oracle ODBC driver did appear in the ODBC driver list, when I test the connection with driver, it gives error "Unable to connect, SQLState=08004 [ORACLE] [ODBC] ORA-12154 TNS could not resolve the connect identifier specified" I have another computer which has Oracle 8i client installed and works fine. I copied sqlnet.ora and tnsnames.ora to the instantclient installation folder, same error appears. here is the contents of sqlnet.ora:
# SQLNET.ORA Network Configuration File: c:\oracle8i\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES)
here is the contents of tnsname.ora:
# TNSNAMES.ORA Network Configuration File: c:\oracle8i\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
barkeep =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
(CONNECT_DATA =
(SID = barkeep)
I test the host connection with telnet, it works.
can anybody out there walk me through how to set up instant client?
thanks.Thanks Sanjay - I had this problem and your suggestion fixed it: setting the TNS_ADMIN did the trick.
Note: This was on a development PC which already had the Oracle Client drivers installed (so I already had a different TNS_NAMES.ORA in that installation).
It is worth noting that on my target deployment machine which DOESN'T have the Oracle Client drivers (just the InstantClient + Instant-ODBC) I didn't need to set TNS_ADMIN
I'm using the 11g InstantClient (11.1.0.6.0 32 bit)
Hope this helps someone, and thanks again Sanjay for posting :o) -
Failed to create DNS with ODBC Datadirect Driver - error missing or invalid option
Dear All,
I tried to post a first time and get my post thrown away. So please just tell me if that's not the place to post such questions. I tried this forum because I didn't find any revelant information yet on internet.
I installed Informatica and Oracle 11g, tried to create my DSN with the Driver DataDirect Oracle Wire Protocol. I keep bumping into the message " [Informatica][ODBC Oracle wire protocol driver][Oracle] ora-00922: missing or invalid option".
Can you please help to understand where the error comes from?
Here are my current status :
* My table in the Oracle database is created with every field followed by NOT NULL option, the table is successfully created.
* The connection to the Oracle database using Oracle TNSNames Connection server name and TNSNames files seem to work, I tried to connect with another driver Oracle in OraDB 11g_home1. This one succeeds.
* Listener.ora:
# listener.ora Network Configuration File: C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\ql186003\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\ql186003\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = C:\app\ql186003
* Running lsnrctl STATUS:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 22-FEB-2014 21:43:22
Uptime 0 days 1 hr. 8 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\ql186003\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\app\ql186003\diag\tnslsnr\WBEQL186003-Q4G\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TESTDBXDB" has 1 instance(s).
Instance "testdb", status READY, has 1 handler(s) for this service...
Service "TEST_DB" has 1 instance(s).
Instance "testdb", status READY, has 1 handler(s) for this service...
Service "orcl.TD.TERADATA.COM" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.TD.TERADATA.COM" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Thank you very much for any guidance.
QiongHi,
Try this :
While creating TYPE remove semi colon from end of the statement and also dont use extra / as / means execute last statement so you may encounter error..
CREATE TYPE ind_tab_supplier1 IS VARRAY(6) OF VARCHAR2(30)
/ -
Cannot create DSN using ODBC Driver 8.1.5
I was able to create new DSNs using Oracle ODBC Driver 8.1.5 and linked Access tables. But all of a sudden (yes, without any reason, I was not downloading anything at that time) , I got ODBC-Call Failed. And when I tried to reopen (browse) the linked table, a message saying -
One of the library files needed to run this application cannot be found.
Then I realized that I cannot configure existing DSNs using Oracle ODBC Driver 8.1.5. I trid to create a new one. But after I selected the Oracle ODBC Driver, it did not bring me to the screen to set up DSN, and just went back to the same ODBC Datasource Administrator window.
I tried to use SQL Plus to connect to the Oracle server and it worked. But when I tried the ODBCtest, I got the same message with more details -
SQLSTATE: IM003, Native Error Code: 160, Driver Message: Specified Driver could ont be loaded due to system error 1114. (Oracle ODBC Driver).
I tried to follow the 'help' hint but nothing's working. I reinstalled the ODBC driver, and even downloaded the MDAC 2.6 that appeared in one old discussion topic, but still have problems.
Was it something suddenly crashed? Could someone please help? (p.s. I am using win98). Thanks!What version of the mfc42*.dll's do you have in your system directory?
Justin -
TP4: can not run application with ODBC-JDBC bridge
Hi,
I tried to connect to a oracle 10gR1 Database via ODBC-JDBC bridge.
Test connection in dialog "Edit Database Connection" is sucessfull.
When trying to run the application following error occures:
===========================================
08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
08/05/09 11:48:57 SCHWERWIEGEND: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
SCHWERWIEGEND: J2EE JCA-07001
oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
08/05/09 11:48:58 WARNUNG: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
... 10 more
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
09.05.2008 11:48:58 com.evermind.server.ServerMessages severe
SCHWERWIEGEND: Exception beim Initialisieren der bereitgestellten Anwendung: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
java.lang.InstantiationException: Application: current-workspace-app is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:636)
at com.evermind.server.Application.setConfig(Application.java:433)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1865)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1235)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:249)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1465)
at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:422)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:247)
at com.evermind.server.Application.setConfig(Application.java:538)
... 7 more
Caused by: oracle.oc4j.sql.DataSourceException: Unable to create: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:403)
at oracle.oc4j.sql.DataSourceUtils.createDataSource(DataSourceUtils.java:288)
at com.evermind.server.DataSources.createNativeDataSource(DataSources.java:153)
at com.evermind.server.DataSources.initDataSources(DataSources.java:1117)
at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1782)
at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1436)
... 10 more
Caused by: java.lang.ClassCastException: sun.jdbc.odbc.JdbcOdbcDriver
at oracle.oc4j.sql.config.DataSourceConfigUtils.createDataSource(DataSourceConfigUtils.java:401)
... 15 more
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNUNG: J2EE JNDI-00002
09.05.2008 11:48:58 oracle.j2ee.util.AnnotatedLogger log
WARNUNG: Kein javax.jms.ConnectionFactory in null gefunden
09.05.2008 11:49:01 com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
SCHWERWIEGEND: Interner Fehler ausgelöst beim Versuch, die Web-Anwendung zu instanziieren: GoodsReceipt-ViewController-webapp definiert in Website Default Web Site. Application: current-workspace-app does not exist. Error creating Web application: GoodsReceipt-ViewController-webapp
Ready message received from Oc4jNotifier.
Embedded OC4J Server startup time: 12375 ms.
=========================================
OC4J is up and running, but browser gives error message (404 Not found)
With JDBC connection this application works fine.
Here my jdev specific environment variables:
SET JOH=c:\software\Oracle_JDEV11gP4
SET JDEV_USER_DIR=c:\jdeveloper\home
SET JAVA_HOME=c:\software\Oracle_JDEV11gP4\jdk\bin
Can anybody help me?
br
PeterPeter --
Can you please describe your use case? The JDBC-ODBC bridge driver is not all that reliable. Sun considers it "transitional" and it is not supported by them.
http://java.sun.com/j2se/1.5.0/docs/guide/jdbc/bridge.html
We still include the driver in JDev primarily to allow connections to MS datasources like Excel and Access that don't have free/open-source pure JDBC drivers. Why would you use the JDBC-ODBC bridge to connect to an Oracle database?
-- Brian -
Oracle 9i Lite Issue with ODBC driver
Cannot reference table in user schema without schema ref
I create a user TESTUSR and a table TESTTBL, and when I log in with user TESTUSR in SQL*Plus,
the following will work just fine.
SELECT * FROM TESTTBL
but then when my ASP on IIS does the same SELECT,
it will report "[POL-5130] table or view not found".
But if I use a schema alias,
SELECT * FROM TESTUSR.TESTTBL
it will work fine.
ODBC Admin shows: "Oracle Lite 40 ODBC Driver 4.00.00.00".
Is this a bug ?I connect to the database through the same user that created those tables. Do I still need a public synonym ?
-
We are getting ready in a few months to uninstall our locally installed Office 2010 and head to the cloud with Office 365 2013. I have created applications to uninstall Office 2010 and Lync 2010 and then added them to the supersedence tab for Office 365
office 2013 click to run with appv5.
When deploying the office 365 2013 application it does not uninstall office 2010 or lync 2010 with the supersedence. I am able to manually uninstall Office 2010 and Lync 2010 with the command lines I am using in the applications.
The application uninstall for Office 2010 is:
The application uninstall is an exe so I created an application, created a deployment type with the location of our Office 2010 admin point, installation program and uninstall program are set with the same line as I have tried to deploy it separately and
also as a supersedence in the Office 365 application setup.exe /uninstall ProPlus /config "\\sccmserver\share\Office2010\ProPlus.ww\silentuninstallconfig.xml. The silentuninstallconfig.xml was created from the original config.xml file and edited
to these settings:<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="NO" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="Reboot" Value="Never" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
<OptionState Id="ProductFiles" State="Local" Children="force" />
</Configuration>
The detection method is the folder path to see that office 14 exists. When I deploy this the machines finish with success showing this exists, but does not uninstall Office 2010.
running the command line manually mapped to this location on a machine uninstalls office 2010 without issue.
Lync 2010 uninstall:
Lync is an exe so I am using the LyncSetup.exe /silent /uninstall. The application is in the supersedence tab for Office 365 2013. This never installs. If I create a softare distribution and deploy it on its own it uninstalls without issue.
We are going to use Lync 2013 with our office 365 2013 installation so we need to uninstall this. The detection method for lync is file system folder and the Microsoft lync folder for detection.
MS Office 15 (Office 365) was created with the click to run tool. I can install this with the application I created using the appv5 package created with the click to run tool. The issue is we need Office 2010 and Lync 2010 uninstalled first.
Having both versions of Office installed in test has caused issues where Office 15 365 will not list in add and remove programs and cannot be uninstalled even with the fix it article to remove office 2013.
I have looked at many articles and so far it is not working for us. Any help appreciated to get us to the cloud.
Thanks,
BritThe applications I have for uninstall of office 2010 and Lync 2010 for some reason do not uninstall. Manually testing the command lines they do. The detection method seems to be hanging things up. On the lync uninstall detection method I have
the setting type of file system, type folder, path c:\program files\ folder name Microsoft Lync.
I highly recommend using something other than a file/folder "exists" detection method. Installers are constantly leaving things behind due to environmental inconsistencies. It may leave files/folders behind with a schedule to delete files on next reboot.
These things are unpredictable and very hard to use. I just use the "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" Registry location. There you can actually key off the "Product Version" DWORD as well which gives you an even more accurate method
to determine if the application you are trying to deploy (or expect to exist) is truly there. This, of course, being if you are not using an MSI. If you have MSI technology ALWAYS use the product code unless the person writing the MSI chooses to use the same
product code for every version release of their product. In which case, Use the registry method.
As far as getting the supersedence and everything working. You need to start from the basics. Create Applications for all of the apps you want to remove. Make sure they install and uninstall properly (seems like overkill but it isn't that hard). Once you
have working install/uninstall applications then you can easily apply supersedence to your new applications with a setting of Uninstall on the superseded apps you should have no problem getting rid of them. I have done this for numerous things.
For example, I did this with Cisco Jabber to replace older versions of jabber, older versions of cisco unified personal communicator and lync and OSC. All of these replaced versions had to have an Application but once it was in it took two seconds to apply
all the supersedence rules and now I know when I push that software out no matter version is running on any machine it will pull all the old apps off and put the new one on.
Dustin Estes - MCP | www.dustinestes.com -
How to create applications with forms61?
I am using forms6i. i want to know how to create a standalone
application with this. please give me what are the components
required to create an application with forms6i. can i use
crystal reports to generate reports instead of oracle reports
with the combination of forms?Well to create a stand alone application all you need is the
executable (FMX) and the runtime - thats it!
As for using Crystal Reports - yes you could use ORA_FFI to
integrate.
Regards
Grant Ronald
Forms Product Management -
Connect Lotus Notes with ODBC driver
I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
Is there any way to connect using ODBC data source for lotus notes.No.
SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
SQL Developer is NOT a general purpose, multi-DBMS tool. -
Run application with jdbc driver for postgres 7.4
I execute my application in the following way:
java -jar myapplication.jar
but when being executed it doesn't find the connection driver creating a big error in mi application.
that I can make so that my application finds the driver when being executed?
Help meeeee please!!!!Presumably the JDBC driver is already in its own jar file. You should include a Class-Path entry referring to that jar file in the manifest of your myapplication.jar file.
-
Problem with ODBC Driver 8.1.7.7
When we try to execute the following sql command, an error message is displayed.
update tr_werk_tab set (name1,name2) = (select name1, name2 from tr_werk_tab)
The table in the "select" clause is originally another table. The statement only works with "one" field referenced.
The error message is:
ORA-00923 FROM keyword not found where expected.
This was not a Problem with all the other ODBC Driver versions (7.3, 8.0.5, 8.1.5, 8.1.6).
What can we do ? The statement works with sql-plus.
Regards
Dieter Burger
TRIAS Informatik GmbHFirst, it appears that you've found the bug. I've confirmed it on my box. I would suggest that you log a TAR with Oracle support so that someone can start looking into the problem. I suspect that some of the SQL munging the driver has to do is mangling your query, but I'd need to do a trace at the TNS level or on the database to see exactly what's being passed over the wire.
There are previous versions of the 8.1.7.x ODBC driver available for download on OTN. Since it worked correctly in previous versions of the driver, perhaps one of these earlier 8.1.7.x drivers happens not to have this particular bug.
It appears that you could re-write the query, i.e.
update emp set empno = (select 1 from dual), ename = (select 'Justin' from dual);
though that's going to be almost twice as expensive as the proper form.
Justin -
"Quit LV" creates exception - How can i exit created application with button-click?
Hello,
i added a small vi-popup at beginning of my program where user can select between 3 buttons. The fourth button is Exit that should exit the application.
For this i added the "Quit Labview" = True.
It works fine in developer-mode but when i run it in the application exe-file this creates the following exception:
Why is this not working in a application?
Is there a better thing to quit the program?
ThxThe problem is that this is sub-vi Nr 2 of 10 that are all connected in a row with the error in/out.
That means i would have to put the other 8 sub-vis inside a case-structure and give the "close"-vi an output to feed the case.
It is simpler to just kill the whole LV.
#Date: Di, 9. Sep 2014 19:08:43
#OSName: Windows 7 Ultimate Service Pack 1
#OSVers: 6.1
#OSBuild: 7601
#AppName: XXXXX
#Version: 13.0.1 32-bit
#AppKind: AppLib
#AppModDate: 09/09/2014 16:53 GMT
#LabVIEW Base Address: 0x30000000
starting LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3493127323,39019060, (19:08:43,390190602 2014:09:09)]
starting LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3493127323,39019060, (19:08:43,390190602 2014:09:09)]
starting LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3493127323,39019060, (19:08:43,390190602 2014:09:09)]
starting LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3493127323,39019060, (19:08:43,390190602 2014:09:09)]
<DEBUG_OUTPUT>
09.09.2014 19:08:44.496
Crash 0x00000000: Crash caught by NIER
File Unknown(0) : Crash 0x00000000: Crash caught by NIER
minidump id: 02df131c-8b0b-4227-860a-d1f27df161c8
ExceptionCode: 0xC0000005
</DEBUG_OUTPUT>
0x30761D96 - lvrt <unknown> + 0
0x3076211C - lvrt <unknown> + 0
0x7C37FDB4 - MSVCR71 <unknown> + 0
0x75A40303 - kernel32 <unknown> + 0
0x77E174FF - ntdll <unknown> + 0
0x77DD9F45 - ntdll <unknown> + 0
0x00000000 - <unknown> <unknown> + 0 -
NAM 5.1 How to create Application with port range from cli?
Hello,
I can create new Applicaion with port range from GUI, but I can not do it from CLI
If I do it by CLI as a:
nam# application
nam# name mkst-cur-A
nam# match udp 16001-16009
nam# exit
then
nam# show application app-tag 268435576
custom:120 (268435576) mkst-cur-A
udp 16001
nam#
But if I do it by GUI and than
nam# show application app-tag 268435576
custom:120 (268435576) mkst-cur-A
udp 16001 - 16009
nam#
How to do it by CLI?Hi Alexey,
Sure, the function you're looking for is in the ANALYSIS panel under the "CUrve Fitting" palette-- it's called "Linear Mapping". You will need to create the desired X channel prior to calling this function, though, so you will probably need to use the ANALYIS function "Generate Numeric Channel" in the "Channel Functions" palette.
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
Problem connecting through with ODBC driver
I have a virtual machine (Win XP SP3) running Oracle 11.1.0.7.0. The name of the machine is UK010862.uk.int.**********.com.
sqlnet.ora:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT)
tsnames.ora:
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = UK010862)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
I'm running this machine on a Windows 7 64bit dekstop which has Oracle InstantClient 11.2 installed.
When I set up an ODBC connection on the Oracle server with the TSN name (ORCL), it works fine, I can connect to the listener. When I do it with hostname:port it fails.
When I'm trying to connect from the Windows 7 machine, I can't connect at all. If I use the TSN name I get 'could not resolve the connect identifier specified' error. If I use the host:port I get 'listener was not given the SERVICE_NAME in CONNECT_DATA' error.
I checked that I can ping the two machines from both ends. I have the hostname in the hosts file. I checked that the 1521 port is listening with telnet. I also have the TSN_ADMIN environmental variable set to the folder where the tsnames.ora file is on the server.
What else am I possibly missing?
Many thanksSorted: tnsnames.ora file was missing on the client.
-
Hi guys
I'm Tring to enable an Oracle DB (version 10.2.0.3.0) as data Source for the physical Layer of The BIEE version 10.0.3.1.4.
I already installed Patch 5699495
I already setted, in the Oracle ODBC DriverConfiguration the follow parameters
Data source names= casual
TNS Services Name= ORCL(this is my Chose)
USER ID = The same user that i use when i wanto to connect in my db
I received the follow error message when i try to test connection.*++
" Unable To connect.
SQLState=IM004
[Microsoft[]Driver Manager ODBC] Function SQLAllocHandle of Driver on SQL_HANDLE_ENV not successfully"
Thanks in advance
Best regardsWhy are you using ODBC? Oracle native drivers, OCI, are much faster when using Oracle DBs.
Maybe you are looking for
-
Hello, I have a remote user whose Windows updates won't install. He has a Dell laptop with Windows 7 Pro 32-bit. You can bring up the update windows and start the install but, at exactly 10 seconds, it just says "Updates failed" and doesn't really gi
-
What happens if two iPhones with different versions of ios share an identical ID and password?
I activated my new iPhone 6 as a replacement of my old iPhone 4, using the same apple ID and phone name. Everything the old iPhone 4 had is now on the new phone. What happens if I connect my old phone, which I believe is still registered as before,
-
Add File Properties/Summary to render in After Effects?
Is there a way to add file description info to a render in after effects? For instance: I want to render out my sequence as an WMV - set up the render and output settings for that etc. Once it's rendered I want to be able to right click on the file i
-
Openbox: keycodes and keybindings
I've got a six year old very basic Logitech wireless keyboard with 8 hotkeys (inc volume). I've found the keycodes using showkey, but I can't get them to do anything. I'm trying to get keycode 172 (hexadecimal AC) to start Firefox, and keycode 156 (h
-
How complicated is this?
I stumbled upon this website Click Here and this has been something that I have been wondering about for a long time. If you go to the forum page, you will see that the forum is "attached" to the actual website. Is this some CSS code thing (I'm fairl