The use of reminders with a USB connected instrument VISA?

I have a 34972 Agilent connected by USB to a Windows 7 computer. I'm using LabWindows/CVI and VISA drivers.

I can't find a way to set up a callback that will respond to an alarm on the Agilent event, IE. the Agilent is configured so that certain combinations of signal to generate an alarm (it could be any other event of the instrument-it ends up in the STB registry, similar to that on a GPIB instrument) and I want that my program LabWindows to respond to this event (for example to run a callback routine). With GIPB I ibnotify() etc, but I can't find the equivalent on this combination (USB/VISA).

Any ideas?

Hi HDJ

Have you seen this documentation on how to make VISA event management?

Events in NI-VISA VISA

http://www.NI.com/support/visa/vevents.PDF

At the bottom of page 4 there are some things to consider when you use the callback mechanism. Most important is that you need to install a handler function, viInstallHandler(), before activating the viEnableEvent() event.

Also, you should notice that she is allowed to have a reminder per session.

Agilent also have som of information on usage of the event and the reminder here (page 46):

Agilent IO libraries Suite

http://www.htest.cz/download/IO_Libraries_Suite_15_visa.PDF

Best regards

Anders Rohde

Technical sales engineer

National Instruments Denmark

Tags: NI Software

Similar Questions

  • hard pad works do not (yellow on), forced to use a mouse with a USB connection

    For manipulaying the cursor touchpad has stopped working.

    I have to use a mouse connected via USB to the cursor automatically.
     
    [Moved from comments]

    Hi Kilei,

    1. what operating system is installed on the computer?

    2. What is the brand and model of the computer?

    Answer the questions to help you best.

    Good day!

  • The use of SSL with IE via httpService

    Hello

    I read the Wired article http://weblogs.macromedia.com/lin/archives/flex/security/index.cfm on the use of SSL with THE de Lin Lin, however I am confused as how to implement the changes that she mentions. Basically, she mentioned a couple of the reasons why the httpServices would not be able to load data in the event of connection via SSL. I've read about the Adobe TechNote at http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=fdc7b5c & SSP = rss_flashplayer_fdc7b5 c , but it was not clear either.

    1. How can I change the settings of the server have the correct header information?
    2. can I change something in the compiler Flex for SSL and IE?

    It works perfectly in FireFox and Safari, and retrieves the data without any problem. All ideas, information would be appreciated.

    Re 2) in my opinion, there is nothing that you can do on the side of Flex, there seems to be a problem with IE passing data to the FlashPlayer.

    (topic 1), depends on how you generate data on the server. We use Java servlets and the solution is to _not_ set non-cache on the answer when
    dealing with IE.

    R.

  • What is the last recommendation on the use of Aperture with El Capitan system software?

    What is the last recommendation on the use of Aperture with El Capitan system software? I'm sure to BONE 10.11.x since I was a big user of Aperture?

    TIA,

    If you need a feature that has opening but Photos doesn't work, click here and follow the instructions.

    (141652)

  • I have a power shot sx HS 40 & need information about the use of filters with this camera? Thank you ~.

    I have a power shot sx 40 & would like information on the use of filters with this device?

    Thank you ~.

    Hi Rainlily,

    You will need the # model Canon adapter filter f-DC67A to use filters on this camera, which costs about $25.00. Bower makes one for about $9.00 available in B & H and Bower products work well with the Canon. This adapter uses 67 mm filters. If you have not yet all filters, I would recommend Hoya or Tiffen filters as they are of high quality at reasonable prices. Do not get the expensive filters because in general they can cause color casts that may be difficult to view the process on. Have fun!

    Steve M.

  • The use of devices with Windows 8

    Hi all

    I saw many problems for people with questions about the use of Bluetooth with Windows 8 devices, especially after the upgrade.

    Take a look at this document, which covers:

    I hope that this document provides assistance.

    Good luck!

  • Using Logic Pro with a USB IO

    I started using Logic Pro X (instead of Garage Band) to record "drum covers of popular songs. I recently purchase a Roland Studio Capture IO USB. I use a mic (10) of the device I/O and USB connection to a MacBook under Logic Pro X. I am overwhelmed but excited the possibilities. Here's the question. Is there an advantage to use (10) separate audio track in Logic Pro X for my drum microphones. It is even possible. I sometime use the tracks of instruments for virtual instruments for a more personal expression, but for now the only home to the PRI and a pre-recorded song track. Any response would be appreciated.

    During the recording of the drums, I use normally 8 microphones on individual instruments and two condensers further back in the room.  Yes, it's a good idea to save them in separate tracks, so that you can EQ and compress as needed.  I send also usually the lot of them in a single track of drums and on another channel of compressed battery, where I really compress them and mix them in 25%.  I found that this approach provides the most flexibility.  YMMV and someone better can give you other advice - I'm an amateur.

  • HP M426fdn MFP - scanning with a USB connection for laptop possible?

    Can anyone confirm that scanning HP M426fdn will work if your computer is connected by USB instead of network?

    Trying to confirm this before buying.

    Thanks in advance,

    Brian

    Hi Brian,.

    Yes, you can use any of the printer by using a network connection or a direct USB connection to your computer.

    Be aware that this connection allow using one computer, not several.

    Shlomi

  • Advice on the use of APEX_JSON with a CLOB in the body as a string

    Hello all and thanks for any help in advance.

    I have the task of liaising with a 3rd party API via JSON to send information to our database.  First warning is the HOST for us is not and race so I have no way of properly this test until tomorrow, but I wanted to ask this question to try to overcome a potential problem.

    In the body of the JSON object, we must add a chunk of xml (already created/kept or can be created on the fly) and it must be validated on as a long string.  Now, this question is that the string can be up to 20000 characters long so when its processed is stored as a CLOB in the database (not made by me).

    Now my thoughts early to do this was to create a procedure allowing certain parameters get the relevant piece of data and xml stored as a CLOB.  Then and that's where I maybe need some tips, follow these steps.

    This host requires JSON in this format

    {

    'batchcode': 1234562,

    'XML string': 'THIS WILL BE a MASSIVE XML STRING',

    ""bounding ":" ",".

    "ID": "123456465",

    'field1 ':

    .

    .

    etc.

    }

    We currently have a few apex applications so I got a good look at the documentation and allows to generate the required using JSON:

    Thus to collect information of input parameters

    APEX_JSON. INITIALIZE_CLOB_OUTPUT;

    APEX_JSON. OPEN_OBJECT();

    APEX_JSON. WRITE ("batchcode," value from database");

    APEX_JSON. WRITE ("XML string ', our xml database that is stored as a CLOB string");

    APEX_JSON. WRITE (bounding "," value of database");

    APEX_JSON. WRITE ('ID', 'Value of database');

    .

    .

    .

    etc.

    APEX_JSON. CLOSE_OBJECT();

    Then validate using endpoint:

    APEX_WEB_SERVICE. () MAKE_REST_REQUEST

    p_url = > 'URL of the end point. "

    p_http_method = > 'MESSAGE ',.

    p_username = > API_USER,

    p_password = > API_KEY,.

    p_body = > apex_json.get_clob_output

    );

    Now assuming that my method is correct only the APEX_JSON. WRITING literally accept its entry as a type CLOB and he will be able to properly analyze or will it arrive at a mansion that will actually write the string itself?

    Edit I found that if I APEX_JSON. WRITE ("XML", "CLOB table column") that it exported the CLOB but not in the format I want.  This is due to the fact that my CLOB has characters like <>etc in II and the output is burning out in unicode, so for example <? XML version = "1.0" encoding = "UTF-8"? "> as stored in the object CLOB becomes \u003C?xml version=\"1.0\ ' encoding =------"UTF - 8\ '? \u003E\n in the output using APEX_JSON. To write.

    The only other way to do it, I think it is so divided in pieces as follows:

    SELECT ROWNUM as XML_PIECE_NO, TO_CHAR (SUBSTR (a.xmldoc, (ROWNUM-1) * 4000, 4000)) AS SECTION

    Of ast_xmldata one

    CONNECT (ROWNUM-1) * 4000 < = LENGTH (a.xmldoc)

    Then maybe concat in the JSON long xml string field.

    I hope I have explained what I want to do but if not please respond any help will be greatly appreciated.

    Concerning

    Post edited by: K4E

    EDIT I CAME FROM WITH a SOLUTION

    Post edited by: K4E - found solution 02/04/2016

    Thanks for the response of Christian, logical exit that way.

    Through some trial and error, I found a solution to my problem that seems effective enough without having to worry about unicode characters written.  There is seemingly a procedure without papers in the APEX_JSON package called apex_json.write_raw that does what it says.  All I had to do then was to use escape characters in my CLOB for things like "then I get a few good valid JSON in the format of the API, I work with love."

    Hope this helps someone else with the situation.

    K4E

  • The use of recovery with satellite Pro 300 disks?

    Hello
    I have a 300 satellite with recovery disc Pro, I want to give this to my daughter I copied all I need her and want to wipe it.
    would be very grateful if you could give me instructions step by step how use the recovery disc.

    Thank you

    To use the recovery disk is very simply.
    Just to follow up:

    -Start your laptop and press F12
    -When the boot menu appears recovery media in the optical disc drive
    -Choose the CD/DVD drive on the list and press ENTER
    -Follow the on-screen menu
    -There is nothing, you can choose or define. Just follow the menu and confirm with OK

    After the installation of recovery image let cell phone to complete the installation.
    Please note: recovery procedure will erase entire HARD disk and all data will be deleted. So, before you start installation save all your important data.

    All that s!

  • Question about the use of foil with HARD drive

    Hi all
    Please can someone tell me what a sheet of aluminum covering the hard drive for laptop for?
    I guessed that it's temperature.
    But some information I found says the opposite.

    "
    My Seagate hard drive hot enough during long extensions CD writing/Back Up...
    Everyone recommends the use
    the foil of Food Grade to dissipiate heat?
    In my experience, things hot wraped in paper Aluminium gets cooled quite quickly... »

    My old man was a problem of partition table, I got a new and reluctant to cover it with a sheet.

    What do you think about this?

    Sombatk

    Hello

    I have replaced several hard drives on some laptops but I have never used any further papers of aluminum and I have no problem with the temperature.
    In my opinion, it is not necessary.
    The cooling modules must be able to manage the temperature of the HARD drive.

  • The use of tables with void / vi

    Hello!

    I have a question about the correct method for the use of a Subvi to update an array of integers. How to pass the array to the Subvi, without creating a second table to the output (or what is returned)?

    It is for the calculation of the histogram data. Basically, I have a set of input values are evaluated to determine which bin location (array index) to increment the counter on. I then want to use the same Subvi to update table (let's call it "BinsIn", for the sake of discussion) and return to the main VI. Think in terms of textual programming I want to pass the array of reference, so I'm not wasting resources.

    I read a few posts that deal with using Ctl Refnum, but I don't know if that's what I want to do...

    Any help would be appreciated.

    Thank you

    Shaun

    Don't think in textual languages.  There is no difference in passing by reference and by value.  If the compiler determines that the input array can be reused as the output array, and then she'll do.  You can give him some advice that he should do by writing your code to perform operations "on the spot" (search for this term on this forum) and avoiding the functions requiring a copy the table as delete table.  Best thing to do is probably to write your code to make it work, then download it here so that other contributors can comment and help to make it more effective.

  • Confused about the use of accessors with classes.

    With a new assignment thought, it would be appropriate to increase the use of labview OO features. In my case, I'm trying to use a class to contain a bunch of different calculations. The calculations require multiple entries to finish so I built a control to take care of these data. My plan was to build separate methods for each calculation. This will allow to easily add new calculations and considering that many calculations depend on preliminary calculations seem to be an excellent opportunity to learn a new part of labview.

    My problem is to find an elegant way to complete this great control; I believe that I must write accessor vi to allow outside access to the objects. I don't know if there should be one vi for EACH parameter accessor, or if I can access these items in a cluster.

    I can only relate to the use of get / set in .NET and usually I would write one for each variable that I have access to. I'm not sure how to proceed in LabView. Any ideas would be great.

    I enclose a few images. One showing just a sumple calculation and one of my ctl. Still, my main question is what is the best way to populate the items in this list.

    -Chris

    Since there is no such thing in LVOOP as public members of class (and thank God / NOR) you must always provide accessors (getters/setters) to join the data members of the class outside of the classroom.

    Inside the method of class VI, there is no need for them since you can reach directly from the wire with bundle/unbundle (like photos).

    I've implemented a similar class that performs calculations and I chose to use the recursive calls to deal with the problem of some variables must be calculated before the others.

    I'm a member of the VI class called GetCalculatedVariable.vi which takes the name of the variable to calculate input (like typedefed enum).
    Inside of this VI have a structure dealing with a box for each variable that can be calculated.

    The inside of the box, I define the calculation, and if I ever need another variable, I here call GetCalculatedVariable.vi recursively.

    In addition, I also have a CalcBuffer so I don't have to call GetCalculatedVariable.vi more than once for each variable.

    The class also has a GetMeasuredVariable.vi which also uses the recursion in the same way, but works on my measurement files instead.

    The advantage is that my application code gets very clean because it contains only a single Subvi callto obtain and use any calculated variable.

    I also have a GetCalculatedVariables that takes an VariableNames array and returns an array of values.

    I hope this helps...

  • How can I get updates from HP printer to my C310a if I am not using a router but a USB connection

    See the subject line, it says it all

    You can't really.  Updates are via the web interface, directly to the printer.

    However, the printer will support the USB connection or wireless connection at the same time.  You have a wireless network?

  • NVIDIA GTX 970 will work for the use of CUDA with Adobe Premiere CC 2015?

    So it's my graphics card: https://www.amazon.com/gp/product/B00R3NK2LE/ref=oh_aui_detailpage_o05_s00?ie=UTF8 & psc = 1

    I don't think that I am currently using Nvidia CUDA with Adobe first CC 2015. My card is compatible with this feature?

    Also, if the answer is "Yes", when I install drivers Nvidia CUDA, I uncheck the display driver? Since I also use my rig for games, I want to make sure I'm not downgrading my display driver. Or is the necessary display CUDA driver?

    Thank you.

    It will work very well.

    You only need the CUDA for Mac pilot.  The normal display driver has everything you need for Windows.

Maybe you are looking for