Using NISPY DLLs for VxiPlug&Play driver development

Using NISPY DLLs for VxiPlug&Play driver development.
I am developing and testing VXI Plug&Play drivers. I am testing the error conditions and need to verify the drivers do not send SCPI when invalid parameters are sent. I would like to use the NISPY dlls so that I can verify this automatically, without the tester having to monitor NISPY. Is there a way to do this?

We are writing IVI drivers now, I wonder how can we get this test utility
(for IVI
driver testing for compliance with the spec) from your place.
chen ning
Easbeacon Test Systems Co.
"Dan Mondrik" wrote in message
news:[email protected]..
> I assume that what you are trying to do is to ensure that no VISA I/O
> calls get made when your driver has an invalid parameter. Using NI
> Spy will show you what calls are made, as you know.
>
> What you might want to do is to configure NI Spy to start up with
> capture enabled and have it log to a file; then you can visually
> inspect the log file later. However, take note that the log file will
> get huge quickly.
>
> Another option might be to manually disconnect the device
(eg, the MXI
> cable)after viOpen; this assumes that you are doing all your invalid
> parameter testing at one point in time but it may not work for all
> buses.
>
> If you are writing an IVI driver, we do have a test utility for IVI
> driver testing for compliance with the spec, and for some other
> structural tests.
>
> Dan Mondrik
> Senior Software Engineer, NI-VISA
> National Instruments

