Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

cymrieg,
Your code looks good to me. What is the problem? What happens when it fails? What is the IBSTA value on the controller, and at what point in the code does it stop? What is the IBSTA value on the slave, and at what point does it stop?
One thing is that you might not want to call IBCLR() in a loop on the device. At the beginning of the program is fine...This will send a clear command to the device and will clear out any LACS and TACS bits that might be set. Also your IBDEV call shouldn't be in a loop.
Hope this helps, but let me know if you need more information.
Scott B.
GPIB Software
National Instruments

Similar Messages

  • How do I determine the interrupt detection sequences for an HP 82350A PCI GPIB card?

    I am trying to install an HP 82350A PCI GPIB card in CentOS 6.4. I have installed NI-VISA 5.4.
    I tinkered around and found driverwizard in /usr/local/bin. It creates an ini file to control the PCI GPIB card.
    I had somehow succeeded in detecting the card (PXI3::0::INSTR). My driverwizard output looks like this
    [Module]
    ModuleName = "PLX PCI <-> IOBus Bridge"
    ModuleVendor = "PLX Technology, Inc."
    ModelCode = 0x9050
    ManufCode = 0x10B5
    SubsystemModelCode = 0x10B0
    SubsystemManufCode = 0x103C
    VISARegistration = Simple
    As you can see, it does not have interrupt handling built into it, so I cannot access it properly.
    How do I set up interrupt handling for this card? What are the specifications for the following fields?
    Interrupt Detection:
    Access Type
    Access Width
    Address Space
    Space Offset
    Compare Mask
    Write/Compare Value
    Interrupt Removal:
    Access Type
    Access Width
    Address Space
    Space Offset
    Compare Mask
    Write/Compare Value
    Interrupt Disarm:
    Access Type
    Access Width
    Address Space
    Space Offset
    Compare Mask
    Write/Compare Value
    This is the first time I have tried hacking at the PCI interrupt level. At the very least, how do I find out the values for the above parameters? Or at best, straight away what are the values for those parameters?

    Their IO Libraries Suite supports only Windows. Our lab probably used Windows before. This 82350A card is quite ancient. I need to use this because we also have ancient instruments that do not have Ethernet.

  • Configure labview to use agilent 82350B PCI GPIB card

    Hi All,
    I have just installed a Agilent 82350B PCI GPIB card on my PC, I have up until now been using the NI USB to GPIB adaptor.
    How can I configure my LabVIEW settings to be able to use this Agilent interface?
    Hope it is a stright forward procudure and that someone can help?
    Thanks
    Cally.

    Have you been to this link on the agilent page?
    I found it here
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • May be someone has example code for using ICQ ActiveX

    I can't use the ActiveX of ICQ program may be someone can send me examples for using this ActiveX.
    Thank you.

    So this is how you build a shift register in labview.  I was learning that this was the direction I
    needed to go but didn’t have a clue how to go about it.  I have it wired up and it works great.  Thanks a bunch.  But as you can imagine I have more questions
    now. 
    I don’t want to lose the ~ character of my string.  This will help reduce confusion later on in
    the program.  Is there a way to keep the
    ~ as part of the strings in the array?
    Any suggestions on logic for testing string length?  I am guessing I need to loop through the
    array and check the cells with some form of bit count.  The
    problem is I am seeing that the array refreshes as quickly as the buffer read.  I am concerned there won’t be enough time to
    test all cells.  It isn’t super critical
    but I would like to collect as much of the data as possible.  Right now I have only one transmitter but
    plan to have multiples and need the flexibility to handle larger samples.  At first glance it appears at least 40% of
    the packets will be NG.
    Finally, I want to display the strings that pass the test in
    a single window (cell) without too much blinking.  I’m hoping to just see the numbers change.
    Thanks again, and happy new year to you too.  Cheers!

  • K9A2 Platinum Cannot Use RAID and PCI IDE card [SOLVED]

    Hello,
    I am trying to do the following set-up on my K9A2 Platinum, using a Phenom 9600 processor:
    - 2xSATA2 250GB Seagate drives on Promise T3 SATA controller (to be used as RAID 1 devices)
    - 1xSATA DVD-RW on Sb600
    - 2xIDE DVD-RW on onboard IDE
    - One PCI HiPoint RocketRAID ATA100 card (operating in IDE mode) on PCI slot 2 with 1xIDE 40GB hard disk (my Linux partition)
    On the BIOS I have enabled the Extra RAID function, in order to enable Promise to work as RAID.
    The system POSTs as follows:
    - Initial detection (CPU, RAM e.tc)
    - RocketRAID gets initialized and detects the IDE disk attached (40GB)
    - Promise RAID tries to detect the disks (the RAID array) and the whole system hangs.
    I've tried to relocate the two SATA hard disks to the SB600 controller (SATA 1&2 ports), but the same thing happens (after changing the BIOS to disable extra RAID function and enable RAID mode on onboard SATA SB600). The only way to POST the machine, is to remove the RocketRAID PCI card, but this way I can no longer boot my Linux disk.
    Using BIOS 1.2 and 1.3beta 2 (sent to me by MSI support).
    Any help is greatly appreciated.

    Thanks for the replies.
    Now, I'm going to surprise you: I managed to make both cards (the Promise and HighPoint) work together! Read how...
    Somehow, I got the impression that the problems I had were either caused by the BIOS or the hard disks (the SATA ones). I flashed the motherboard back to the official 1.2, doing a complete BIOS reset (removed the battery) and tried again without the RocketRAID card installed. This time, the Promise BIOS (which btw is an earlier version from the one the 1.3b2 BIOS had) reported that the one SATA drive was malfunctioning (and it was a sealed brand-new Seagate). Removed the drive, installed it on SB600 and SeaTools indeed reported that it was failing (it didn't manage to pass even the quick test...).
    Now I was curious: could it be that this - together with the beta BIOS - was the cause of my problems? I installed the other SATA disk to Promise T3 (the red socket) and the controller detected it, but all I could do is to set it up as a RAID 0 array (which pretty much does nothing). Next, I installed the RocketRAID also together with the IDE Linux disk and the system detected both disks; I can boot Linux fine and enter both the RocketRAID BIOS and Promise T3 BIOS. I can delete and recreate the array in Promise T3 as I please, but due to the fact that I only have one SATA disk now, I get limited options (RAID 0 and JBOD).
    Is it safe to assume that since the Promise BIOS is working with the RocketRAID installed, that my SATA RAID controller is working?
    Tomorrow, I shall return the SATA drive to the store I bought it and get a replacement, so that I can set up my RAID 1.
    The plan is to have Linux boot from the IDE (I've never managed to set up a Linux disk to boot from RAID) where Windows Server 2003 will boot from RAID.
    Will keep you posted about the progress I make.
    BTW Bas, I'm sorry I couldn't make out much of your brainstorming 
    Regarding the Promise controller: the board has a Promise chip right above the SATA ports, which has the number 42819 on it. I can also verify that both SB600 RAID and Promise T3 RAID have EXACTLY the same BIOS menu interface (the only differences are the texts "ATi SB600" and "Promise T3" on the menus, plus that the SB600 has also an option to securely erase the drives which Promise does not have). Are you suggesting that the SB600 RAID is actually the Promise T3? I do not know if it would be possible to have BOTH RAID controllers (SB600 and T3) working at the same time (I do not have enough disks to try...).

  • I want the example code for Calendar() and TimeZone() in java

    Hi,
    I want the example code for the TimeZone() and Calendar() class in java
    because i new to java, i am not able to understand the concepts properly.
    Thanks...

    Hi Paolo Dema.
    What are the exact spefications of your computer?
    Also did you computer come with 10.6 ot 10.5?.
    You may try entering the MPN (marketing part number) Format: M*****/**
    The MPN can be found on the product packaging or the System Profiler.

  • Example codes for each and every class in API

    hi,
    Is there any place where i can get example code for eacha and every class in java API.
    for eample...if i wanna find sample codes for all the clases in java.lang.*
    please let me know ASAP.
    thanks in advance

    Try this
    http://www.javaalmanac.com/egs/
    It's almost complete, but you could help mr. Patrick Chan to write more samples for the few classes left in the Java API...

  • Example code for each and every class in java API

    hi,
    Is there any place where i can get example code for eacha and every class in java API.
    for eample...if i wanna find sample codes for all the clases in java.lang.*
    please let me know ASAP.
    thanks in advance

    Crossposted here: http://forum.java.sun.com/thread.jsp?thread=570264&forum=54&message=2820774

  • Is there a reference document(example, code) for developing usb mini port driver?

    Hi:
    I studied Bus\USB document of WDK. This document forces on developing USB device driver.
    And there are some IOCTL Interfaces of usb bus driver exposed to usb device, like IOCTL_INTERNAL_USB_SUBMIT_URB.
    But those IOCTL Interfaces seem to belong to USB hub driver(usbhub.sys).
    My job is to developing a usb mini port driver, like usbehci.sys. That can work with usbport.sys.
    So I should know the communication interfaces(IOCTL...etc) between them and implement these interfaces.
    Is there a reference document(example, code) for developing usb mini port driver ?

    No there is no reference documents for this, Microsoft stated from the beginning that they own that layer.  You really don't want to go there.
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • Is there a video tutorial for using cyberduck and iweb?

    So, is there a video tutorial for using cyberduck and iweb to upload to a website? The written instructions on iweb are not specific enough.

    Might be worth posting that in the iWeb forum.
    http://discussions.apple.com/category.jspa?categoryID=188
    This is the iPhoto 09 forum.
    Also, have you tried searching with google?
    Regards
    TD

  • How can I read the trace data from Agilent(HP​)8510C in C++ using NI488.2 and PCI-GPIB ?

    Hello! I am trying to develop an application in C++ for measurements with Agilent(HP) 8510C network analyser using NI488.2 and National Instrument's PCI-GPIB card. In HPBASIC the trace data is read using OUTPDATA command which contains PREAMBLE, SIZE and then the data string in real and imaginary pair for the required points. The ibrd function gives data only for one point. Kindly guide me how I can read the whole trace and and separate out the real and imaginary data values. Regards, kapil

    Hey Kapil,
    It seems that in HPBASIC you were using an instrument driver for the 8510C. OUTPDATA is not a native HPBASIC function. National Instrument has similar instrument drivers for LabVIEW and CVI.
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/7b235254f3881ddb862568ab005fbd2e?Ope​nDocument
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/24ca7db880ab78ae862568ab005fbc0f?Ope​nDocument
    For example in the CVI instrument driver you will find a source file called hp8510.c. In the source code you will find a function called hp8510c_dataInRaw that sounds similar to the function that you described.
    Note that this example is designed for CVI, but it is possible that you could extract the information you need for C++. If
    you had a copy of CVI you could just add the files downloaded from the instrument driver to a project and then compile and run the project. It already contains a ready to run example that allows you to capture data and use your instrument.
    If you want try CVI you can download an evaluation copy on-line at http://ni.com/lwcvi/launch.htm.
    I hope this helps out,
    JoshuaP
    National Instruments

  • Develop Example Code for the NI USB 8473

    Hello,
    I need to develop an application using the NI USB 8473 in VB2008 (OR VB2010). 
    Can you provide example code?

    Hi jerisman,
    Unfortunately examples for Visual Basic and CAN interface cards are few and far between. What I would recommend is looking at the example that I linked below for a starting point on reading CAN messages.
    http://zone.ni.com/devzone/cda/epd/p/id/601
    Also, you can go through previous forum posts about using NI-CAN with Visual Basic and pull information from what is discussed there.
    http://forums.ni.com/t5/forums/searchpage/tab/message?location=Board%3A30&q=visual+basic+can#message...
    Regards,
    Peter W.

  • Does anyone have an example code to use mx:ViewStack with my application.

    Does anyone have an example code to use <mx:ViewStack>
    with my application.
    I don't know about how to put value to it and use value in
    it.

    http://livedocs.adobe.com/flex/2/langref/mx/containers/ViewStack.html#includeExamplesSumma ry
    That should be what you're looking for.

  • Awesome Site with Example Code For All Classes

    Very cool site that has example code for all the Java classes and APIs. You can submit example code yourself too!
    http://www.kickjava.com/

    kevjava wrote: Some things that I think would be useful:
    Suggestions reordered to suit my reply..
    kevjava wrote: 2. Line numbering, and/or a line counter so you can see how much scrolling you're going to be imposing on the forum readers.
    Good idea, and since the line count is only a handful of lines of code to implement, I took that option. See the [line count|http://pscode.org/stbc/help.html#linecount] section of the (new) [STBC Help|http://pscode.org/stbc/help.html] page for more details. (Insert plaintiff whining about the arbitrary limits set - here).
    I considered adding line length checking, but the [Text Width Checker|http://pscode.org/twc/] ('sold separately') already has that covered, and I would prefer to keep this tool more specific to compilation, which leads me to..
    kevjava wrote: 1. A button to run the code, to see that it demonstrates the problem that you wish for the forum to solve...
    Interesting idea, but I think that is better suited to a more full blown (but still relatively simple) GUId compiler. I am not fully decided that running a class is unsuited to STBC, but I am more likely to implement a clickable list of compilation errors, than a 'run' button.
    On the other hand I am thinking the clickable error list is also better suited to an altogether more abled compiler, so don't hold your breath to see either in the STBC.
    You might note I have not bothered to update the screenshots to show the line count label. That is because I am still considering error lists and running code, and open to further suggestion (not because I am just slack!). If the screenshots update to include the line count but nothing else, take that as a sign. ;-)
    Thanks for your ideas. The line count alone is worth a few Dukes.

  • Incoming payments - payment on account example code for 8.8

    Hi
    Would anyone have example code for SAP B1 8.8 of an incoming payment - payment on account example please
    Thanks
    Regards Andy

    Hi Ed
    Thanks
    I actually had a problem with my own code but it turned out someone gave me the wrong gl code to use !
    Thanks again
    Regards Andy

Maybe you are looking for

  • R/3: Cause of generated, but still inconsistent profile?

    Hi all, Does anyone know how you can create the following situation: I have a role with profile status "generated" (both SUPC & PFCG show green light). Yet in UST12 I find objects for that profile that are not in AGR_1251 or PFCG. SUIM confirms that

  • Importing via network connection

    I have hundreds of albums that were saved to DVDs many years ago using iTunes version 4 or 5. These files were saved as mp4a files. My new iMac seems to have difficulty reading these DVD's so I've begun loading them onto my son's ext. HDD (via Window

  • Need a report on delivery status and response status for capaign recipients

    hi, i need to make a report on delivery status and response status for capaign recipients but cannot find them in the campaign subject area nor the campaign response subject area, any idea? thanks

  • Reg: Time lapses in webdynpro

    Hi, How can i see the time lapsed for webdynpro app in the portal when i execute it? Thanks in advance.

  • Edit Service tab Screen settings

    Dear experts , I want the field "Actual Quantity " to be displayed in the service tab layout . I am able to make other fields visible n all , but Actual Qty field is skipped by the system . Pls trell me what coud be the reason ? All screen settings a