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

Similar Messages

  • Problems configurin​g a port in niPXI-6509 card as input port using static DIO Register Level Programmer maual

    Hello ,
                 I am using a ni PXI-6509 card for my application. Since I have to compile my application in Interval Zero RTX, I am using the static DIO Register level programming using VISA. I have successfully configured the card to do output on  port0. But when I attempt to comfigure another port1(not the same as output) I can successflly configure it. But when I send 5V through the corresponding pins I donot get a value 1 in the Data register for that channel.
    the following i did to configure as Input...
    1) IO Select register set to 0 (for input as the manual suggests)
    2) read from IO data register.
    Do I need to do anything special to configure as input port.
    please suggest...
    Thanks
    Kuchi

    Hi Sathish,
    Given how much blatant, undisclosed, and unrepentant
    cross-posting [1] [2] [3] [4] [5] you've done to ask this question, I
    gave you the benefit of the doubt that you were new to the NI forums
    and didn't understand the etiquette of this community. However, looking
    at your profile, you've been around just over 8 years! How can you be
    so selfishly impolite?
    To your credit, you at least searched the forums to find (somewhat) relevant to which topics to reply, but as you said you 'tried the entire NI Site', I'm surprised that you missed the DDK home page [6] that has a link to the M Series register map.
    [1] Re: m series register programming in straight C
    http://forums.ni.com/ni/board/message?board.id=90&​message.id=1644#M1644
    [2] Re: Problems configuring a port in niPXI-6509 card as input port using static DIO Register Level Programmer maual
    http://forums.ni.com/ni/board/message?board.id=90&​message.id=1645#M1645
    [3] Re: Problem with writing to registers
    http://forums.ni.com/ni/board/message?board.id=90&​message.id=1646#M1646
    [4] Re: Is there a Register Level Programming manual for NI 625x PXI
    http://forums.ni.com/ni/board/message?board.id=270​&message.id=7661#M7661
    [5] Re: Where Can I find information about register level programming the PXI 6259?
    http://forums.ni.com/ni/board/message?board.id=250​&message.id=53551#M53551
    [6] Register Level Programming for OEM Customers
    http://digital.ni.com/express.nsf/bycode/exyv4w?op​endocument
    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)

  • Remap PCI 6509 below 1 MB (Register Level)

    Hi All,
    my name is Wolfgang and I ask fo your help with Regiser Level Programming of the PCI 6509
    I refer to this manual:
    DAQ
    Static DIO Register-Level Programmer Manual
    for NI 6509, 651x, 6520, 6521, and 6528 Devices
    found here:  ftp://ftp.ni.com/support/manuals/371580a.pdf
    Accoding to chapter 3 I want to remap the device below 1 MB to 0xD0000 (PCI MITE adress) and 0xD1000 (device adress)
    I do the following steps according to page 3-3:
    1.) "CWrite(0x10,0x000D0000)"
    I do this by BIOS Int 1A and it works, I can read it back.
    2.) "Write(0xD0340,0x0000AEAE)"
    This also works, I can read the values back with the DOS-Tool "debug":
    0xD0340 is 0xAE
    0xD0341 is 0xAE
    0xD0342 is 0
    3.) "CWrite(0x14,0x000D1000)"
    I also do this by BIOS Int 1A and it works, I can read it back.
    4.) "Write(0xD00C0,0x000D1080)"
    This step seems to be the problem:  After this, the device should be seen at 0xD1000, but it is not there, the space is empty.
    When I read the value back I get:
    0xD00C0 is 0x80
    0xD00C2 is 0x00 instead of the writen value 0x0D
    0xD00C3 is 0x00
    What is my mistake?
    Thank's for all help.
    0xD00C1 is 0x10
    0xD0343 is 0

    Sorry, the text seems to be mixed up then sending.
    Let me post this part again:
    I do the following steps according to page 3-3:
    1.) "CWrite(0x10,0x000D0000)"
    I do this by BIOS Int 1A and it works, I can read it back.
    2.) "Write(0xD0340,0x0000AEAE)"
    This also works, I can read the values back with the DOS-Tool "debug":
    0xD0340 is 0xAE
    0xD0341 is 0xAE
    0xD0342 is 0
    0xD0343 is 0
    3.) "CWrite(0x14,0x000D1000)"
    I also do this by BIOS Int 1A and it works, I can read it back.
    4.) "Write(0xD00C0,0x000D1080)"
    This step seems to be the problem:  After this, the device should be seen at 0xD1000, but it is not there, the space is empty.
    When I read the value back I get:
    0xD00C0 is 0x80
    0xD00C1 is 0x10
    0xD00C2 is 0x00 instead of the writen value 0x0D
    0xD00C3 is 0x00

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • How can I protect my MacBookPro from static electricity in my house?

    How can I protect my MacBookPro from static electricity in my house?

    I would not worry about that.
    I woud sorry more about power surges (not a grave risk unless your power in your house is twitchy) and water/soda on the keyboard or dropping.

  • How can I communicate between two simulated software

    Hallo,
    I have confusion regarding this topic "How can I communicate between two simulated software".
    1: PC with CAN simulation
    2:  PC with AFDX Simulation
    Now i have to communicated these two pc with each other.
    How can i communicated? which module from ni is best for it.
    thanks in advance
    BR

    I recommend looking at the Simple Messaging Reference Library that NI has released.  Use the TCP/IP version of it.
    FYI, TCP/IP is a communication protocol that is used to communicate between two computers.  It is what the internet uses.  So you just need a network switch or router between your computers and you can talk to each other with their IP address.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How can form communicate through RS232 (serial) link?

    How can form communicate through RS232 (serial) link?
    What I have to use/install/setup/copy?
    Thanks

    You can also create a dll library and use the procedures in this library with the Forms ORA_FFI package. See the Forms online help.

  • My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    Each device only syncs waht you select.
    Select only what you want for each phone.

  • How can I export songs from my iTunes to a mail program or laptop?

    How can I export songs from my iTunes to a mail program/computer? The songs in question are originals composed by my boyfriend in Garage Band. We have full rights to them, but they import into iTunes like all the other artists songs. His hard drive crashed and I have the only copies. I have no access to my iMac for 2 months while we tour our show and we need them on the tour. We are in dire straights if we can not access these songs and the iPad will not hook up to our equipment. Plus we need to add a track to a promotional video. So how can we access our own music?
    Thanks.

    If they are in the iPad's Music app then the only way to get them out of it is by connecting the iPad to a computer. As they aren't iTunes purchases you won't be able to copy them back to a computer's iTunes via File > Devices > Transfer Purchases, instead you will need a third-party program on the computer to copy them off - there are some listed half-way down this page which should work: https://discussions.apple.com/docs/DOC-3991

  • How can we put the report which is generated by the program into spool??

    How can we put the report which is generated by the program into spool??
    I had generated a file in Unix which had the report but now the requirement has changed.
    Regards,
    Shashank.

    Hi Shashank,
    If the program is executed in the background and it has the write statement then the spool will automatically generated.
    Reward points if useful.
    Regards,
    Atish

  • How can i get a print of all my registered apple products?

    How can I get a list of all my registered Apple products so I can print and keep on hand?

    http://support.apple.com/kb/HT2526 - If you registered a device you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    My Support Profile - https://supportprofile.apple.com/MySupportProfile.do

  • HT201653 We are a retail shop which has a copy of AppleCare Protection plan. The box is not sealed. How can I tell if the product has been registered or not.

    We are a retail shop which has a copy of AppleCare Protection plan. The box is not sealed. How can I tell if the product has been registered or not.

    Since the only thing needed in that box is the small piece of paper with the (very long) registration code on it (usually found inside the booklet), see if that is actually there and, if it is, call Apple at 800-275-2273 and ask to be transferred to the Applecare department. Here is the link to the Applecare plan - just in case you may need it, see the fax numbers listed under para. 9 (Cancellation).
    http://www.apple.com/legal/sales-support/applecare/appmacnaen.html

  • How can I set the number of test sockets in my program?

    How can I set the number of test sockets in my program? I use LabWindows/CVI  6 and TestStand version 2.0.
    And I use BatchModel for the parallel UUT running. I didn't found program way to set the number of test socket. I think I should have it. In TestStand I can change the number of test sockets through menu Configure -> Model Options -> number of test sockets (I mean I do it by manual mode).
    Thank's a lot.
    Maria

    One way you can set the number of Test Sockets for your sequence is by overiding the ModelOptions Callback used by your sequence. Select All Sequences from the View drop-down then right click, select Sequence File Callbacks, select the ModelOptions callback and then click on Add. You can then select the Edit button to Edit the ModelOptions for your sequence. You can set other ModelOptions as required also.
    RG

  • My contacts and whats app messages are shown on my sister's iphone! How can I secure my iphone and have a high level of security and privacy! Her Contacts are shown in my iphone as well!!

    I have and iphone 6 with iOS 8.1. My contacts and whats app messages are shown on my sister's iphone! She have iPhone 6 and and iOS as well. How can I secure my iphone and have a high level of security and privacy! Her Contacts are shown in my iphone as well! Setting in mac and iphone are a bit presice and sensitive. Is there any way to solve my issue and increase the safety, security and privacy in my iPhone and its data?

    Your problem is that she used your icloud ID to connect to icloud and thus had all your data synced to her device.  Contacts are not saved in a backup to icloud, since they are stored independently in the Contacts section of icloud.  If someone deletes them, they are gone.  If you had them on the PC would they be available in some backup you frequently make of the PC?

  • How can we distinguish b/c general purpose and top level containers?

    how can we distinguish b/c general purpose and top level containers?plzzz help me out

    May be this will help u out
    http://www.ictp.trieste.it/~manuals/programming/Java/tutorial/uiswing/components/components_pics.html

Maybe you are looking for