Register-based programming on VXI devices s.a. HP E1472A

The problem I had is bit 0 of the status register is stuck at 1 (reset), and according the user's manual, this bit has to be set to 0 to be able to operate the switches. I wrote to this register to set this bit 0 to 0, but when I read it back, it's still 1. I can set/reset other bits of this register but not bit 0. I don't know why. Your help would be profoundly appreciated.
Attachments:
initSwitch.cpp ‏2 KB

Hi Greg,
Thank you for your answer. I am new to Register-based programming so I relied on the user's manual. The user manual says the status register is a read/write resgister; it is at offset 4; to reset the RF Mutiplexer (HP E1472A), write a "1" to bit 0 of the Status/Control Register, but it is necessary to write a "0" to bit 0 after the reset has been performed before any other commands can be programmed and executed.
So I should be able to change bit 0, right?
This device works on VAX system. We are trying to rehost the test program to a PC with a VXI-MXI-2.
Thanks.
Attachments:
initSwitch.cpp ‏2 KB

Similar Messages

  • VXI Register-based versus Message-based Device Communications

    DAQ application using LabView 8.6 communicating with VXI chassis with multiple cards (both register and message based devices).  Register-based devices randomly stop communicating (after many hours at 200 scans/sec) while message-based devices continue to communicate.  Currently searching for the cause and a resolution to the problem.

    David,
    Thanks so much for your response.
    Our application (after initial setup and configuration of data communication cards in  the 2 VXI chassis) enters an overall loop which contains many separate individual loops which carry out the data communication with the various individual cards.  Some of these individual loops contain counters which increment each time through the loop.  This overall loop continues until the operator interrupts it.  We have been running the executable of the code so when we encounter the problem it is difficult to get much in the way of details of what's exactly happening.  We are now planning on running the source code so if the problem occurs we could possibly get more information about what is happening.
    1.  By stop communicating I mean that the some of the counters that I mention above go to zero which indicates that particular loop is somehow "hung-up" and not incrementing the counter. 
    2.  When we encounter the problem we have to exit the program, reboot the computer and start the program again.  We have to reboot the computer because after the problem occurs we try to run Resman and we get the error "Unable to initialize ni-vxi driver".  I researched this error and found information in the Resman Troubleshooting Guide which mentioned the possibility of a conflict between the NI-VXI device driver and some other memory resident program or device driver.  The guide recommended adding lines to the config.sys and system.ini files to exclude the VXI device driver region of memory (0xD000 - 0xEFFF) from other device drivers (MS-OS).  We did this but we still had the problem.
    3.  We have not tried changing the scan rate (currently 200 scans/second) for the cards but the problem occurs at very random times (anywhere from a few hours to 24+ hours).
    V/R,
    Craig

  • How to program with different device by NI-VISA?

    Dear NIer:
    firstly I will list my enviroment.
    SW:Labwindows/cvi 5.5/VISA/MAX.
    HW:HP pc/pci-gpib/GPIB-VXI/DD42916.
    QUESTION:
    1 MAX always think GPIB-VXI/C and DD42916 as a GPIB device.Why don't they think these devices listed above as a VXI device?
    2 Since MAX think DDC42916 as a GPIB device, and DDC42916 supports word serial communication, How can I program with this message-based device by NI-VISA?
    I searched for appropriate function in NI-VISA ref manual,but I failed.VXI WSPRotocal COMMand is not suitable here evidently.
    3 Then how can I program the other device like register-based device and memory-based device under this circumstance?
    4 if slot0 controller changed from GPIB/VXI to 1394/VXI
    ,then how to program?

    east-
    I see this question was answered (and then discussed again in depth) in the VISA forum. I'm posting these links in case anyone looks here for an answer.
    -Scot

  • I put ios7.1 to my ipad it was working not it is asking for activite for developer and allready registered to my developer for devices but now it does not actived

    I put ios7.1 to my ipad it was working not it is asking for activite for developer and allready registered to my developer for devices but now it does not actived

    If you are an authorized member of Apple's developer program, you have forums and resources through which you can address issues with seed versions of Apple's software. Posting here or in any public forum is a violation of your NDA with Apple. The developer forums can be found here:
    https://developer.apple.com/devforums/
    If you are not an authorized developer, then you have an illegal copy of the software.
    Either way, we cannot help you with questions about unreleased Apple software in these forums.
    Regards.

  • How can I communicate PXI-6509 by Static DIO Register-Level Programming?

    - How can I communicate PXI-6509 by Static DIO Register-Level Programming?
      PXI-6509 physically Port0 is connected to Port1.
      For checking all connections are correct for this case so I have used DAQmx Test Panel. Just in case everything is ok.
      In this case I interested in to communicate the PXI6509 by Register-Level Programming.  
      I have tried to use Open VISA Test Panel for sending and reading data (in MAX explorer) and
      use NI-Spy for checking communication data.
      The first step I configured Port0 to Outputs state and Port1 to Inputs state.
      The second step I setup Port0 to 0xAA.
      The third step I read back Port1 and expected data will be 0xAA but just only 0x0. Why???
       1              ViOut8(0x03D83318, 10, 0x00000041, 1)

    Hello!
    We don't do support on register-level programming but the problem you are experiencing might be due to tri-state on the ports?
    Please check this manual that covers register programming of the device you are using:
    http://digital.ni.com/manuals.nsf/websearch/47300C3471742AD0862570AE005E0AD1
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • 660x DIO Register Level Programming

    I am working on a comedi/linux driver for the 6602, and can't figure out how to access the other 24 DIO lines (the ones shared with counter/timer).
    Firstly, I want to use the DIO lines for output, so I must configure them as such. The RLPM doesn't say anything more than a hint about how to configure these lines .
    It seems the answer lies in using 2 bits to set to IO_Config Register(s). The RLPM says that these registers contain 2 bits for configuration direction, but only lists functionality for 00 and 01; not 10 or 11. Is it possible that setting 11 or 10 sets these PFI lines for DIO?

    Hello!
    We don't do support on register-level programming but the problem you are experiencing might be due to tri-state on the ports?
    Please check this manual that covers register programming of the device you are using:
    http://digital.ni.com/manuals.nsf/websearch/47300C3471742AD0862570AE005E0AD1
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • Pci-6703 Register-Level Programming

    We wanna use the analog output channels of the 6703 and configure for DC Voltage for my application without NI-DAQ function.
    I have searched in NI website. but there is no PDF file or document file about register-level programming.
    It's important for us, we must program drivers and functions byself.
    How can I do?
    Thanks

    I believe that the Measurement Hardware DDK provides documentation, examples, and register objects for the NI 67xx series of devices.
    geoff
    Geoffrey Schmit
    Fermi National Accelerator Laborary

  • Register level programming of interrupts for PCI 6503

    Hi all,
    I'm basically trying to get an interrupt from the card upon a change in the data of one of the ports (for instance port A) so I can catch pulse signals without having to poll the pins manually at a high rate. I can't figure out from the documentation and examples whether this is actually possible using register level programming (can't use the DAQmX libraries because I use InTime OS). I can set the appropriate bits of the Interrupt Registers in order to enable the two interrupts (A and B), but I'm not sure what condition generates these interrupts.
    Additionally, I want to be able to send out a pulse on a pin and have it automatically cleared by the board.
    As far as I can tell both of my requirements mean using the card in strobed mode, but the code examples don't give enough information how to work in this mode. Do i have to use the handshaking mechanism somehow and if so, how is this better for me over using static i/o and manually checking pin values?
    Any help or referrence would be greatly appreciated.
    Thank you in advance
    Orr

    Hi Orr,
    The best source of information for this device is its user manual [1], and Appendix B discusses the register map and programming considerations.
    Speaking specifically to interrupts, please refer to PDF page 43 (B-2), emphasis mine:
    Two software-controlled registers determine which devices, if any, generate interrupts. Each of the 82C55A devices has two interrupt lines, PC3 and PC0, connected to the interrupt circuitry. On the PCI-DIO-96 and PXI-6508, the 82C53 device has two of its three counter outputs connected to the interrupt circuitry. Any of these 10 signals can interrupt the computer if the interrupt circuitry is enabled and the corresponding enable bit is set. Refer to the Programming Considerations for the 82C53 section for more information. Normally, the handshaking circuitry controls PC3 and PC0 of the 82C55A devices; however, you can configure either of these two lines for input and then use them as external interrupts. An interrupt occurs on the signal line low-to-high transition."
    The pages following that section describe the interrupt control registers and give pseudo-code examples for configuring them.
    Once we clear this obstacle, let's move on to your output questions.
    [1] PCI-DIO-96/PXI-6508/PCI-6503 User Manual
    http://digital.ni.com/manuals.nsf/websearch/6E8329494F3955528625758300678D55
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Register Level programming of the AT-DIO-32HS

    I am working with a piece of software that was written using the AT-DIO-32F card. The original programmer did NOT use the National Instruments driver with that card, but rather used a software library that allowed him to access and manipulate the registers directly on that board. The name of the library is called NTPORT (http://www.zealsoft.com/ntport/index.html).  He did this because he was not able to meet the timing requirements using the NI driver.
    We have to replace the AT-DIO-32F card with the AT-DIO-32HS card, and I would like to know if I can continue to do register level programming with the 32HS card.  I have found that I also can not meet my timing requirements using the driver that comes along with the 32HS card.
    I checked this web page (http://digital.ni.com/public.nsf/allkb/B08F4125A9325B3F862565CC0073E68F?OpenDocument), and did not find the AT-DIO-32HS listed. Does this mean I can not program its' registers ?
    Any feedback would be appreciated !!
    Thanks !!

    Hi Raminta-
    The Measurement Hardware Driver Development Kit (MHDDK) provides examples and register documentation for the 653x devices (which includes the AT-DIO-32HS).  The DIO-32F and DIO-32HS devices are quite similar, so it is possible that your existing code will work.  The resources on the MHDDK page should help you fill in any differences.
    Thanks-
    Tom W
    National Instruments

  • NI PCIe-6509 register level programming

    I'm asking National personnel, who is responsible for device driver developing, to give me information about register level programming. Programming this board using DAQmx software is too slow for us - about 2,5MHz is the maximum for one pin.
    I've already have RLP for PCI version of this board, but PCIe is different - only one BAR is available - and size of memory region also differ (512K). I've written skeleton kernel module for this board - and now problems to attach to hardware, but information absence stops me to progress further.
    Please, help me.

    Yes, RLP for the PCIe-6509 is different than for the PCI-6509. Looking at the hardware itself, you can see we've used different ASICs. The newer express revision has two STC3 ASICs while the previous PCI revision has two STC2 ASICs. These chips are different as you've encountered and thus their programming is also different.
    Unfortunately, we do not have any RLP information for the STC3 at this time, nor do we have projections for when it will be made available. If this is an urgent need, please contact your local sales or support engineer and we may be able to work with your further.
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Register level programming for USB 6008

    Hi all,
    I am trying to work with USB 6008 in a linux environment without using DAQmxbase drivers. Since Comedi presently doesn't support USB 6008 device, I am considering writing the driver for USB 6008 myself. Is the register level programming of USB 6008 device possible? Where can i find the related documents and examples?
    Greetings
    aneez

    Hi Aneez,
    Via the following links, you can find information about Register Level programming of our hardware. 
    http://digital.ni.com/public.nsf/allkb/1C3988D7D33B925C86256C59007FB4B4?OpenDocument#Hardware Support
    http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US
    Regards,
    Bas

  • Registered Server Program not being registered?

    Hi,
    first of all, I'm an ABAPer, not a Basis guy, so i apologize if i'm not giving all the info required to solve this issue.
    We have a program that's scheduled to run every morning at 4am. This program calls an RFC to XI and sends data to an external SQL database.
    it seems that EVERY Sunday, after full backups, the initial run of this program fails. If it fails, the job is run up to 3 more times. Almost 100% of the time, one of the successive runs works.
    And when I say a successive run works, I mean a duplicate job that's been kicked off, literally less than 1 minute later, will run fine.
    Also, the job will sporadically fail during the week on its first run, yet successive runs will work.
    it seems to me that there is a problem registering the program that my ABAP program calls.
    any ideas on what I ask my basis/XI team to check for?
    points will be awarded.
    thanks,
    rp.

    here's what we could find
    M Thu Sep  6 04:04:38 2007
    M
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Gateway on host hrxxx.valero.com / sapgw45
    M  *  ERROR       program RFC2XMBSERVICE_HR2XIP not registered    <--------  error here!
    M  *
    M  *  TIME        Thu Sep  6 04:04:38 2007
    M  *  RELEASE     700
    M  *  COMPONENT   SAP-Gateway
    M  *  VERSION     2
    M  *  RC          679
    M  *  MODULE      gwr3cpic.c
    M  *  LINE        1694
    M  *  DETAIL      TP RFC2XMBSERVICE_HR2XIP not registered
    M  *  COUNTER     239
    M  *
    M  *****************************************************************************
    M
    A  RFC 1485  CONVID 80501535
    A   * CMRC=2 DATA=0 STATUS=0 SAPRC=679 ThSAPOCMINIT
    A  RFC> ABAP Programm: ZHRO_FLEX_ONLINE (Transaction: )
    A  RFC> User: SAPHR (Client: 120)
    A  RFC> Destination: RFC2XMBSERVICE_HR2XIP (handle: 1, , )
    A  *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT'
    Transaction program not registered
    [abrfcio.c    8065]
    We don't understand why this program fails to register itself a few times per week.

  • I have registered on my PC two devices iPhone 5 and iPod Touch 4 now I am using only the iPhone 5. I have two different apple ID`s and yesterday I have FB update and from app store wanted to sign in with the ID form iPod Touch 4 how to fix it?

    I have registered on my PC two devices iPhone 5 and iPod Touch 4 now I am using only the iPhone 5. I have two different apple ID`s and yesterday I have FB update and from app store wanted to sign in with the ID form iPod Touch 4 how to fix it? I want to use my current Apple ID not the old one. Regards!

    Try this
    http://support.apple.com/kb/ht1495
    Hope it helps.

  • How can i run a windows based program on mac book pro

    Can I run a windows based program on mac book pro mountain lion 10.8.4

    You can use bootcamp to install windows natively on the hard drive.  You then choose which OS you wish to use at startup - OS X or Windows.
    You can also install Windows in a virtual machine - Parallels or VMWare Fusion - and run it simultaneously with OS X (a virtual machine is just a PC emulated in software, and you install and run windows in the emulated machine hardware).

  • I am working on a windows based program thru Chrome on my Mac. It asked me to cont/alt/delete - how do I get the Mac to respond?

    I am working on a windows based program thru chrome on my mac - how do I control/alt/delete on the mac?

    Control key - Alt (also known as the Option key) and Delete key. However remember Chrome is not an Apple product so if that doesn't work you also might want to seek help on a Google forum that supports Chrome.

Maybe you are looking for

  • Imac g5 randomly shutting down

    i recently purchased a used imac g5 from a computer store for around 500 bucks. I luv the computer, nut it began to randomly shut down in the middle of activity. I took it to the store and the technician said that everything looked fine. of course he

  • IDoc Error 51 - Make Entry in All Required Fields

    hi, I am using a scenario where an idoc is being posted into an R/3 system from a legacy application. For some reason I keep getting Idoc error 51 (Document not posted). Once I drill down further, the specific error states "Make entry in all required

  • Incorrect  status in delivery created with BAPI_OUTB_DELIVERY_SPLIT_DEC FM

    Hi, a cordial greeting. I turn on this opportunity to present a case being presented with the subsequent delivery split. Then the details: 1.-  We have a couple of deliveries (A and B) in a shipment. 2.-  To one generates a TO (A), but for the partia

  • Data interlocking in BPS

    Hi gurus, I have customised planning layouts and folders for BPS. When the client is trying to use the system, they are locking each other in folders with different layouts. How do i fix this problem. They are getting the following error message: Dat

  • BAPI to change delivery document data

    Hi, I want to update the fields lifex, empst, in delivery document using any BAPI, can any one suggest me is there any standard BAPI to update this. Kindly suggest . Regards, Venkat