Is it possible to write a gpib monitor to wait for any other process to use it like NI-SPY does?

I need to create a QC application that runs in the background to monitor any sort of gpib communication from other processes to the board. We have several hundred PC's running GPIB programs in various configurations. Modifying existing programs is out of the question since they have already made it through quality control and I cannot have every program that we've written requalified. I had a couple of ideas but they require some tricky stuff. There must be something that I am overlooking...

ceetee, the best thing that I came up with is a bit sketchy, but here it goes. I am atempting this in C/C++.
1) binhex the gpib32 dll, this reports the (exported only?) function calls.
2) create a dll with the same name and function calls.
3) your functions will simply call the old ones, and in the process execute some code of your choosing.
check out this page for better information.
http://www.woodmann.com/fravia/fragas1.htm
This project has been put on the back burner by the brass here at my company, so I haven't gotten to implement it fully. But, I'm fairly certain that it will work even though it's a little arcane. This problem has caused a lot of acid reflux, so let me know if you come up with anything.

Similar Messages

  • HT3775 hey guys i have recorded on photobooth some .mov files which i cant  play now on quick time player. any possible reasons...!!?? any other player that i should be able to play with..??

    hey guys i have recorded on photobooth some .mov files which i cant  play now on quick time player. any possible reasons...!!?? any other player that i should be able to play with..??

    See my answere to your post in the Mt. Lion forum.

  • Is it possible to have English as the interface language, but use (and develope for) any other language/locale?

    Before installing Firefox, I need to clarify the following:
    The use of locales: I am a developer and my preferable language, for the interface, is English (though, it is not my mother tongue). But, I would like to be able to use any other language (including, the use of any dictionary) and develop for any language or locale. So, does the English version let me do the above mentioned?
    Or, eg, do I need to install the Hebrew locale, if I want to use the Hebrew dictionary?
    Or, is it possible to install different locales on the same computer (and for the same user, in Win XP)?

    You can install any dictionary is every locale, so that shouldn't be a problem if you use the English locale.
    If you want to check out the user interface or how the browser acts with an RTL locale like Hebrew then you need to install the language pack and switch to that locale.
    You can install additional language packs in any Firefox version.
    * http://kb.mozillazine.org/Language_packs
    * Locale Switcher: https://addons.mozilla.org/firefox/addon/locale-switcher/
    * http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest/win32/xpi/

  • Why is it not possible to write a UIX (or ADF) portlet for 9iAS?

    Hi,
    I have been trying for months to create a UIX/BC4J portlet for 9iAS but have been unsuccessful. The documentation and examples cover doing this with JSPs (there is a nice Forum application available for download on portalstudio). However all of my attempts to use UIX have hit a brick wall - we want to use UIX, not JSP!
    I have raised a TAR on Metalink and it has been going back and forth for several months. The support analyst has finally closed it in frustration because he cannot even tell me whether it is possible, let alone give me an example! I have investigated the JPDK and all of the UIX documentation I can get hold of, and have also looked at the ADF components in 10g, and the "Java Portlet Wizard" for Jdeveloper, but they are so far all dead ends. Can anyone help me, or explain why it is that a (to me anyway) SIMPLE and LOGICAL integration of two Oracle frameworks is impossible.
    Thanks,
    Steve

    Hi Steve -
    Thanks for the info. I have a few more questions...
    Andy,
    Yes, this is exactly the issue. Currently I am
    invoking the UIX servlet not as a registered portlet
    but as a hard-coded URL link on the portal page.Are you saying that in order to access the UIX application, the user clicks on a link which navigates out of Portal? If so, is this by design, or did you go this route because of problems creating a portlet for your UIX servlet? That is, would you prefer to have your UIX application run inside of Portal as a portlet, or do you explicitly not want this?
    Also, can you provide more background about your deployment environment? In particular, is the UIX application running locally on the same machine as Portal, or remotely on another machine? Is the UIX application running in the same application server/servlet engine as Portal?
    The application runs connected to the database but
    without the context of the SSO Portal user. I want to
    be able to display the Portal username on the uix
    pages, have the VPD context in the database
    connection (we have striped the tables but it only
    works if connected via Portal!!) and potentially have
    access to some of the extended Portal functionality
    in the JPDK (this last one a "nice to have").Unfortunately I have no idea whether this is possible, so I'm not going to be much help on my own. The best I can do is try to track down someone who can actually speak to this issue. However, given the lack of documentation and the fact that you weren't able to get a solution through support, I wouldn't be suprised to find that this type of integration simply isn't supported yet.
    I think you mentioned in the TAR that you had seen support for similar integration with Struts. If you know of documentation which shows how to do this type of thing with Struts, could you point me at it?
    Andy

  • Message monitoring Status Waiting for email receiver

    Hi Guru,
    Scenario:  SAP ECC will call Error Handling interface class. The communication channel for the Error Handling interface is Email Adapter.
    Below is CC setting:
    Adapter Type: Mail  (Receiver)
    Transport Protocol: SMTP
    Message Protocol: XIALL
    Adapter Engine: Integration Server
    URL: smtp://11.11.11.111/
    Check - Configure User Authentication
    User : user1
    Password: password
    Mail Attributes:
      From: [email protected]
      To    : [email protected]
      Subject : test
      Content Encoding: base64
    I encountered one problem where my email receiver status in message monitoring is always 'Waiting'. I do not know what went wrong in the setting? Does anyone know how to solve my problem ?
    Thanks in advance.
    Regards

    XI tries 3 times before changing the status of the message to System Error. One can Manually resend the error messages by using the RESEND button in RWB. In scenarios where XI was trying to send the message to an end system that was down for maintenance, you would want XI to resubmit the message automatically without human intervention. What would be nice is to able to tune the retries like IS_Retry which is available for Integration engine.
    We can achieve this by changing the retry count used by the Adapter Engine, by default its set to 3 times, 5 minutes apart. This count can be changed in Visual Admin->server->services-> SAP XI Adapter: XI.
    Here  change the number Retries parameter from 3 to 10 and change the retry retryInterval to around 10minutes. For these configuration changes to be picked up, restart SAP XI Adapter: XI.
    please visit the blog
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

  • Is it possible to convert . AIR file to PDF or any other file format ??

    please help solving this problem...

    Hi Don,
    Muse files has an extention .muse and this cannot be opened in Adobe Edge Animate. What you can do is, Export your .muse file as HTML using Muse.  Now, open the html file that muse generates for its pages in Adobe Edge Animate.
    From there, you can publish the html file as an .oam file using Adobe Edge Animate .
    However  please make sure that you have changed the publish settings in Adobe Edge animate such that it is also creates a .oam file for your html file when it publishes.
    Please do let me know if you are able to do this.
    Regards,
    Rohit Nair

  • How can I monitor Status word From the other side of the GPIB bus

    I develop Thermal system control that should be operate thru the GPIB IEE 488.2 bus , my instrument application already written in Visual Basic ,The system knowes to do basic operation such as SETPOINT ,AIRDUT , BEGIN , STOP and more but I have do a problem , any time that I capture command from the controller the status word stuck at listener mode and I can not send another command again because my loop is waiting for the other side (the controller ) to tallk by monitor the IBSTA word .
    There is anyway to reset ,clear ,initialize STATUS word again to his default value ?
    Note : I am using VB 6 , the Samples that you have here for Non-controller is good so far if I want to send and recive data manualy (c
    omputer to computer)
    What if I have A system that work and always waiting for capture command and do somthing ?
    I will be very greatful if anyone can help me , send me sample code for Status checking loop.
    MIKI-AVI

    Hello Miki-Avi,
    I'm having a little bit of trouble understanding what you're trying to do. It seems that you have an instrument application that you have written and works in some instances but gets into an infinite loop in other cases. I think that your loop is waiting for something in the Status byte to change, and you're wondering how you can get it to change.
    I'm not sure what bit you're waiting for, but I would assume that it is the LACS bit 2. You do not want to simply reset the IBSTA byte because this byte tells you what is happening on the GPIB interface. So, if you're waiting for the LACS bit to change, then you are waiting for the board to be addressed as a listener. Your controller would address the non-controller as a listener once you sent it da
    ta with an IBDEV and an IBWRT call.
    If you are looking for code for a status checking loop, check the following resources. Remember that you must call ibwait 0 to update your IBSTA byte. The 488.2 Function Reference is very useful in figuring out what you need to do.
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EF8D56A4E034080020E74861&p_node=DZ52353&p_submitted=N&p_rank=&p_answer=&p_source=Internal
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/9cc0939663f1c5de862565d70082e89e?OpenDocument
    Please let me know if you need more assistance.
    Scott B.
    National Instruments
    Applications Engineer

  • Possible to write non HTTP WEB services with an Application Server?

    Is it possible to write services with the backend of an application server in JavaEE 5? Like a server listening for mails? Where does one find information about that? Books only discuss web (html/http) services that you can build in an AS...

    Hi Dugu,
    Can you give the link to the specific article and the version of JDeveloper you are using to help you further?
    One thing to keep in mind is that the accessors must be public - using package access (no modifier) is not going to work.
    Hope this helps,
    Eric

  • Monitoring/Chekcing the avalability of other system through SAP PI

    Hi All,
    Is there any mechanism /process, by which we can monitor the availabilitiy of other system through PI.
    Other option would manually creating interface to send the probe message and wait for the response,then process the probe message.
    Please share your idea/BOKs on this.
    Thanks,
    MK

    Hi,
    Few ideas:
    1. SAP System: RFC communication channel is recommended and frequent dummy messages can be send to see if it is working.
    Note: Monitoring by CCMS of Solution Manager is recommended.
    2. Non-SAP System: Use File communication channel for FTP/Ping and monitor communication channel for any issue.
    Regards,
    Gourav

  • WMI Writer :: State: [5] Waiting for completion

    How do I get 'System Writer' and 'WMI Writer' out of "State: [5] Waiting for completion"?
    C:\Users\username>vssadmin list writers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2005 Microsoft Corp.
    Waiting for responses.
    These may be delayed if a shadow copy is being prepared.
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {c9762bc0-1a4e-441d-9287-1bf398649219}
       State: [5] Waiting for completion
       Last error: No error
    Writer name: 'SqlServerWriter'
       Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
       Writer Instance Id: {2fe91d80-b228-435f-9fa4-c583866db232}
       State: [1] Stable
       Last error: No error
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {9635656d-b908-4e41-bea1-a454e19e5f6b}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {3a810b02-25ae-4f81-a375-bfe20a1205a7}
       State: [1] Stable
       Last error: No error
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {dce1819f-65ff-4106-bbcf-71ebc75fc635}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {a9b527c7-375a-44b3-bc40-48e4d3d38150}
       State: [5] Waiting for completion
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {3fad1a53-2860-44bd-9f4c-4acf7b3a7aab}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {c826425d-c7a0-4c1d-9a03-68973ed78f43}
       State: [1] Stable
       Last error: No error

    Hi,
    Thank you for update. I suggest we try the steps below to narrow down the cause:
    1. Open elevated CMD, run "net stop vss && net start vss", press Enter. If there is prompt that VSS service is not started, try "net start vss && net stop vss" press Enter. Run " vssadmin list writers" again, does the same issue occur?
    2. Try to backup VM using Windows Server backup, is there any error message? If so, please let us know the detailed error message?
    3. Restart this server and check if there is any difference.
    4. If the same problem occurs, please help to collect MPS report:
    1) Download proper MPS Report tool from the website below.
    Microsoft Product Support Reports
    http://www.microsoft.com/downloads/details.aspx?FamilyID=CEBF3C7C-7CA5-408F-88B7-F9C79B7306C0&displaylang=en
    2) Double-click to run it, if requirement is not met, please follow the wizard to download and install them. After that, click Next, when the "Select the diagnostics you want to run" page appears, select "General", "Server Components", click Next.
    After collecting all log files, choose "Save the results", choose a folder to save <Computername>MPSReports.cab file. upload the file to Windows Live SkyDrive (http://www.skydrive.live.com/). If you would
    like other community member to analyze the report, you can paste the link here, if not, you can send the link to
    [email protected] (with this thread title or link in the email. Please don’t share documents with this address).
    Thanks.
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your
    question. This can be beneficial to other community members reading the thread.

  • Possible to write a function that takes any type as parameter ?

    I need to write a function that will take 2 parameters ( of any type - VARCHAR etc ) and return a boolean.
    ( Im trying to write a function that will do NULL processing.
    something like..
    if ( P1=P2 OR ( P1 IS NULL AND P2 IS NULL ) ) then
    return true ;
    end if;
    return false ;
    the function simply compares its parameters P1 & P2 and returns true if they are equal - including if both are NULL
    Is this possible to write at all.
    My code looks very ugly without this being wrapped in a function.

    You may be able to use SYS.AnyData for this. However, dealing with the data would be confusing, so overloading the FUNCTION would most likely be a better idea.
    This doesn't work, but it looked like fun, so i tried:
    CREATE OR REPLACE FUNCTION Equal_Or_NULL(A SYS.AnyData, B SYS.AnyData)
    RETURN PLS_INTEGER
    AS
    Local_A     VARCHAR2(4000);
    Local_B     VARCHAR2(4000);
    Junk          PLS_INTEGER;
    BEGIN
    IF A IS NULL AND B IS NULL THEN RETURN 1; END IF;
    CASE A.GetTypeName
      WHEN 'SYS.NUMBER'     THEN Junk := A.GetNumber(Local_A); Junk := B.GetNumber(Local_B);
      WHEN 'SYS.DATE'     THEN Junk := A.GetDate(Local_A); Junk := B.GetDate(Local_B);
      WHEN 'SYS.CHAR'     THEN Junk := A.GetCHAR(Local_A); Junk := B.GetCHAR(Local_B);
      WHEN 'SYS.VARCHAR'     THEN Junk := A.GetVARCHAR(Local_A); Junk := B.GetVARCHAR(Local_B);
      WHEN 'SYS.VARCHAR2'     THEN Junk := A.GetVARCHAR2(Local_A); Junk := B.GetVARCHAR2(Local_B);
    END CASE;
    RETURN CASE WHEN Local_A = Local_B THEN 1 ELSE 0 END;
    END Equal_Or_NULL;
    /Overloading would be much simpler, as the arguments could be directly compared.
    IMO, Do not do this. Hiding logic in a FUNCTION it for cosmetic purposes is a bad idea.

  • Write to GPIB at a specific time in AO waveform

    I would like to write a command to GPIB (using "GBIP Write.vi") at a
    specific time in every iteration of buffered analog output.
    But I have two question:
    1. all iterations are generated at once by "AO Start.vi" ,how could I
    write to GPIB in every iteration?
    2. to write to GPIB at a specific time in each iteration,I must use
    "Wait(ms).vi" to wait for a certain time,but this is not accurate
    (delay>1ms)
    P.S 1.the GPIB instrument is a function generator without external
    trigger.
    2.I have a timing board(PCI 6602) but I don't know whether it is
    helpful.
    Thank you for your help.

    You have a choice of a gpib device with an external trigger or you will have to move LabVIEW-RT (where this project would be a slam-dunk).
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe. Already reinstalled 3 times and always sa

    After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe.
    Already reinstalled 3 times and always says the same message.
    thank you

    Only two had virus on windows XP this week and wiped them with Avast. The itunes asked me to install the update, and so I did. but it always gives me that message.

  • Is it possible to connect 2 Samsung monitors to an imac 27"

    Is it possible to connect 2 Samsung monitors with a resolution of 1920x1080 to a new imac 27" with two thunderbolt connectors (per mini displayport to dvi or mdp to hdmi cable)? So that there is the full resolution on all three (Mac + two Samsung) monitors? And if its possible what do I need to do so?
    Thanks for the help

    I have no ThunderBolt iMac (mine is a 2009) nor one or two of these Samsung Displays.
    So I can't say or guarantee that the combination will work.
    Some displays simply don't work with Macs for no apparent reason.
    Best would be to take your MacBook Pro into the store where you want to buy the Samsung displays and ask for a test.
    Stefan

  • Is it possible to connect two external monitors to my T400 laptop?

    Hi,
    I bought a T400 laptop this summer and have it connected through the VGA port to an external monitor, using both the laptop´s monitor as an extended display. I would like to add a third monitor. I am wondering if there is any way to do this or anyone knows further, even if some additional hardware is required. There is no HDMI port on the laptop of course but I´m wondering if some sort of VGA splitter is possible. Any thoughts are appreciated!
    Best wishes.

    Mavec wrote:
    I would like to add a third monitor.  
    The GPU(s) in your T400 (and most other laptop brands) will support two different displays concurrently.  If you want to support more than two different displays concurrently, you will need another GPU external to the T400.
    Generally, if you want to use two external displays on a T400 you will nee dto use a docking station.
    I have read messages on various fora on this topic and know that there are a number of ways of doing this, but as I have never had a need to do this myself I can't tell you how to go about it.
    Cheers,
    Bill
    I don't work for Lenovo

Maybe you are looking for

  • Please HELP - huge data recovery issues

    Hello all, The hard drive on my MacBook (late 2008 unibody, less than a year old, don't get me started) has gone to ****, and I am trying desperately to get the data off of it before I get a replacement. Got it out of the laptop and into an enclosure

  • Combine iWeb with Pages and ExcelMac

    I would like to introduce a table with data and some functions in iWeb. The objective is to let the user of the web change the data and let him/her to see the result in the cells where the functions are. I've tried in the easy way: copy-paste and it

  • ORA-12154 Error After Install of Enterprise Manager

    I have a new new laptop with minimal software installed. Everything was fine and I was able to connect to 4 different Oracle 9i databases. This morning I installed Oracle Enterprise Manager (10g) and now I get the dreaded ORA-12154 error. I now find

  • Problem with an ALC-WKS-007-040 error

    Hi all, I'm trying to develop a BP with forms in XDP. However this does not work as I get an ALC-WKS-007-040 error when I try to render the form in Workspace. I have tried to set up the renderPDF instead of the default renderer, but I still get an er

  • App Store notifies updates for not installed app?

    Hello, I keep getting an update notification for an app not installed (anymore? I can't rememeber if I ever installed it) on my MBP. Is there a way to hide/override it? I already tried cleaning App Store cache but nothing changed. Any clue? Thank you