How to set the properties of the EOS in the IVI driver

I am coding a compatible driver IVI (in LabWindows/CVI) for an old GPIB instrument that does not support the EOI. To read the response device, I need to define the character of the EOS and terminate read on EOS. MAX I can correctly set the properties of communication and communicate with the device, but I do not know how to set these values in my driver. I tried if various attributes (for example with viSetAttribute (io, VI_ATTR_TERMCHAR_EN, VI_TRUE)), but still get errors (I guess I should use the incorrect session handles). How to set these properties inside the device IVI driver properly? These parameters must be active for this specific device only - all other devices on the bus use EDI. So I think that I can not just in the world, set this property on the map.

Any help is appreciated. Thanks in advance,

Martin

To change VISA attributes as parameters EOS via the pilot of the IVI, your application must first acquire the handle valid VISA (VISA session) or the IVisaSession interface. The first is applied when the uses of pilot IVI VISA - C API and the latest is applied to when the IVI driver uses VISA COM API. Session handle of the IVI - C (that was returned by the function _init() ) is * NO * a VISA manage so you cannot call the API C VISA with the session handle.

I don't know if the IVI driver you are using has such a property or attribute allowing to access the handle VISA or IVisaSession interface, but for example, driver Agilent IVI COM "IO" property, which returns the reference to IVisaSession or any good VISA com interface.

Makoto

Tags: NI Hardware

Similar Questions

  • How to set the properties of the JDBC driver

    Hello

    I run a JEE Application based in JDeveloper embedded 11.1.2.1.0 WLS spring.
    The database connection is by jndi refered as Data Source name. As there are not many properties in the menu contextual-properties of the connection db other than the user name and password, I am wondering how to set other properties as autoCommit or oracle.jdbc.convertNcharLiterals = false for example for the connection used by the application.
    I don't understand.

    Any help appreciated.

    Thanks and greetings

    Chris

    You should be able to put this on the data source that is defined in your WebLogic integrated - call the Weblogic http://localhost:7101 console / console and locate the data source you created.

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the zoom settings menu for lecroywaverunner 6050A

    Hello

    I am trying to initialize the zoom settings of a track of the labview on a Lecroy WaveRunner 6050 A fft. I found how to set the parameters of the fft with the manual of the remote control for LeCroy scopes  http://cdn.lecroy.com/files/manuals/wm-rcm-e_rev_d.pdf ) but I have not found how to set the menu zoom settings.

    I also tried with find command using the command of automation of Lecroy. ( http://cdn.lecroy.com/files/manuals/automation_command_ref_manual_wr.pdf ). but I think that there is a problem with the settings of the commands I send to the scope.

    I just need to put the horizontal and vertical centers and scales.

    If anyone can help,

    Thank you.

    Hello

    I use F1 as my FFT here track.

    Commands to change the scales are:

    Vertical Center: VBS ' app. Math.F1.Zoom.VerCenter = XXXX"

    Portrait/div scale: VBS ' app. Math.F1.Zoom.VerScale = XXXX"

    Horizontal at the Center: VBS ' app. Math.F1.Zoom.HorCenter = XXXX"

    Horzontal scale/div: VBS ' app. Math.F1.Zoom.HorScale = XXXX"

    I also want to point you to an application on the scope that will help you.

    If you go to the file menu and select cut, to the office, there is a shortcut to an application called "XStream Browser"

    The browser is an interactive application that will present all automation methods and properties that are available on the scope.  He acually connects to the scope of the request, so you can use it to test various components to see what they do on the scope.  It is very intuitive and I use it exclusively. (this is where I went looking for the commands above for you).

    Here is a link to Chapter 1 of the manual of automation: http://cdn.lecroy.com/files/manuals/04_xstreamautomation_ch1.pdf

    Page 1 - 5 has a quick introduction to the browser and its use.

    I hope that it becomes operational.

    Kind regards

    Leonard Brown

    LeCroy sales engineer

    1-800-5LeCroy

  • How to set the version of the application

    Hello!

    I've looked everywhere (OK, maybe not everywhere ) but I can't find how to set the version of the application, so that it does not appear in the Application Loader and the Manager on the phone.

    Eclipse-> project properties seems to work, but the version I wrote in is not indicated anywhere.

    Can you help me?

    It is in the *. ALX file. Just open it with Notepad (or similar) and you should find something like:


    2.0.2
           

    Just put your current versionnumber here!

  • How to set the timeout property Web Service partner link in the new version of the SOA Suite, it is missing

    Hello

    I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.

    I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).

    For the limit of timeout for the particular web service (partner of external reference link):

    I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.

    on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    Thank you

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    VR;

    Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.

    developing composites:

    Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value

    for the same domain defined: oracle.webservices.local.optimization = false

    You can watch

    Administration of Web Services - 11g Release 1 (11.1.1.7)

    How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)

    SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)

  • How to set the focus

    Hai

    Say like page of connection in onload, the cursor should focus in the box, how to set the focus?

    Second, even connect click on the connection through properties of the keyboard button, if I click enter on the keyboard it should connect

    How to have the keyboard properties in flex?

    Can someone help me

    Thanks in advance :-)

    for logging by using the... button you can add eventlistenrer to the area of particular text... example...

    ti.addEventListener (KeyboardEvent.KEY_DOWN, EnterKeyEvent);

    private function EnterKeyEvent (event: KeyboardEvent): void
    {
    if(Event.keycode == 13)
    {
    do something
    }
    }

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

  • How to set the default android home page.

    How to set the home page in the latest browser of firefox for android?

    Hello:

    Unfortunately you can not remove the top sites home page but you can pin a site, remove a site from unpin it and change the url of a pinned site.

    Please read this article for instructions.

    I hope this helps!

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • Satellite C660 - how to set the focus of the webcam?

    Hello

    Just bought this laptop, the built-in webcam looks very blurry when I use Skype. Does anyone know how to set the focus to the subject?

    See you soon
    Jules

    Hello

    to be honest, I have no idea on your model of lap... Try to update driver webcamd and play with Skype video settings.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

Maybe you are looking for