NationalInstruments.visans ver 8.0.20.177 location

Good afternoon,
I have inherited a tsw project that has sequences with code behind that is referencing NationaInstruments.visans version 8.0.20.177. I am using Labwindows 8.0.1, Measurement studio,  and test stand 3.5. Where can I locate the driver for visans of this exact version.
Thank you,
Charles

Hi Charles!
This dll comes from the installation of NI-VISA.  I am not sure what version of VISA installs this particular version of the VisaNS dll, but it should match the version of VISA that the code module was developed on.  I currently have VISA 4.2 installed on my machine, and this version of the driver installs version 8.1.20.222, so it will be a version older than 4.2.  To find the VISA drivers available for download, you can go here.  Hope this helps!
NickB

Similar Messages

  • Can't find reference NationalInstruments.visaNS - C#

    Hello,
    I have to control a monitor through an IEEE port. So I plugged the NI GPIB-USB-HS and I am trying to send commands to the port. I'm using Visual Studio 2010, .NET framework 4.0. I've installed NI 488.2 14.0.0 and NI VISA 14.0.0.
    Now I would like to use the fonctions from NationalInstruments.VisaNS library, but I can't find the reference I have to add. I found a tutorial here :
    http://www.ni.com/white-paper/2739/en/
    But when I try to add a new reference in VS2010 :
    Maybe I missed something ?
    Thank you for your help !

    Ok so I found the dll in the path :
    C:\Program Files (x86)\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies\Current\NationalInstruments.VisaNS.dll
    Didn't looked at the right place...
    problem resolved.

  • TestStand deployment of VisaNS

    I have a TestStand application which uses the NationalInstruments.VisaNS .NET assembly, and am trying to use the Deployment Utility to build a runtime installation package for this application. I can not find which NI component I need to include to get the necessary .NET components included. Please advise.
    Thanks,
    Steve Shelley

    Hi Steve,
    The assembly is located in the <National Instruments>\MeasurementStudioVS2005\DotNET\Assemb​lies folder.  If you are accessing the assembly in TestStand as a global assembly, then you will need to use the gacutil utility to register the dll to the GAC on the destination computer.  Otherwise, you can specify this location for the .NET adapter step's module as just an assembly file.
    Have a great day,
    Ecleamus R.
    NI

  • Getting an VISANS timeout error even though VISA Status is 0

    I have an application that runs well on my development system but consistently fails at the user site giving out timeout errors even though the user experiences no time outs. Indeed, VISA returns a success status. Yet, it raises timeout exceptions such as in this segment from my trace log:
    DefaultSource, Verbose, 8, Setting timeout to 30000, "CONNECT", 2008-08-12 00:47:21Z, 2077539389311920
    DefaultSource, Information, 0, GPIB0::26::INSTR termination character set to 10, "CONNECT", 2008-08-12 00:47:21Z, 2077539630487436
    DefaultSource, Verbose, 8, Checking GPIB0::26::INSTR message available, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539636730532
    DefaultSource, Verbose, 8, Flushing read GPIB0::26::INSTR buffer, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539673800216
    DefaultSource, Error, 2, Flushing read GPIB0::26::INSTR buffer failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed.  VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
       at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
       at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
       at NationalInstruments.VisaNS.Session.BufferedReaderService.NationalInstruments.VisaNS.Internal.IBufferedReader.Scan(String scanSpecifier, Int32& count, StringBuilder receiver)
       at NationalInstruments.VisaNS.MessageBasedSessionReader.CommonReadString(String scanString, Int32 count)
       at NationalInstruments.VisaNS.MessageBasedSessionReader.ReadLine()
       at isr.Visa.MessageBasedReader.ReadLine()
       at isr.Visa.GpibSession.ReadLine()
       at isr.Visa.Ieee4882.Instrument.ReadString()
       at isr.Visa.Ieee4882.Instrument._flushRead(). VISA status=Success, "FR, CONNECT", 2008-08-12 00:47:21Z, 2077539717184364
    DefaultSource, Verbose, 8, Flushing GPIB0::26::INSTR write buffers, "FW, CONNECT", 2008-08-12 00:47:21Z, 2077539723797900
    DefaultSource, Verbose, 8, , "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539731761192
    DefaultSource, Error, 2, Flushing GPIB0::26::INSTR write buffers failed: NationalInstruments.VisaNS.VisaException: Timeout expired before operation completed.  VISA error code -1073807339 (0xBFFF0015), ErrorTimeout
       at NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
       at NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
       at NationalInstruments.VisaNS.Session.BufferedWriterService.NationalInstruments.VisaNS.Internal.IBufferedWriter.WriteLine()
       at NationalInstruments.VisaNS.MessageBasedSessionWriter.WriteLine()
       at isr.Visa.MessageBasedWriter.WriteLine(String queryCommand)
       at isr.Visa.GpibSession.WriteLine(String queryCommand)
       at isr.Visa.Ieee4882.Instrument.WriteLine(String value)
       at isr.Tsp.TspVisaIO.WriteLine(String value)
       at isr.Visa.Ieee4882.Instrument._flushWrite(). VISA status=Success, "WRITE, FW, CONNECT", 2008-08-12 00:47:21Z, 2077539742753448
    The first exception above is raised on the session Message Based Reader ReadLine() command.
    Note that I check for message available before issuing read. 
    Note also that VISA NS returns a status code of success:   VISA status=Success (this is what I log above)
    The second exception is raised after I try to clear the write buffers using the Message Based Writer command: WriteLine()
    Here too VISA reports success.
    Note also that the above segment executes in less than one second whereas the time out is set to 30 seconds. 
    The user runs VISA 4.3 runtime.  I am using NationaInstruments.VisaNS 8.1.20.222.
    I would be most grateful for some clues as to how to further explore this issue.  We have been at it for a few days already and are not seeing any light at the end of this tunnel.
    David

    Hello David,
    It looks like you are not passing any valid handlers in your viUninstallHandler command.  Calling viUninstallHandler removes the specified handler from the list of
    active handlers on the given session.  You can see the exact error information for your error in the picture below.
    Useful information can be found in the manual:  VISA Programmers Reference Manual Pages 5-146 & 7
    Have a great day!
    Meghan R
    Applications Engineer
    National Instruments
    Message Edited by Meghan R on 08-15-2008 11:39 AM
    Attachments:
    ScreenHunter_01 Aug. 15 11.33.gif ‏9 KB

  • Could not load file or assembly 'NationalInstruments.UI.Styles3D.dll'

    Hi,
    I am getting the following error:
    Could not load file or assemble 'NationalInstruments.UI.Styles3D.dll' or one of its dependencies.
    In my development machine, programs runs ok. W&, VS2010 and MS 2010.
    I get the error in the target machine, WXP, service pack 2.
    The foilder containing the executable has the following files:
    NationalInstruments.Common.dll (version 9.0.40.362)
    NationalInstruments.UI.dll (version 9.0.40.292)
    NationalInstruments.UI.Design.dll (version 9.0.40.292)
    NationalInstruments.UI.Styles3D.dll (version 9.0.40.292)
    NationalInstruments.UI.WindowsFroms.dll (version 9.0.40.292)
    NationalInstruments.VisaNS.dll (version 9.0.40.156)
    The programs was running ok, I just added a new label to the application, installed it again and then the error comes.
    PLEASE HELP
    Regards,
    Alberto J.
    Solved!
    Go to Solution.

    Hi AlbertJ,
    Did you include the DLLs that are in the programs folder with the original installer, or did you just copy them over?  If you included them, did you include them individually or did you use the merge modules?
    I would try adding the appropriate merge modules to the installer, re-install, and see if you still get the error.  There is a Measurement Studio help topic called Measurement Studio .NET Merge Modules that can help you determine which merge modules you need to add.  There is also a Measurement Studio help topic called How to: Add Merge Modules to a Deployment Project if you need help adding them.
    Let me know what you find.
    Regards,
    Brandon V.
    Applications Engineering
    National Instruments
    www.ni.com/support

  • Firefox will not use Foxit Reader plugin.

    Why doesn't the configuration to use the Foxit Reader plugin for PDF files work? The Adobe Reader plugin (in Firefox) is used instead.
    In Firefox 3.6.8 "Options" window, "Applications" tab, for "Content Type" -- "PDF file," the selected "Action" is "Use Foxit Reader Plugin for Mozilla (in Firefox)."
    For "Content Type" -- "PDF file, in the "Action" dropdown list, no option is listed for "Use Adobe Acrobat (in Firefox)."
    The "C:\Program Files\Mozilla Firefox\plugins" folder contains both (1) the Foxit Reader plugin (npFoxitReaderPlugin.dll ver.1.0.1.1117), and (2) the Adobe Reader plugin (nppdf32.dll ver.9.3.3.177).
    When Firefox connects to a website using a URL for a PDF file, the PDF document always appears in Firefox using Adobe Reader.
    Given the configuration, why doesn't Firefox open the file using Foxit Reader? How can this be fixed?
    Operating system is Windows XP Media Center Edition 2005.
    Thank you.

    BTW, Foxit has released Foxit Reader 4.3.0 which uses Firefox plugin 2.0.2010.1103.Plz take a look at foxit download center:http://www.foxitsoftware.com/downloads/index.php

  • C# VISA wait on RQS

    I'm trying to write a simple C# (.NET 4.0) program to control a Keithley 2400 SMU over VISA GPIB and I'm having trouble with getting the program to wait for the Service Request that the Keithley sends at the end of the sweep.
    The sweep is a simple linear voltage sweep, controlled internally by the Keithley unit. I've got the unit set up to send a ServiceRequest signal at the end of the sweep or when compliance is reached.
    I'm able to send the commands to the SMU and read the data buffer, but only if I manually enter a timeout between the sweep start command and the read data command.
    One issue I'm having is that I'm quite new to C# - I'm using this project (porting parts of my LV code) to learn it. 
    Here is what I have so far for my C# code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading;
    using NationalInstruments.VisaNS;
    private void OnServiceRequest(object sender, MessageBasedSessionEventArgs e)
    Console.WriteLine("Service Request Received!");
    // open the address
    Console.WriteLine("Sending Commands to Instrument");
    instrAddr = "GPIB0::25::INSTR";
    mySession = ResourceManager.GetLocalManager().Open(instrAddr);
    // Cast to message-based session
    mbSession = (MessageBasedSession)mySession;
    // Here's where things get iffy for me... Enabling the event and whatnot
    mbSession.ServiceRequest += new MessageBasedSessionEventHandler(OnServiceRequest);
    MessageBasedSessionEventType srq = MessageBasedSessionEventType.ServiceRequest;
    mbSession.EnableEvent(srq, EventMechanism.Handler);
    // Start the sweep (SMU was set up earlier)
    Console.WriteLine("Starting Sweep");
    mbSession.Write(":OUTP ON;:INIT");
    int timeout = 10000; // milliseconds
    // Thread.Sleep(10000); // using this line works fine, but it means the test always takes 10s even if compliance is hit early
    // This raises error saying that the event is not enabled.
    mbSession.WaitOnEvent(srq, timeout);
    // Turn off the SMU.
    Console.WriteLine("I hope the sweep is done, cause I'm tired of waiting");
    mbSession.Write(":OUTP OFF;:TRAC:FEED:CONT NEV");
    // Get the data
    string data = mbSession.Query(":TRAC:DATA?");
    // Close session
    mbSession.Dispose();
    All the above is supposed to mimic this LabVIEW code:
    So, any ideas on where I'm going wrong?
    Thanks,
    Solved!
    Go to Solution.

    It turns out that I need to enable the event as a Queue rather than a handler:
    mbSession.EnableEvent(srq, EventMechanism.Handler);
    Should actually be:
    mbSession.EnableEvent(srq, EventMechanism.Queue);
    Source: The documentation under "Remarks". It was a pain to find the docs on it... NI needs to make it easier :-(.
    With this change, I also don't need to create the MessageBasedSessionEventHandler.
    The final, working code (with fluff like namespaces and classes removed) looks like:
    rm = ResourceManager.GetLocalManager().Open("GPIB0::25::INSTR");
    MessageBasedSession mbSession = (MessageBasedSession)rm;
    MessageBasedSessionEventType srq = MessageBasedSessionEventType.ServiceRequest;
    mbSession.EnableEvent(srq, EventMechanism.Queue); // Note QUEUE, not HANDLER
    int timeout = 10000;
    // Start the sweep
    mbSession.Write(":OUTP ON;:INIT");
    // This waits for the Service Request
    mbSession.WaitOnEvent(srq, timeout);
    // After the Service Request, turn off the SMUs and get the data
    mbSession.Write(":OUTP OFF;:TRAC:FEED:CONT NEV");
    string data = mbSession.Query(":TRAC:DATA?");
    mbSession.Dispose();
    I hope this helps future programmers.

  • "Unable to find a working IR device" Error (Audigy

    I just bought the Audigy 4 sound card today, and did a Full Installation. Unfortunatley, the remote does not work. When Windows XP loads, Windows says it has found New Hardware and identifies it as "Creative USB IR Recei'ver", but it can't locate the files to install it. When I press a button on the remote, the red light in the receiver lights up, but nothing happens. Also, when I try to launch Creative Entertainment Centre Settings, I get the following error: "Unable to find a working IR device". I tried uninstalling everything and then installing it again. This didn't fix anything. I also downloaded the latest drivers and tried another USB port. Needless to say, neither fixed the problem. I really want to get this remote working. Can someone please help me out? Thanks in advance.Message Edited by Marce22 on 2-02-20060:0 PM

    _ I am having this exact same issue on vista business 32 bit. Everything else on the external box works perfectly fine, except the remote. The remote does work however with intelliremote, but I cannot justify paying the money for such simple functionality. Any fix on [email protected]

  • BSP Page logout problem

    Hello @ all,
    I have a BSP page with a logonpage which I have customized in SICF. Now I want to have a button where I can close application and get back to the logon screen. Can some one explain me how to realize this.I´m using this as startpage to my bsp:
    <%@page language="abap" %>
    <%
      " PLEASE READ INFO AT PAGE BUTTON!!!
      " This page should always used be as entry point into application.
      " Copy this page into your BSP application, and change line below.
      DATA: target_page TYPE STRING VALUE 'index.htm'.
      DATA: frame       type string.
      frame = sy-uzeit.
    %>
    <html>
    <script language="JavaScript">
    <%= runtime->GET_DOMAIN_RELAX_SCRIPT( ) %>
    // Delete the cookie with the specified name.
    function DelSso2Cookie(sName,sPath)
        var sso2Domain = location.hostname;
        if (location.hostname.indexOf(".")>0)
            sso2Domain = location.hostname.substr(location.hostname.indexOf(".")+1);
        p="";
        if(sPath)p=" path="+sPath+";";
            document.cookie = sName+"=0; expires=Fri, 31 Dec 1999 23:59:59 GMT;"+p + "domain="+sso2Domain+";";
    function exitBSPApplication(newTargetUrl)
    <%
      if runtime->session_manager->is_running = 0.
    %>
    img=new Image;
    img.src = document.location.href+"/1x1.gif?sap-contextid=<%= cl_http_utility=>escape_url( runtime->server->session_id )%>&sap-sessioncmd=CANCEL";
    <%
        " If you want to destroy the SSO2 cookie along with the server session,
        " please uncomment the function below
    %>
    //DelSso2Cookie("MYSAPSSO2","/");
    for(i=0;i<5000;i++)for(e in document.all) tmp=e.innerHTML;
    <%
      endif.
    %>
        document.getElementById("<%= frame%>_FRAMESET").onunload = null;
        if(newTargetUrl) window.setTimeout('{document.location.href="'+newTargetUrl+'";}', 750);
    </script>
    <frameset id="<%= frame%>_FRAMESET" rows="*,0" onUnLoad="exitBSPApplication();" resize="no" framespacing="0" frameborder="0">
        <frame name="<%= frame %>_FRAME" src="<%= target_page%>" >
        <noframes>This browser does not support frames.</noframes>
    </frameset>
    </html>
    Sorry for this beginner question but I´m new to BSP.
    Thank you for any advice

    Hello Eddy,
    thank you very much for your help!
    Lets get in more detail:
    My BSP-Application has three Pages
    default.htm
    main.htm and redirect.htm.
    default.htm has following coding in its Layout Tab:
    <%@page language="abap" %>
    <%
      DATA: target_page TYPE STRING VALUE 'main.htm'.
      DATA: do_not_delete_sso2_cookie TYPE XFELD VALUE 'X'.
      DATA: appName TYPE STRING.
      DATA: ffs TYPE tihttpnvp, param type string, ff TYPE ihttpnvp.
      CONCATENATE runtime->application_namespace '/' runtime->application_name INTO appName.
      TRANSLATE appName TO LOWER CASE.
      IF appName = 'sap/system'.
      runtime->keep_context = 1.
      ENDIF.
      param = '?'.
      request->get_form_fields( changing fields = ffs ).
      DELETE ffs WHERE name cs '~'.
      LOOP AT ffs INTO ff.
      CONCATENATE param ff-name '=' ff-value '&' INTO param.
      ENDLOOP.
      CONCATENATE target_page param INTO target_page.
    %>
    <html>
    <head>
    <script language="JavaScript">
    var out
    <%
      DATA: guid TYPE GUID_32. CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = guid.
    %>
    function exitBSPApplication(newTargetUrl) {
    <%
      IF runtime->session_manager->is_running = 0. CLASS cl_bsp_login_application DEFINITION LOAD.
    %>
    var url = "<%= CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";
    <%
      IF do_not_delete_sso2_cookie
      IS NOT INITIAL.
    %>
    url += "&bsp_do_not_delete_sso2_cookie=X";
    <%
      ENDIF.
    %>
    var prop = 'height=100,width=400,top='+(screen.height-100)/2+',left='+(screen.width-400)/2; if(document.all) { out = window.open(url,'_blank',prop); } else {
    ver=window.navigator.vendorSub; if(ver==7.00 || ver==7.01 || ver==7.02) { out.document.location.href=url; } else { out = window.open(url,'_blank',prop); } }
    <%
      ENDIF.
    %>
    function loader() { if(document.all) { return; } else { ver=window.navigator.vendorSub; if(ver==7.00 || ver==7.01 || ver==7.02) {
    <%
      IF runtime->session_manager->is_running = 0.
    %>
    prop = 'height=100,width=400,top='+(screen.height-100)/2+',left='+
    (screen.width-400)/2; out = window.open('default.htm','_blank',prop);
    <%
      ENDIF.
    %>
    window.focus();} }
    </script> </head>
    <body onload="loader();" scroll="no" bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0" onUnLoad="exitBSPApplication();" >
    <iframe id="fr0" frameborder=no height=100% width=100% name="<%= guid %>_A" src="<%= target_page %>"> </iframe>
    </body>
    </html>
    Its the same code you´ve provided in SDN!
    main.htm looks like this:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Anmeldeseite mit Auswahl zu Links " >
        <htmlb:form>
          <htmlb:textView text   = "Hello World!"
                          design = "EMPHASIZED"></htmlb:textView>
          <htmlb:button id      = "logout"
                        text    = "Log Off"
                        onClick = ?????></htmlb:button>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    As you can see, default.htm redirects to main.htm and you see a button with logout as its id. No I need a functionality for the onClick action, so that I will get back to my Logon screen. This implies, that the session will also get deleted!
    I hope that I could explained my problem in more detail now.
    Thank you for you patience!
    With best regards,
    Mehmet

  • Heeeeey helpme on 845pe max2 v2 (6704-v2)

     
    hey i bought msi 845 max 2 -v2
    and i was using 1.8 cpu bus 400
    and i change it to 2.4 bus 533 celeron
    bus the system is hang 
    i using msi live update to update the bios that it will correct this problem
    by using the last cpu(1.8)
    and i change it to 2.4 again but the system hang again
    and i see the ratio that 1.8 bus 400 using it is (400*4.5)
    i try to change it but it locked
    so there is abatch 4 this problem tell me please
    and thanks 4 all
    my pc is
    mb msi 845pe max 2 pcb 2 or (ms-6704 v2)
    cpu 2.4/256/533
    vga 128 ati 9250
    ram 256 bus 400
    hd 80 wd
    ps 400 watt

    I am not sure you will be able to use the Celeron, http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_cpu_support_detail.php?UID=366&kind=1
    This list is for PCB ver.1, I can't locate one for PCB ver.2.

  • How to read the iak file in visual c#

    I am trying to read the iak file from visual c#.  How to parse the file?
    I need to know how and what information is stored in the file.
    Why?
    We have Fieldpoints and every time we are moving them around, or the eqjuipment connected to them.  Every time we have to go back and update the program reading the data from the Filedpoints.  If the program can read the iak file, it will be better.

    AlbertJ,
    With the Microsoft .NET Framework version 1.1 or later, you can
    use NI-VISA to create applications using Visual C# and Visual Basic .NET without
    Measurement Studio. You need Microsoft Visual Studio .NET 2003 for the API
    documentation to be installed.
    The installed documentation contains the NI-VISA API overview and
    function reference. This help is fully integrated into the Visual Studio .NET
    documentation. To view the VISA .NET documentation, go to
    Start»Programs»National Instruments»VISA»NI-VISA .NET Framework 1.1
    Help. Expand NI Measurement Studio Help»NI Measurement Studio
    .NET Class Library»Reference»NationalInstruments.VisaNS to view the
    function reference. Expand NI Measurement Studio Help»NI Measurement
    Studio .NET Class Library»Using the Measurement Studio .NET Class
    Libraries»Using the Measurement Studio VisaNS .NET Library to view
    conceptual topics for using NI-VISA with Visual C# and Visual Basic .NET.
    To get to the same help topics from within Visual Studio .NET
    2003, go to Help»Contents. Select Measurement
    Studio from the Filtered By drop-down list and follow
    the previous instructions.Examples can be found at C:\Program Files\National Instruments\MeasurementStudio(version #)\DotNET\Examples\Visa. These examples are installed when you install the VISA driver with .NET support.
    Test Engineer - CTA

  • Diployment using Installshield

    Hi, my conpany has a volume license for Measurement Studio 2013. We currently have products that communicate over RS232, TCPIP and GPIB. We are wanting to upgrade all our product communications to use a single library and like the national instruments sollution. At the moment I have done a bunch of testing using NationalInstrument.Visans library and we would like to use this in our application. We use InstallShield 2012 to install our product and was wondering if you have any instructions or examples doing this? Also, from reading the license agreements and posts on-line it appears I only need to include "Copyright © [insert year] National Instruments Corporation. All Rights Reserved." in our about screen and documentation. Is that all I need? Are there any other restrictions I am missing regarding deploying our application with the National Instrument libraries?
    Thank you

    No this is a commercial product that interfaces to different types of equipment using GPIB, Ethernet, RS232. We have different libraries that we have developed over the years to do this communications but we desire to condense all of these libraries into a single DLL written with a more modern language. The DLL is distributed with our applications using installshield as the installer. We probably could use wix and have our installer call the wix installer. We have to do that for other items.
    We would like to use the NI libraries for our new DLL but it will depend on the licensing and if there are royalties. We have this measurement studio license but i wasn't sure how much that covered for deployment of commercial products.
    As an alternative, if there are royalty or licensing issues, can we have our library use the GPIB libraries if the end user has them already installed from the cards or software they have purchased? I have experimented in disabling the GPIB support if the NI libraries are not present.
    Thank you for your time

  • NI4882 equivalent command for the IVI formatted488IO ReadList command.

    I need an NI4882 equivalent command for the IVI formatted488IO ReadList command.
    This is what I have:
    using Ivi.Visa.Interop;
    using Ivi.Driver.Interop;
    formatted488Class = new FormattedIO488();
    formatted488Class.WriteString("LDATA");
    object response = formatted488Class.ReadList();
    What I need is an equivalent when instead of the IVI DLLs (Ivi.Visa.Interop and Ivi.Driver.Interop), I want to use NationalInstruments.Common, NationalInstruments.NI4882 and NationalInstruments.VisaNS.
    I.e.:
    NI4882.Device.Write("LDATA");
    and then call:
    NI4882.Device.ReadString() or NI4882.Device.ReadByteArray()
    Problem is I don't know how many bytes or strings are to be read, and even if i knew it would not help because it would still not behave the same way as IVI's Readlist.
    Can anyone point me in the right direction?
    Thanks,
    Cris

    Yes, I was using ReadString. Unfortunately, it only returns 128 values of 1000, which is what I need. If you do not specify the number of values to read, i.e,. ReadString(int numberOfBytes), it assumes a default number of 128. However, I found a solution which is more of a workaround. I read the first 128 values, and it so happens that the instrument returns as a first value the number of values to be read (1000). So I read the rest of the values in a loop. Not elegant, but it seems to work for me.

  • Deploy license

    Hello,
    1. If I develop an application with Visual Studio while using the NI-4882 adapter and my app contains some of the NationalInstruments.*.dlls specifically NationalInstruments.Common and nationalinstruments.Visans.dll and nationalinstruments.ni4882.dll, can I release that application publicly?    I will indicate that they would need the NI-VISA runtime and mention if they have an NI4882 then that is free otherwise they need to pay NI for the runtime.  is this correct?
    Thanks!

    Thanks Dennis.
    Let me be more specific.   Can I distribute an application that contains only the VIsa api libraries, the 3 that I mentioned above?  My users are expected to have the relevant NI-VISA drivers/hardware from NI.  I am not giving the runtime for NI-VISA.   The instrumentation functions of the application are useless unless they've got the nI hardware/software themselves.  So it would seem that this is ok since I'm not giving the NI-VISA software/runtime and those who are using it are the ones who have NI-hardware which would give them the right to use it.  Let me know if I'm incorrect.
    Thanks,
    Amiel

  • Ovi vers. 3.0.0.284 dosen't locate any of my windo...

    Ovi vers. 3.0.0.284 dosen't locate any of my windows 7 calenders
    The program says that it need Outlook calender or Windows own calender to work in Ovi
    so what to do?
    I have
    2 calenders
    Microsoft Work Calender and Microsoft Windows live calender.
    I do not have Outlook. so do i have to get one or can this program actualy work whit any other calender program?

    When I heard that Nokia were teaming up with Microsoft I thought that it would be a retrograde step. However, after loosing literally hours of my life that I will never get back _ I can see that maybe it is a good idea that Nokia pull in some expertise in writing software that may not be beautiful - MS software can rarely be accused of that! But MS software does at least work. I know I have one of the least prestigious nokia phones - 5230 - but I do expect to be able to use the software that nokia advertises and supplies. The continual problems endemic with their software are making me consider taking action against them under the trading standards legislation for making false representations.
    I am more than grateful for the assistance proffered by members of this forum for all their assistance - however, none of the suggestions have worked & do think that it's time that the Nokia people pick up their Iphones and ring their new US mates and get a solution to this ASAP - apologies for the rant but I am furious at the waste of my time that this represents.    
    Attachments:
    2011-02-23 Nokia OVI - pathetic.doc ‏325 KB

Maybe you are looking for

  • Default  value for a column in Table Control

    Hi friends, can i set dinamcally a default value for a column in table control?, this column is check type. This default value must appear in empty rows, thanks

  • Desktop Error 0xa0000001

    I bought my computer almost a month ago. A week after, it kept on getting this blue screen that would say computer error 0xa0000001. I do know that I have warranty on but I want to see if it can get fixed from online support. I am not very good with

  • Microsoftteredotunnelingadaptor

    i have problem with my microsoft adaptor, it says devise can,t work code 10, i can,t even use my printer with this problem. please help me.

  • Pro doesn't shut down- stuck on spinning wheel

    If anybody can give advice, on what I should do at this moment. Later today i have an appointment with one to one training at Apple Store, but right now, I am trying to shut down my Pro. for some reason, it won't shut down. it is stuck on the spinnin

  • I cannot access my email. Please help!

    I cannot access my email. The email button takes me to a tree of options.. Icloud, aol, exchange, outlook, etc. when I choose icloud it asks for my username and password then it says I am already established. Well, that's great, now, how can I move f