Similar Messages

  • On my Macbook pro 15 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    On my Macbook pro 15, 2011, System Profiler is suggesting that it uses SATA III for the hard drive and SATA II for the Optical Drive.  Is that true?

    That is correct. The tech specs indicate:
    Hard Drive Interface
    6.0 Gbps Serial ATA (SATA)
    Optical Drive Interface
    3.0 or 6.0 Gbps Serial ATA (SATA)

  • Bus-Master DMA using Common Buffer for Win XP driver

    Explain the basic steps required for Bus-Master DMA using Common Buffer for Win XP driver.Explain the device description struture "MaximumLength" field usage also.Explain the usage of addresses returned by
    AllocateCommonBuffer. Provide sample code if any.

    amar wrote:
    > Explain the basic steps required for Bus-Master DMA using Common
    > Buffer for Win XP driver.Explain the device description struture
    > "MaximumLength" field usage also.Explain the usage of addresses
    > returned by
    > AllocateCommonBuffer. Provide sample code if any.
    Sounds like a task assignment in high school to me.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Can i use time capsule for external h drive and also for time machine?

    Can i use time capsule for external h drive and also for time machine?

    Hello, vascocaco.
    If I understand correctly, you're wondering if you can use your Time Capsule's internal hard disk both for Time Machine backups and as an ordinary drive. Is this your question?
    You can, but Time Machine backups may take longer.
    To do it, you should partition your Time Capsule's hard disk to create one volume for the backups and one for other files.

  • How do I use WD Raptor for OS/Apps drive and RAID 0 for Home/Data drive

    So far I have configured my machine with a WD Raptor 74GB as the startup disk, and created a RAID 0 with the Seagate 250 GB drive (shipped with the machine) and a 250GB partion of a WDC 320GB drive. All drives were zeroed and I used the install disks to load Tiger on the Raptor. I backed up to a LaCie D2 1TB external hard drive with LaCie's Silverkeeeper.
    I would like to use the WD Raptor as startup/apps/scratch disk and the RAID 0 for the user folders and other data. I would then like to create a RAID 1 with the RAID 0 and a 500GB partion of the LaCie 1TB external.
    I have learned however that what I would like and what I can have are not always compatible.
    My questions:
    Is the Silverkeeper backup sufficent, or should I have cloned my previous system?
    What folders should accompany the application folder on the Raptor? So far I have only put the app folder there and nothing works. I suspect things like 'application support' should be there as well.
    Is there a way to keep my home folder on the RAID 0 without using Terminal or spending too much time as the root user? I tried copying my home folder onto to the RAID 0 and putting an alias in the user account I had to create while installing the OS on the Raptor. This kind of works but is not a particularly elegant solution.
    I would appreciate any advice on how to proceed or if the proposed configuration is even achievable.

    Photoshop files of 1GB+ can eat up memory and scratch. And the more drives for scratch, the better.
    Some of the limitations are with the bus, bandwidth, and 'swapping' code in and out of different cores that is inefficient.
    Compilers can do some, but from the time new hardware (8 cores) to seeing improvements to compiler, and out to software (applications) and OS, can take a year or more but provide in the neighborhood sometimes of 40%. In which time, newer designs will change the equation. Caching and VM will improve with Leopard, but beyond that...?
    So... back to "read world" IF you are in the habit of working with 1-2GB images, then a pair of Raptors for boot is helpful, AND 8GB and more of RAM, AND 4-8 drives for scratch. (Think of those Sonnet Port Multiplier controllers and Fusion 500 style case for 5 drives on one port).
    If you work with files smaller than 500MB range, your needs are cut way down.
    150GB Raptor boot drive. Small. subtract 25% for minimum free space, 140GB formatted, kind of tight for some. But it handles 60% well.
    The outer 30% of 465GB (RE2) is also fast and good performance. I partition large boot drives to keep the OS and apps contained in the outer 1/3.
    Mac Pro Memory Usage and Performance
    If your work flow means doing more than one thing at a time on your Mac Pro, then you will see significant gains if you spend extra to get the 8-core version. Our Photoshop CS3 actions were completed 39% faster on the 8-core when we had 3 other apps busy crunching. This advantage emerges in spite of the memory bus limitations of the 8-core Mac Pro.
    http://www.barefeats.com/octopro3.html
    CS3: Justifying 8-Cores
    http://www.barefeats.com/octopro4.html
    Pshop Test G5 Quad 16GB Raptor RAID
    Photoshop and multi-core
    http://blogs.adobe.com/scottbyer/
    Mac Pro 2GHz 4GB 10K Raptor 23" Cinema   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • Using additional bays for a RAID drive, and an eSATA RAID question too

    I'm thinking about getting a Mac Pro soon, and my hope is that I can use the main drive bay for the OS and apps, and then use two of the remaining 4 bays to install two drives that I can set up as a striped RAID array. It appears that this can be done without having to buy the $1000 RAID card, but before I dove in I wanted to check. I'm not worried about losing data, because I'm good about external backups, but rather need to handle many thousands of large photo files quite quickly.
    Also, I've got an eSATA RAID set up on my G5 now, and I understand that there are two more SATA ports on the main board of the Mac Pro, and potentially I understand I could plug that in there. But I dread getting the message "you've inserted a drive that isn't recognized, etc.." Anyone know what problems I might encounter here? OWC offers a patch cord that plugs in to them and then goes in to one of the expansion card slots as a kind of extension cord.
    Thanks.

    Right now on my G5 I have an external SATA two-drive RAID 0 enclosure (basically, just two 500gb drives in an OWC Mercury Elite Pro enclosure) that hooks up to the G5 by 2 SATA cables that plug in to a PCI card slot. My plan was, when I get the Mac Pro, to use the Newer Technology eSATA extender cables from OWC to hook up this drive box to to new machine. (http://eshop.macsales.com/item/Newer%20Technology/MPQXES2/) From what I've read in these fora it appears this is possible, and it seems also to be possible to just use the RAID tool in Disk Utility to set up the internal drives on in slots 1-4 on the Mac Pro.
    Primarily I'm needing improved speed for handling lots of large photo files in CS3 and Lightroom. Just from using the RAID setup I have now I've noticed some speed improvements, and with the extra processing power of the Mac Pro I'm hoping to see even more once I make the leap.
    Thanks to all of you, by the way, for your input.

  • Using Disk Utility for backup - target drive must be same size as source?

    Hello. I have a 250 GB data drive that I need to back up to an external drive using Disk Utility (restore) so that I can create a RAID-1 set using the 250GB drive. The files take up only 100 GB on the drive.
    Does the target external drive need to be 250 GB or just 100+ GB in size for the Disk Utility to work?
    Thanks
    David

    I you want to make a non mirrored drive into a mirrored one you can do that with diskutil. Copying it first is not needed.
    man diskutil:
    enableRAID mirror|concat device
    Convert single filesystem disk or volume into a unpaired mir-
    ror RAID set or concat set. Ownership of the affected disk is
    required.
    repairMirror raidDisk newDisk
    Repair a failed mirror. Supply the existing RAID as the raid-
    Disk parameter. Supply the new disk as the last parameter of
    the request. newDisk and raidDisk are only Device Nodes or
    Disk Identifiers. Ownership of the affected disk is required.
    The second disk in the mirror set needs to be as big or bigger as the first disk.
    Do this booted from another disk or DVD.

  • Linking error when using C++ DLL for writing TDM files

    I try to integrate TDM into my C++ code. Then I downloaded the package from the NI website "Integrating TDMS in Third-Party Products". I tested the the sample "writeFile.c". But a  linking error as following occurred:
    1>Linking...
    1>nilibddc.lib(implib.obj) : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function _LoadDLLIfNeeded
    1>.\Debug/Test TDM.exe : fatal error LNK1120: 1 unresolved externals 
    Can anyone help me out. Many thanks. 
    Solved!
    Go to Solution.

    I migrated my code from VC++ 6 compiler to VC++ 2005. Then linking errors are gone.
    nilibddc.lib(implib.obj) : error LNK2001: unresolved external symbol ___security_cookie
    nilibddc.lib(implib.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
    P.S. "Read me" from NI says "The Microsoft 32-bit format is compatible with Microsoft Visual C version 6.0". But I tested the code with VC++6 professional with SP6 package and upgrade the SDK to the latest version that supports vc6. I still have the linking errors. My test seems prove that the dll does not support VC6. 
    Message Edited by Kuo on 04-22-2010 05:03 AM

  • Re: Using C  Builder for BEA WebLogic Enterprise development

     

    I'm doing some WLE work and trying to get it to work with C Builer 4.0. I've tried setting my 'CC' variable to BCC32 and running the buildobjclient utility against a sample. What I get is a compile line with a bunch of compiler options that Borland C doesn't like. If I run the compilation command generated by buildobjclient and exclude the offending compiler options, I get .obj files, but the linker fails with a 'Linker Error: contains invalid OMF record type 0x21' on the WLE Libraries.According to a C Builder site out there, you can run the implib utility (from Borland) against the existing .dll files from WLE and generate new .lib files that'll work with the Borland linker, but I've yet to see the corrolation between the .dll files and the .lib files, though I haven't researched it much.So far, it appears that it should work, but I'll have to learn a lot more about the differences between MSVC and BCC than I care to. By the way... This all started because I have MSVC 5, but WLE 5.1 appears to only work with MSVC 6, but I've yet to see it in any of BEA's documentation.

  • Shall we use virtual machine(vmware) for signing windows driver?

    Recently I have purchased code signing certificate from CA and it is mentioned that the machine which is used to generate a certificate should be the same which will be used for signing. To avoid problems in future, is it possible to use virtual machine
    for signing windows driver and take backup of Virtual machine to use in any machine in future?

    I don't think that is necessary, you need to be very careful about how you store and persist the cert
    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

  • Where can I find the dll for my Agilent E82xx?

    I unzipped the library files of the E82xx driver in a directory in the inst.lib folder and wanted to start a VI, when the message came that the E82xx_32.dll could not be found. Do I have to download this file or where do I get if from.
    Greetings!

    Bob,
    You need to install the Agilent VXIplug&play driver first. On the LabVIEW driver download page, there is a link to the Agilent's VXIplug&play driver but it is currently broken and we are in the progress of fixing it. Here is the correct link to all Agilent's VXIplug&play drivers:
    http://adn.tm.agilent.com/index.cgi?CONTENT_ID=141​3
    The VXIplug&play driver for your model can be found here:
    http://adn.tm.agilent.com/index.cgi?CONTENT_ID=266​3
    I hope this helps.
    Regards,
    Vesna Jadric
    Instrument Drivers/IVI
    National Instruments

  • Using axbridge.dll without going through the JRE installation process

    I've searched the web and this forum for this specific problem, and have found related items, but nothing that quite answers the question.
    I have an application that uses the JRE's axbridge.dll to access a DLL created from a Java bean. I used the packager to create a DLL named MyBean.dll.
    When I go through the full JRE install, everything works great. That is to say, when I execute Sun's JRE installation program and go through the normal install process, I can access the bean through MyBean.dll without any problems.
    I am accessing MyBean.dll from a Visual Basic 6.0 application. Converting to VB .Net is NOT an option at this time. The VB app uses MyBean.dll for a critical part of the application.
    It is my understanding that it is not strictly necessary to go through the full JRE installation process. Simply deploying the JRE by copying its directory (and all subdirectories) to your application's directory structure should be sufficient. This would be HIGHLY desirable for my application. In fact, if I can't do this, it may be a show-stopper.
    When I install my application in this way (i.e, by simply copying the JRE instead of "installing" it) it doesn't work at all. I immediately get an error saying that the executable "has encountered a problem and needs to close. We are sorry for the inconvenience" and a dialog is displayed offering to send the problem information to Microsoft.
    The details indicate clearly that the problem occurs in the axbridge.dll, version 1.4.2.60.
    1. Any ideas on how to get the axbridge.dll to work without going through the full JRE install?
    2. Are there any alternatives to using the axbridge.dll to get my VB app to be able to use the Java? Remember, it is VB that must call the Java, NOT the other way around.
    3. Is JNI an alternative? If so, can I use JNI to get VB to use Java, or do I have to write the DLL's in C++?
    Any help you can give would be VERY MUCH appreciated.

    I'm also on a JRE installation problem with the bridge.
    Here is a regmon extract on excel using a dll that uses a java-packaged dll from the bridge:
    5229 5.69504923 EXCEL.EXE:2364 QueryValue HKCR\CLSID\{9DD49FCD-BB61-414E-88C8-E6F5B35AEDCB}\InprocServer32\(Default) SUCCESS "C:\win32app\Specific\jre1.5.0_05\bin\axbridge.dll" << The axbridge dll in a specific location
    5271 5.70646800 EXCEL.EXE:2364 QueryValue HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05\JavaHome SUCCESS "C:\Program Files\Java\jre1.5.0_05" << an installed JRE 1.5.0
    This is confirmed with process explorer : excel is using "C:\Program Files\Java\jre1.5.0_05\lib\rt.jar" and not "C:\win32app\Specific\jre1.5.0_05\lib\rt.jar"
    In other word, the axbridge check for its installation location in the registry to know where to start.
    Even if all your components have been updated in the registry as suggested here : http://forum.java.sun.com/thread.jspa?forumID=40&threadID=559704
    JRE Bug or feature?
    Anyway the registry is evil.

  • Using NAST info for selection screen design

    Hi
    I am doing customization for RFQ printing ( TCODE ME9A)
    I want to know can I get the same selection screen as of ME9A using NAST info for my z driver program.
    Which function module can be used?
    Kindly provide sample code
    Regards
    Harshada

    Hi Piyush,
    Add the below code in your program.
    *Note: you have to take two parameters for files.
    If you select check box then p_pc parameter is visible.
    if you dont select check box then p_app parameter is visible.
    PARAMETERS: p_chk1 AS CHECKBOX USER-COMMAND rusr.
    SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS: p_pc  LIKE rlgrap-filename MODIF ID abc.
    PARAMETERS: p_app LIKE rlgrap-filename MODIF ID def.
    SELECTION-SCREEN: END OF BLOCK blk1.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'ABC'.
          CLEAR: p_pc, p_app.
          IF p_chk1 = 'X'.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
        IF screen-group1 = 'DEF'.
          CLEAR: p_pc, p_app.
          IF p_chk1 <> 'X'.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_app.
      PERFORM get_fname_app.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_pc.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_pc.
    *&      Form  get_fname_app
          text
    FORM get_fname_app.
      DATA: c_fnh_mask TYPE dxfields-filemask VALUE '.',
      search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',
      file_path LIKE dxfields-longpath.
      CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          i_location_flag = 'A'
          i_server        = ' '
          i_path          = search_dir
          filemask        = c_fnh_mask
          fileoperation   = 'R'
        IMPORTING
          o_path          = file_path
        EXCEPTIONS
          rfc_error       = 1
          OTHERS          = 2.
      IF sy-subrc EQ 0.
        p_app = file_path.
      ENDIF.
    ENDFORM.                    "get_fname_app

  • Ipodresq for iPod hard drive disaster?

    My 4G 40GB iPod has died a miserable death, and naturally, it has occurred less one month after the warranty ended. Nice.
    I took it to the Genius Bar yesterday, and they confirmed its demise. Apparently the hard drive has retired. ** By the way, if you can't mount your iPod, you're getting the folder icon and the sad iPod icon, and occasionally you are seeing the big battery charging picture stuck on one picture, chances are your iPod is dying, too.**
    Has anyone used iPodresq specifically for a hard drive replacement? If so, how much was it? I am concerned that it will just be cheaper for me to buy a new iPod.

    Well... i have multiple libraries that require me to reformat often... plus it doesnt help that i am running third party software on my ipod...

  • Can I use only one computer for driver development?

    Hi! I'm newbie in driver development and now is first day when I make the acquaintance of driver development. There is the next phrase in MSDN in
    https://msdn.microsoft.com/en-us/library/windows/hardware/hh706187(v=vs.85).aspx
    : "For developing, debugging, and installing a kernel-mode driver, you need two computers". But I unfortunately have only one computer and I have to develop the USB Kernel Mode driver as technical assignment for admission to the job.
    My computer is under Windows 7 OS and already has standard USB driver. I have Visual Studio 2013 Ultimate and WDK 8.1 Update on my computer. Can I use only one computer for driver development and debugging or not?

    no, not really, you need two. you can use a VM as the machine under test though.
    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for

  • How to load a second array?

    I have this code loading a set of thumbnails. Right now the first set of thumbs loads fine but how to load my second array in a new row?

  • Photo transfer from ipod to new macbk pro gone bad

    I successfully transfered my music from ipod classic (80gb) using senuti. Then did "transfer purchases" option in itunes to recover the rest. Then acquired touch copy app. to handle photos from ipod only to find out, when I started app., that all my

  • Running classic in Tiger????

    Probably a stupid question, but I can't get my computer to run in Classic mode. It acts like it is going to start when I try and run Photoshop 6 and never actually does. What should I do?

  • Forgotten File Sharing Password in Parallels/Fusion WinXP

    Hi there, I have an irksome problem. I tested both Parallels and Fusion to see which I preferred (both with genuine Windows). I did default file sharing (I think) in the Parallels install. I imported the virtual machine from Parallels to Fusion. All

  • The software that you choose does not match the Selected Printer

    Hi Friends, I am trying to install a network Printer suing my Win Xp SP3 PC. Since there is no drivers installed in this PC, I tried to select Have Disk option in the Bonjour Printer Setup Wizard and selected the INF file provided by the Manufaturer.