Invalid Device Error when using Labview to comunicate with Jorway 73A
I'm having a problem when trying to get Labview to communicate with the Jorway 73a CAMAC crate controller. Keep in mind while reading this that I'm still fairly new to both the CAMAC system and Labview. I've downloaded the drivers for the Jorway 73a off your site and run into a "Invalid device" error whenever I try to read or write from the CAMAC crate using the read or write VI's. Oddly, the initialize/clear/inhibit VI runs without error. When reading cmjwdll.c I can tell that this error occurs whenever "the device selected is not a JW 73A". Not sure why I'd be getting such an error, and only with the read/write VI's, not on the initialize/clear/inhibt one.
Thank you for your time.
Hi Caleb,
You may want to contact [email protected] for this question. Looking at the driver (http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/398258c61da17663862568ab005fbcbc?OpenDocument) It states that these drivers use 32-bit dll's that only work on 95/NT and are provided by Jorway.
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments
Similar Messages
-
Invalide identifier error, when use subselect
Hi all,
I got "ORA-0094: sp.spriden_pidm invalid identifier "error when runing the following query.
select (select t.name from
(select rownum row_number, s.spriden_last_name name
from spriden s
where s.spriden_pidm = sp.spriden_pidm) t
where t.row_number = 1) last_name
from spriden sp
where sp.spriden_pidm = 70105;
Any one has an idea why this is happening?
ThanksUnless I am missing something here, this looks like a straight pivot query to me.
SQL> with my_test AS (SELECT 1 id, 'June' contact_name FROM dual UNION ALL
2 SELECT 1, 'Email' FROM dual UNION ALL
3 SELECT 1, 'Mark' FROM dual UNION ALL
4 SELECT 2, 'Tom' FROM dual),
5 my_test_2 AS (SELECT 1 id, trunc(sysdate) act_date FROM dual UNION ALL
6 SELECT 1, trunc(sysdate-1) FROM dual UNION ALL
7 SELECT 2, trunc(sysdate-1) FROM dual)
8 SELECT id, act_date,
9 MAX(DECODE(rn, 1, contact_name)) nc1,
10 MAX(DECODE(rn, 2, contact_name)) nc2,
11 MAX(DECODE(rn, 3, contact_name)) nc3
12 FROM (SELECT m.id, contact_name, act_date,
13 ROW_NUMBER() OVER (PARTITION BY m.id
14 ORDER BY contact_name) rn
15 FROM my_test m, my_test_2 m2
16 WHERE m.id = m2.id and
17 m2.act_date = trunc(sysdate-1))
18 GROUP BY id, act_date;
ID ACT_DATE NC1 NC2 NC3
1 11-Sep-2008 Email June Mark
2 11-Sep-2008 TomAssuming that you have a known maximum number of possible values in my_test for a given id this should work. You may need to use something other than the contact_name in the order by in the row_number function if you require the values in specific columns, but given your sample data, I have no idea what that might be.
John -
I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.
Hello JJVerdi
mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors?
you may take a look to this KB, it may be related to your issue:
http://digital.ni.com/public.nsf/websearch/2393462BD57B854186256C4F007B706A?OpenDocument
Regards
Mart G -
Invalid number error when using case when
I have table called NATIONAL_RARE_ECOSYSTEMS which has 1 column called TEST_COLUMN (data type: varchar2):
TEST_COLUMN
rare ecosystem
rare
0
0
(null)
(null)
what I want is a query which will add a column called NRE_SCORE which will give each row instance a score of 0 if it null.
If it is 0 then score should be 0.
If the row contains any text then score should be 1
I have written the query:
SELECT
(CASE WHEN test_column is null THEN 0
WHEN test_column = 0 THEN 0
WHEN test_column > 0 THEN 1
END) AS NRE_SCORE
FROM NATIONAL_RARE_ECOSYSTEMS;
I get the error message:
ORA-01722: invalid number
01722. 00000 - "invalid number"
I think this is because on the 2nd and 3rd line I'm trying to do arithmetic on a column which is varchar2 which I know I cant do.
How do I write a query which says: if the row contains text then give score of 1?
I'm using oracle 11g.Hi,
993451 wrote:
I have table called NATIONAL_RARE_ECOSYSTEMS which has 1 column called TEST_COLUMN (data type: varchar2):
TEST_COLUMN
rare ecosystem
rare
0
0
(null)
(null)
what I want is a query which will add a column called NRE_SCORE which will give each row instance a score of 0 if it null.
If it is 0 then score should be 0.
If the row contains any text then score should be 1Any text other than '0', you mean. I assume it doesn't matter if that text happens to be all digits, such as '9876', or something with no digits, such as 'rare'.
I have written the query:
SELECT
(CASE WHEN test_column is null THEN 0
WHEN test_column = 0 THEN 0
WHEN test_column > 0 THEN 1
END) AS NRE_SCORE
FROM NATIONAL_RARE_ECOSYSTEMS;
I get the error message:
ORA-01722: invalid number
01722. 00000 - "invalid number"
I think this is because on the 2nd and 3rd line I'm trying to do arithmetic on a column which is varchar2 which I know I cant do.You're actually not doing any arithmetic, but you are comparing your VARCHAR2 column to a NUMBER, so it tries to convert the string to a NUMBER, and that's why you get the ORA-01722 error.
>
How do I write a query which says: if the row contains text then give score of 1?
I'm using oracle 11g.Here's one way:
SELECT CASE
WHEN NVL (test_column, '0') = '0'
THEN 0
ELSE 1
END AS nre_score
, ... -- you must want other columns, too
FROM national_rare_ecosystems
;Since you don't really care about the numeric value, don't use NUMBERs anywhere; stick with VARCHAR2s, such as '0'.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
Point out where the query above is getting the wrong results, and explain, using specific examples, how you get those results from the sample data in those palces.
See the forum FAQ {message:id=9360002} -
Invalid state error when using concurrent sessions in Discoverer Viewer
We are oracle 10g DB for Oracle BI Discoverer Viewer application.
We have a problem when a user logs in with the same ID on two different sessions under one machine(1 mac address).
The error message is as per below.
====================================
"The Application encountered an invalid state.
No state was found matching the state identifier provided. This can happen if your session timed out. Please start the operation again.
Indez: 10, Size:0"
====================================
The index and size varies at different times.
We suspect that the problem's caused by a confusion between the StateIDs of the two sessions. This can be replicated by modifying the querying URL; by manually changing the value of the StataID parameter.
It will be good if somebody can help us on this...
Regards
Albin AbrahamAre you using the same browser for the two sessions? I have seen instances where the user opens, say, IE, connects to Disco, and runs a worksheet. They then open another IE window, start another session, and run a different worksheet. What I believe was happening (and I'm not sure because we told the users to stop doing this) was the second browser may have tried to "reuse" the java session started by the first browser. When you went back to the first browser, it no longer had a valid session because the second browser had taken it.
To have to independent sessions, I'll start one in IE, and another in Firefox, or Netscape. This keeps the sessions from getting mixed up.
Then again, I could be wrong... -
I have a SOAP (RPC style) client bundled in a jar. It uses Axis1.4.
I have created a ADFBC model project with programmatic view & entity objects that uses this soap client for CRUD operations.
The Model project works fine when I run the Appmodule and a standalone java tester class.
This model project is then deployed as a library and included in a different ADF web application.
When running this application, I get the following exception for one method.
Has anyone faced this issue? Any idea what's going on?
Surprisingly, "dbAttributes" -the cause of the error is not even in the User class (or any other class in the entire application)!
I am using JDeveloper 11.1.1.5. Issue occurs in integrated wls.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: SomeClass - dbAttributes
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:localhost.localdomain
org.xml.sax.SAXException: Invalid element in some.package.User - dbAttributes
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1359)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:376)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:322)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at some.package.ManagerSoapBindingStub.createUser(ManagerSoapBindingStub.java:879)
at some.package.Proxy.createUser(Proxy.java:294)PROBLEM SOLVED.
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)
org.xml.sax.SAXException: Invalid element in
I think this is a very common problem, and the sad thing is there are so many forums with no answers. I was getting this error because I was using client stubs generated by wscompile instead of wsdl2java. Once i used the stubs from wsdl2java, the error vanished****. I think its because the wscompile classes do not have property descriptors for each field in the response class. an example of such descriptors would be:
typeDesc.setXmlType(new javax.xml.namespace.QName("https://ns.ns.btu", "LoginResponseData"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("sessionID");
elemField.setXmlName(new javax.xml.namespace.QName("https://ns.ns.btu", "SessionID"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);The wsdl2java classes do have these descriptors for each field.
Please also look at the following links if you still having problems:
http://marc.info/?l=axis-user&m=103705794612785&w=2
http://www.opensubscriber.com/message/[email protected]/1877996.html -
Invalid value error when using custom lov-window
We generate a form with Headstart(patch12.4)/Designer 6.0. In a multi-recordblock we insert a record, selected via a custom LOV form. When changing the focus to another field, immediately we get the message
FRM-40212: Invalid value for field OMI_ONDERDEEL_ID.
We cannot debug, because the error seems to happen before the WHEN_VALIDATE-trigger is entered. BUT:
When we generate the form without using the custom-LOV, everything works fine! But that is not what the user wants, because then he can only search on ID,which means nothing to him. A second (also unique) column is really what he wants to select on.
Who can help me out?? Thanks in advance,
Paul Wiselius.I hope you get a reply, I have the same problem (see about three pages back)!
-
[HELP] Teststand error when using labView runtime engine...
I have an extensive TestStand 3.5 project which I am working on. This project uses a large number of LabVIEW 2012 VI’s. (Note: The version of TestStand cannot be changed). When TestStand 3.5 LabVIEW Adaptor is configured to “Development System (Active Version: 12.0)” all the sequence run and perform as expected.
When I change the TestStand 3.5 LabVIEW Adaptor is configured to “LabVIEW Run-Time Engine 12.0” then I get an -18002 error in the first VI called by the sequence and nothing runs. Now this sequence contains a standard library VI in it “Check if File or Folder Exists.vi”.
From research I realised that I needed to deploy the software properly. So created a LabVIEW project with all the sequences and VI’s in it and a “Source Distribution”. I also unchecked “Exclude files from vi.lib”, “Exclude files from instr.lib”, and, “Exclude files from user.lib”. After building the project I get a “data” folder full of VI’s and control files (273 of them).
Next I created an “Installer” and added build to the correct place. I can see the “data” folder in the source files section.
When I install this distribution kit on a PC, which happens to have full LabVIEW 2012 development on it, all the files install but the “data” folder is missed out!!!
If I then attempt to run the installed top level sequence I get the same -18002 broken VI error as before. If I manually copy the “data” folder into the same place as it was built it makes no difference.
Anyone got any suggestions?
Christopher Povey
Senior Test Systems Engineer for BAE Systems.Bit of additional information:
I created a blank LabVIEW 2012 project. To this I added one VI which included a call to "Check if File or Folder Exists.vi". Then added one TestStand 3.5 Sequence which contained a call to the VI above.
I then added a build to the project and built the project. This resulted in a folder with the sequence file, my VI and a Data folder containing the "Check if File or Folder Exists.vi". When I tried to run the TestStand sequence with LabVIEW Run-Time Engine selected it failed as before.
Next I added another LabVIEW step to my sequence calling "Check if File or Folder Exists.vi" from the "Data" folder. It then worked!
I then modified my VI and added the MD5 checker VI (forget the exact name). It added some files to the dependences in the LabVIEW project. I rebuilt it and ran it again and again it worked. I did not need to add the additional VI's in the "Data" folder to the sequence file.
If I remove the LabVIEW step to my sequence calling "Check if File or Folder Exists.vi" though it breaks again.
This is not ideal though as it is a bit chicken and egg. In order for the project to work I need to add one of the VI's from the generated "Data" folder into a sequence in the project, but I can't do that until I build the project to create the "Data" folder!
Christopher Povey
Senior Test Systems Engineer for BAE Systems. -
Invalid number error when using external table
Hello.
I have a problem with creating an external table with number field.
My txt file looks like:
11111|text text|03718
22222|text text text|04208
33333|text|04215
I try to create external table like:
create table table_ex (
id varchar2(5),
name varchar2(100),
old_id number(5))
organization external (Type oracle_loader default directory dir
access parameters(
RECORDS DELIMITED BY NEWLINE
fields terminated by '|'
(id, name, old_id))
location ('file.txt'));
When i create the table and run select i get this in log file:
Field Definitions for table TABLE_EX
Record format DELIMITED BY NEWLINE
Data in file has same endianness as the platform
Rows with all null fields are accepted
Fields in Data Source:
ID CHAR (255)
Terminated by "|"
Trim whitespace same as SQL Loader
NAME CHAR (255)
Terminated by "|"
Trim whitespace same as SQL Loader
OLD_ID CHAR (255)
Terminated by "|"
Trim whitespace same as SQL Loader
error processing column OLD_ID in row 1 for datafile
/dir/file.txt
ORA-01722: invalid number
Whats the problem?
Any idea?
Thanks
Message was edited by:
DejanHTry this:
create table table_ex
id varchar2(5),
name varchar2(100),
old_id number
organization external
(Type oracle_loader default directory dir access parameters
( RECORDS DELIMITED BY NEWLINE fields terminated by '|'
(id CHAR(5),
name CHAR(100),
old_id CHAR(5)
location ('file.txt')
I have removed the length of Number field and added length in characters later
Aalap Sharma :)
Message was edited by:
Aalap Sharma -
"Invalid Line" error when using ttImportFromOracle -tableFile command
Ran the command and got an error as indicated below:
c:\oracle>ttImportFromOracle -oraConn myUser/myPassword@myDB -tableFile C:\oracle\table_list.txt
Error: Invalid Line 'mySchema.myTable2' in file 'C:\oracle\table_list.txt'
Use '-help' for more information
table_list.txt looks like below, except I have 112 total tables in the list, one table per line as directed in the help documentation.
mySchema.myTable
mySchema.myTable1
mySchema.myTable2
I have tried making the table_list.txt file have only the table names (without the schema) and the same error happens.
The invalid line is always the last table in the file. So if I remove the table it complains about, it just always complains about whichever table is last in the file.
Can anyone tell me what I am doing wrong?
Thanks,
MattHi,
This specific error message is output only in the case that an input line from the file does not contain a newline (linefeed) character within the first 96 characters. So maybe your input file is not in the right format... Perhaps it only has carriage return line endings?
What platform are you running on and how was the input file created?
Chris -
Following an upgrade from NI_VXI 2.2 to 3.2, a VI which contained VISA Move Out 8.vi to load waveform data to a VXI WaveTek 1396 Arbitrary Waveform Generator using A24 memory space. The error coming back is -1073807298 VI_ERROR_IO and I have A24 Memory Space defined in MAX.
HTE Guy:
You might try disabling DMA. You can do this either in MAX or programmatically using viSetAttribute to set VI_ATTR_DMA_ALLOW_EN to VI_FALSE.
We have an idea of what the problem might be (due to the limited number of places this error occurs in the code) but we can't reproduce it internally. What OS and what VXI controller are you using? If disabling DMA doesn't help, you might want to contact NI tech support directly.
Good luck,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments -
"Invalid Character" error when executing a 13KB query with ADO
Hello
I want to execute a query using an ADO Recordset using the Open method. When calling this method, an ORA-911 "Invalid Character" raises. I can say that the SQL runs fine, because using the SQL*Plus utility it works.
I have a 11g client installed, and the target database is in a 9i server; my PC uses WinXP SP2.
What could be wrong?
Thanks a lot.Well there's a 32K limit in Oracle. (But it can be overcome using dynamic sql).
You basically end up putting the text in an associative_array which has to be sequential.
There should be info on askom.oracle.com as I initially posted the question there.
13KB of characters is a lot of query text, and it could easily be the provider.
Try the microsoft ADO provider and see if you get the same problem.
There was another company which had a provider (which you had to pay for) , can't remember its name , but it seemed to be the best.
I would seriously question why you need to pass a 13KB string to oracle though. -
When I use the Glossary Hotspot Wizard to create links within my topics to the terms, I then generate the project using the script (because I want to use popups instead of having the text display in-line). I did not edit this script before running it - do I need to? If so, where does the script reside? Any suggestions would be appreciated so that I can get this working as intended :-).
The error occurs during the WebHelp generation. If I generate the project
without using this script, there is no error.
The error indicates
Line no: 395
Thanks!
Julie
Julie Haddon-Cook
Senior Specialist
Messaging Engineering
Direct: +1 770 303 3507
CVS: 224 3507
Address: SITA | 3100 Cumberland Blvd | Atlanta, GA 30338 | USA
Website: www.sita.aero -
Hello.
When I view the XML URL I can see it fine but when I use it as the "XML Link" in an "XML Viewer" I get an error.
The URL I used (with GUID removed):
http://www.company.com/sites/SPSite/_vti_bin/owssvr.dll?Cmd=Display&List={...}&View={...}&XMLDATA=TRUE
The error:
Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator.
I cannot figure it out. Any ideas?To get access to SharePoint Web Service – owssrv.dll, You need to -
Provide anonymous access for the web application and list & libraries section at the site collection
Web application pool account should be a part of WSS_WPG, ISS_WPG and WSS_ADMIN_WPG
Please check -
http://sharepointknowledgebase.blogspot.ru/2011/11/cannot-retrieve-url-specified-in-xml.html#.VQJ8xvmUeAk
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful. -
ME21N Runtime error when using u201CDocument overview onu201D
Hi Gurus,
****I encountered Runtime error when using u201CDocument overview onu201D with variant u201CMy purchase ordersu201D or u201CPurchase orders on holdu201D. I encountered following ABEND message.
Varaint SAP&MEPOBEST not created
****I faced another issue which is mentioned below.
All page activities are blocked when using u201CDocument overview onu201D with variant u201CPurchase Ordersu201D or u201CContactsu201D .
Please reply.Hello,
To use that form you need to configure ADS in your system.
I sugest you to read the ADS configure manual and the troubleshooter note: SAP Note Number: 944221
Maybe you are looking for
-
ALV with dropdown in column and other questions
hi, I created an editable alv with configuration model via external context mapping. now I have a column which contains strings and my aim is to show this whole column as a dropdownlist. the possible values of this dropdown are fetched in a database
-
How do I activate an iphone that his linked to an icloud account that I can not access to unlink? The previous employee is not available to unlink.
-
Hello, I am trying to upgrade my macbook pro to yosemite, but I get the "disk cannot be used to startup your computer" error. Resizing the partition does not work for me and I get the error "MediaKit reports no such partition" probably because I inst
-
MAPPING DEBBUG ERROR: ORA-02291(data column format)
I think the problem is the data format... in csv files I have dd/mm/yyyy, and i set the mask in the flat file import like this dd/mm/yyyy, but when I debbug I receeive constraint violation parent key not found, the sonstraint is ok, how I must set th
-
Under the Approval Procedures 2 tutorial the following was stated, but it does not seem to work. Can anyone help me Cancel an approval procedures? <i>In order to cancel an approval procedure, highlight a document row and select from the upper menu D