Expression Error (#:-1074001424) with Keithley 2000 DMM

I wrote a program to that uses the Keithley DMM to check voltages on multiple channels, wait a period of time, and then check again. This cycle continues for the time specified.  I made this program on one laptop and it worked fine.  When I moved it over to a different laptop and a different Keithley DMM, then I started to see this issue.
After stepping thru the program, It seems that the error comes from the "Configure Scan.vi".  The exact error message is:
<ERR> ke2000 Error Query;
instrument reports:
-260,"Expression error"
and the error code is: -1074001424.
I searched for these myself and couldnt find anything helpful.  i changed a few things around and it seems that the "scan mode" parameter seems to be the problem.  It needs to be set to "internal" to read the channels on the additional scan card, but the program will return an error if it is not set to "none"... and when its set to "none" nothing happens.
Please help me out! Thanks

Nvm.... fixed it.  For the Configure Scan.vi, in some cases, one of the parameters, "Stop Channel", would be set to 1, when the starting channel was, by default, set to 1. Apparently this caused a conflict of some kind but I changed my program around so this doesnt happen anymore.

Similar Messages

  • Keithley 2000 DMM AC Read Overflow

    I’ve been having problems controlling a Keithley 2000 DMM during AC volts measurement using IVI. When reading AC Volts the DMM will intermittently sense an ‘overflow’ and return the value NaN. I’m using IVI and TestStand 3.0 but get the same problem with IVI and LabWindows 7.0.
    The set-up is as follows:
    Device: Keithley 2000 DMM, GPIB device number 6
    Device interface: GPIB, DMM set-up in MAX as GIPB0::6::INSTR
    IVI Driver version: 3.02, downloaded from the NI web site
    IVI Compliance Package version: 2.1
    NI-488.2 version: 1.70
    NI-DAQ version: 7.1.0f1
    MAX version: 3.0.2.3005
    For test purposes I’ve connected the DMM front panel input high and low and set the inputs mode on the Keithley to front, this should mean that I get a very low Voltage reading. I’ve then run the LabWindows/CVI IVI control sample code provided with the IVI driver. At the initialisation panel I’ve entered the logical name. At the configuration panel I’ve selected Volt AC measurement but left everything else as default. The second configuration panel I’ve left as default. At the Read panel I’ve left all setting as default. Pressing the read button up to about 20 times with about a second gap in between each press will eventually lead to an ‘overflow’ reading.
    Any help/explantion will be appreciated
    Steve

    Here are the results of my investigation into this problem, it’s two fold:
    1. Keithley have informed me that their engineers in the US have just seen the problem I’ve been seeing and are working on a firmware update. Currently here is no date for the release of the updated firmware but I’ll be informed when this it’s ready.
    Note: I’ve found that the read AC Volts overflow problem only occurs when the read trigger delay is set to zero seconds.
    2. The TestStand DMM IVI configuration step always sends a trigger delay of zero seconds regardless of the trigger delay set.
    In my TestStand sequence the DMM IVI configuration sets the read trigger delay to 3 seconds but as noted above this is sent a zero seconds thus invoking the Keithley DMM AC Volts read overflow problem.
    See attached VISA call log captured by NI Spy. The first 22 call are made when the DMM IVI configuration step is called form TestStand the next 22 calls are made by the IVI DMM sample code configuration provided by National Instruments when DMM configuration is run thorough LabWindows. Note call 12 (IVI DMM TestStand) has the trigger delay set to zero seconds (should be 3 seconds) and call 34 (IVI DMM LabWindows) has a delay of three seconds.
    I’ve found a workaround as follows:
    After each call to the TestStand DMM IVI configuration step an additional step that calls the TestStand IVI Tools step can be added. The IVI Tools step can be set-up to specifically configure the DMM Trigger Delay to 3 seconds. I’ve proven that this individual call does in fact send the correct trigger delay command to the DMM thus alleviating the AC Volts read overflow problem.
    Can NI confirm that this problem does exist with the DMM IVI step and when they plan to fix it. I’ve attached the TestStand sequence file that I’ve been using to investigate the problem.
    Thanks
    Steve
    Attachments:
    DMM Overflow.zip ‏9 KB

  • Obtaining readings from Keithley 2000 DMM

    Hello,
    I have a Keithley 2000 DMM with RS-232 communication, a PC running LV 7.1. I have established communctions between the two using RS-232 and I am able to do *IDN? to generate a query of the instrument. However, I would like to read in the readings (DC voltage) from the meter at a button press. What command string would I send to the unit to get this data? Any help is greatly appreciated!
    Thanks!
    Mike

    Either read the manual on the instrument or download the drivers from
    Keithley 2000 Drivers

  • Looking for examples/help on using Ethernet with Keithley 2701 DMM

    All of the example code utilizing their IVI driver is based on GPIB or RS232. I specifically bought the 2701 to utilize the Ethernet port, but cannot find CVI examples on how to do this. Can anyone point me to an ethernet example using their driver and the Ethernet port? Or perhaps post a non-Keithley ehternet driver and examples on its use?

    Hi Paul,
    What you have been told is exactly what you need to do.
    Here is a document in NI web that explains about it:
    How Can I Communicate With a Keithley 2701 DMM?
    There is also an Instrument driver that NI built for these DMM:
    LabVIEW Certified Plug and Play Instrument Driver
    To find this documents you need to go to NI.com and at the top on the search box enter 2701. That will give you all the documents related to this.
    Thank you
    Ricar
    do S.
    National Instruments.

  • Measure with Keithley 2000 over RS232

    Hey,
    ich have a problem with my Keithley 2000 by measurements over RS232.
    My programm is running, its a simple serial read and write VI. I send him an command to measure and nothing is happening. I got nothing back....
    I add the VI and the commands, maybe somebody knows whats wrong with my VI!
    Thanks a lot
    Greetings
    Ralf
    Attachments:
    RS232 Serial Write and Read.vi ‏22 KB
    Unbenannt.JPG ‏7 KB

    I have no time to look into your code, but most likley you miss the termination char. On a string constant you can switch to \-display and then use \n or \n\r depending on the settings. You can also look into the LV drivers for the keithley 2000, they are available on ni.com and/or on keithley.com
    Felix 
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Airport express  error (Muted) with youtube, shoutcast and with tplink router

    Hi!
    My problem is:
    I have an airport express 802.1g
    Its wired to a tplink router .  The airport's wifi is disabled.
    1.     Iam  playing  a youtube video. When its finised and i would like watch another one, the  sound is not working anymore util i reboot the airport.
    2.     similar with shoutcast. If the stream disconnect, after reconnect there is no sound on speakers.
    Iam using a tplink router and my ipad /iphone is connecting to the router's wifi. The router is wired to airport express.
    Thanks for help:
    Kavics

    Unfortunately, if you are trying to use the Express to extend the Sitecom router's signal...using wireless only....the Express is very likely not compatible for that purpose.
    The Express can extend a signal from another Apple router....but it would be extremely unlikely that this would work with a router from another manufacturer.
    If you have tried this a number of times and always get an error message....I am afraid that you have your answer.

  • Is Oracle 10g Express Edition compatible with Windows 2000 advanced Server

    I have installed Oracel 10g Express Edition on windows 2000 advanced Server, but it is not working properly, but when i installed it on Windows 2000 Professional, then it is working properly, Does anybody know why this is happening. If anybody know why this is happening, please tell me and also tell me how can i install Oracle10g xe in Windows 2000 advanced server.

    There should be no issues. A few possible reasons you are running into problems:
    - installation using a domain administrator (it works best using a local admin);
    - firewalls or anti-virus software or other port blocking mechanisms;
    - DHCP resets;
    However, unless you tell us exactly the symptoms we are only guessing.
    My car didn't start this morning, but my wife's car did. Can you call me why based on this information?

  • Keithley 2000 starting channel

    Hello all,
    I am using LabVIEW 8.0 connected to Keithley 2000 DMM with 10 channels scanner card.
    For configuration I am using the "configure scan.vi" from the appropriate driver.
    The "starting channel" option is capable of having numbers from 1 to 10 (for internal card).
    I choose to start from channel 1, but the scan opearation keeps starting from channel 2!
    I tried setting the starting channel to be 0 but then I get an error message saying "data out of range".
    Does anyone have an idea?
    thank you,
    Noam Tal
    Ben-Gurion University
    Israel

    There is no Test.vi there.
    Anyway I tried running the scanner.vi but it does too many errors and I couldn't find a clue to my problem.
    My scan8.1.vi is attached. It is very simple.
    If you could take a look and try figure it out i would be grateful.
    Attachments:
    scan8.1.vi ‏31 KB

  • Keithley 2000 current measurement

    Hi All,
    I am using keithley 2000 DMM to measure current. I have configured the DMM under IVI Drivers in MAX. I am using the example program in CVI to configure and read the current drawn. When I read the current drawn from the DMM the current value displayed is incorrect. I have used the auto adjust to zero function also. Even on multiple readings with delay, the value keeps fluctuating and is no where near to the expected value. Can anyone suggest why I am not able to read the correct value? Where can I find the configuration parameters for this DMM in MAX? How do I know if I have configured the DMM correctly in MAX or not?
    Any pointers would be helpful.
    Thanks in Advance,
    Pradeep

    Hi Pradeep,
    Try downloading the drivers for the Keithley DMM from http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248
    Nxt question is as to how you are connecting the DMM to your PC (serial, gpib??)
    If you have connected over GPIB, verify that it is showing in MAX under devices and interfaces.
    You can then right click on the instrument and select communicate with instrument. Use simple commands that should be available in the manual to read data from 
    the DMM. Once you have verified that communication is established, try using the example programs in CVI.
    Regards,
    Denver
    AE, NI India
    Message Edited by denver_ on 11-24-2008 07:46 PM

  • How can I use my Keithley 2100 DMM with LabVIEW 7 Express?

    How can I communicate with Keithley 2100 digital multimeter using LabVIEW 7.0?

    Hi,
    There are a number of ways,
    1) Unfortunately the driver on the Keithley site is for labview version 8.0, so you could speak to keithley to see if they can provide a ver7.0 of the instrument driver
    2) You could use the version for the 2000 model from the NI website
    http://sine.ni.com/apps/utf8/niid_web_display.down​load_page?p_id_guid=E3B19B3E90B0659CE034080020E748​...
    There is a version 7.0 which you could modify to suit the 2100
    3) Use the VISA vi's and create your own driver using the user manual for the bus commands to driver the instrument.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Keithley 2000 and 7002 with trigger link

    Hello!
    I am writing an application for the 2000 DMM and a 7002 switch system. The instruments are set up with trigger link. What I want to do is simply to load a scan list to the 7002, scan and read back the results from the 2000. Here is what I have so far in terms of SCPI (I have looked at the Keithley LV drivers but I think they complicate stuff + there are no high level functions for trigger link setup included):
    DMM *RST
    SW *RST
    SW Open
    SW Scan (@2!1:2!40)
    SW :TRIGgerOURce TLINk
    SW :TRIGger:TCONfigureROTocol ASYNchronous
    SW :TRIGger:COUNt 40
    SW :ARM:LAYer2:COUNt 1
    DMM :TRIGger:COUNt 40
    DMM :TRIGgerOURce EXTernal
    DMM :INIT:CONT ON
    SW :ARM:LAY1OUR IMM;COUN 1
    SW :ARM:LAY2OUR IMM
    SW :INIT
    DMM :TRACEATA?
    Please advise,
    Stefan

    hi morgue!
    I am doing a program like your, but with Keitlehy 2001.
    To make the syncronization you wrote just these lines? I am doig this in labview, with the programs found in the drivers given by keithley but is not working properly. When I put the triger link, it scans and show just the first measure.
    Do you still have this programm?
    thank you 

  • Keithley 2000 with AD007

    I am new to LabView and am attempting to write a program that will record data from a keithley 2000 digital multimeter. So far I can only send "one-shot" commands to read the data. However, my expermiment requires readings to be taken many times a second. I am communicating with the multimeter via a AD007 Tektronix GPIB Lan Adapter. The LabView version I am using is Labview 6.1. If anyone has any idea on how to send GPIB commands to the multimeter using a labview interface, it would be GREATLY appreciated.
    Robert

    I'm not sure what's in this driver that requires IVI 2.0. I use other IVI drivers with 1.83 that you can get Keyword Search: Keithley. If that doesn't work, you could try the LabVIEW driver for the same instrument.Message Edited by Molly K on 02-18-2005 11:55 PM

  • "Invalid Expression " Error with Refreshing variable

    Hi
    When ever i try to validata following query in Refreshing tab of a variable, I am getting invalid expression error
    select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
    if i use following Query
    select STEP_MESS
    from <%=snpRef.getObjectName("L","SNP_STEP_LOG","D")%>
    where SESS_NO = <%=snpRef.getSession("SESS_NO")%>
    and STEP_STATUS = 'E'
    Its giving invalid table
    Need your suggestions
    Thanks
    Baji

    Hi
    Thanks alot for your information .But when ever i click on "Refresh" button available in refrshing tab.I am able to see following error in operator
    Execution
    java.sql.SQLException: ORA-00900: invalid SQL statement
    Description
    BeanShell script error: Sourced file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : Error in method invocation: Method getSession() not found in class'com.sunopsis.dwg.snpreference.b' : at Line: 2 : in file: inline evaluation of: ``out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ; out.print(odiR . . . '' : odiRef .getSession ( )
    BSF info: Filter_Records at line: 0 column: columnNo
    out.print("select USER_NAME from SNP_SESSION where SESS_NO = ") ;
    out.print(odiRef.getSession()) ;
    out.print(" \n\n\n\n\n\n") ;
    ****** ORIGINAL TEXT ******
    select USER_NAME from SNP_SESSION where SESS_NO = <%=odiRef.getSession()%>
    Thanks
    Baji

  • Keithley 2000

    Hello,
    I am having a problem with connecting Keithley 2000 with Labview. I downloaded the driver from Ni , however when I run it, the error syntax occur Error +800 in the Keithley 2000. It does not do any measurement. Would you like to help me to deal with this problem? 
    Thank you very much.!

    Hi stranger1!
    I have some steps that might help you:
    First, make sure you have the 488.2 driver installed for GPIB.
    http://joule.ni.com/nidu/cds/view/p/id/3786/lang/en
    Second, make sure the device shows up in NI MAX and you are able to communicate with it there.
    http://www.ni.com/gettingstarted/setuphardware/instrumentcontrol/gpibconnect.htm
    Are you using the IVI driver or the Plug and Play driver?
    IVI: http://www.ni.com/white-paper/3377/en/
    Plug and Play: http://zone.ni.com/wv/app/doc/p/id/wv-1426
    You also might find the information in this forum post useful:
    http://forums.ni.com/t5/Digital-Multimeters-DMMs-and/How-do-I-interface-with-a-Keithley-2000-multime...
    If those documents are not able to solve your problem, we might need a little bit more information. IVI or Plug and Play? You say you try to run the driver—do you mean a particular VI or example included in the driver? The error you are getting is a SCPI error (http://forum.keithley.com/phpBB3/viewtopic.php?f=13&t=70)—are you sending a particular command to the device? 
    Regards,
    Kelsey Johnson
    Applications Engineering
    National Instruments

  • Keithley 2000 voltage measurement

    Hi,
    I want to write a code to display the voltage measured from a keithley 2000 meter using RS232 serial port  and display it on a   graph using Labview 8.5 on Windows Vista based Laptop
    . I guess the first step is to download the driver for keithley2000 http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=248. I want to go step by step. Please give me the main key steps on how to proceed on this problem and i will then work in detail based on your directions.
    How do i know that laptop  is recognizing the meter and RS232 connection is sound? What are the next key steps i need to work on? Please give the directions.
    Thanks

    For fast reading, it is important not to use the MEAS? command, but READ followed by FETCH? (if I remember correctly). Normally these DMMs operate at 1 PLC (power line cycle -> 50/60 Hz), so you need to adjust the NPLC (number of power line cycles).
    There is to options to work with the Keithley DMMs inside LabVIEW. You could use the LabVIEW drivers for the Keithley 2000, those can be found on ni.com and on the keithey homepage. Propably they only implement GPIB, the you need to make some modifications on them for RS232. The other option is to send the commands as found in the DMM manual via VISA.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

Maybe you are looking for

  • How Do I save a ringtone I got in a text message? (for the palm pre plus)

    title says it all. Thank you.

  • Mac os ext hdd icon no show in desktop

    How to show ext hdd icon in desktop. i tried to Finder>Preferences>General and look for the 'New Finder Windows Show:' option, and choose 'All my Files'. The icon still no show. I need to Applications->Utilities->Disk Utility to open my ext HDD. Can

  • Timezone in Java Date

    Hi, Our application takes the system Date along with current time in PST/MST/CST timezone & serializes the same & send to webmethods. Webmethods sends the serialized object to JMS queue on weblogic server (This weblogic server is in EST). We have a M

  • Modify field of a SyncBo S01

    hello all, i have modify my syncBo S01 (<i>two way, synchronous type</i>). after this modify i don't receive in my MIClient this syncbo. i have followed these steps: <b> 1-deleted mobile component 2-disabled syncbo bo 3-modified bapi 4-activated sync

  • TT0885: Invalid T-tree index

    After running for several days, our TimesTen 6.0.4 returns errors: TT0885: Invalid T-tree index What is wrong? How can we fix this? The error was first encountered when monitoring a table size: /opt/TimesTen/myapp/bin/ttSize -tbl mydb.users -connstr