Writing to multiple DIO ports at once 6503

I have a PCI6503, a card with 24 DIO lines split between 3 ports, ports A, B and C.
I want to use the PortWrite.vi to write 12 bits at once: all 8 lines of port B, and 4 (lines 0-3) of port C. All 24 lines were configured for output using a single instance of PortConfig.vi (setting port =0, and port width = 24). Can I just send a line map to PortWrite.vi with 24 bits, indicating which lines I want written, ie:
[00000000][11111111][11110000]? I added brackets to emphasize the three different ports.
Of course I could just first configure each port, 1 at a time, then write the 8 bits of port B, and 4 bits of port C. That would be the "simple" solution, but I want the clean solution.
It would be really great if NI would act
ually document these sorts of things, so I don't have to ask them in a forum...
cheers all.

You should be able to configure the three ports in Traditional Nidaq or Nidaq6.9.3/earlier as one port, width 24, and then write a 24-bit word to the whole port using the port write function
In Nidaq Mx, you can use the syntax Dev0/Port0:2 assuming the device is Dev 0, when writing to the port

Similar Messages

  • Writing to multiple tags with the same name

    Hi,
    I am writing to multiple tags with the same name but in different groups. I have noticed only the tag from the first group gets updated. How can I write to a tag in a specific group in this scenario?
    Regards,
    Chanti.

    Heres what I found.
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<Group>.<TagName>", the outcome was "Message
    Could not add "<Group>.<TagName>" to the response list.
    Message
    No tags selected."
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<TagName>", it seemed like it worked fine.
    Any thoughts?

  • Accessing the 3 extra DIO ports of a PCI 6025

    How do I access the 3 extra DIO ports of my PCI 6025E ?
    I understand that it is not supported -yet- by DAQmx base.
    From the writeDigPort.c example it looks like it is possible using
    DAQmxBaseCreateDOChan(...,"Dev1/port0:2",...) but it returns a -1 error.
    I had a look a the MHDDK ( tSTC and tESeries files) and it looks like the
    extra DIO ports of the 6025 are not accessible/exported. If I want to access
    the extra 6025 ports via the 8255 I need to write my own much like the
    DIO96's t8255 files ? I would prefer to avoid such a writing....
    Thanks
    Chris

    I haven't actually test this but ...
    You should be able to use the existing 8255 Chip object and examples from the DIO-96 and just change the offsets within t8255.h.  The offset for the 8255 registers on the 6025E are as follows:
    portARegisterOffset =   0x19;
    portBRegisterOffset =   0x1B;
    portCRegisterOffset =   0x1D;
    controlRegisterOffset = 0x1F;

  • DIO ports used by SCXI 1530 Channels.

    Hi
    I m using SCXI 1530 module and want to know exactly which DIO ports are being engaged by the channels of this module and which ports are left for user access.
    On writing ports 5 and 6 I see following error :
    The specified resource is owned by the driver
    and can't be accessed or modified by the user.
    plz suggest some solution.
    Regards
    GNS

    The SCXI chassis uses dio lines 0,1,2, and 4. Refer to this KB on more information on how to write to the other lines.
    http://digital.ni.com/public.nsf/websearch/5979CA0B55AEB7E78625656800599623?OpenDocument
    I hope this helps solve the problem.
    Joshua

  • How can I print multiple PDF files at once using Windows 7?

    How can I print multiple PDF files at once, on an HP LJ Pro 400 xcolocr printer without opening each
    one separately using Windows 7?

    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • Open Multiple JPEG's at Once in Raw Editor

    Hello Everyone:  Can one open multiple JPEG's at once in the Editior?  When I select File>Open As>Raw Option (I think that is what it says) to open JPEG's or TIFF's in the Raw Editor I can only select one photo at a time.  If I tried to open a group of Raw pictures then would all open into the Raw Editor withough may having to do anything else. Thank  Robert.      

    Hi Robert
    It’s only possible to edit one jpeg at a time in PSE. You need Lightroom.

  • Multiple Input ports - Single Form

    Hi,
    I have a RFC which has multiple input ports. How do i use a single form to provide data to all the input ports.
    Regards
    Bharathwaj

    Hi,
    you can create the single form direct, if you pull a line out of the RFC, then the form must be created with the fields. If not, then you have to create it manually and map the fields with the input port.
    Best Regards,
    Marcel

  • DIO Port Config & DIO Port Write Block Diagram Errors (Call Library Function Node:libra​ry not found or failed to load)

    Hi Guys, need help on this.
    I have this LabVIEW program that used to work on the old computer.
    The old computer crashes most of the time, so I upgraded the computer
    and used its Hard Drive as slave to the new computer.
    I have no idea where are its installers since the guy that made the program 
    is not in my department anymore.
    I downloaded all the drivers needed from NI: NIDAQ9.0, NIVISA,NI488.2, 
    and drivers of some instruments needed in the setup. I'm using LabVIEW8.2.
    Everything's fine until I open the LabVIEW program for our testing.
    Here goes the error:
       DIO Port Config
       DIO Port Write
    Block Diagram Errors
       Call Library Function Node: library not found or failed to load
    Attachments:
    ErrorList.JPG ‏200 KB

    Honestly, I'm a newbie on Labview. I just want this old program to run on the new computer.
    The guys that installed the drivers on the old computer are no longer here in my department.
    And I have no idea where the drivers are. So I just downloaded the drivers needed for my hardware and instruments.
    Here's my hardware: (cards: PCI-DIO-96, PCI-GPIB), (instruments: SCB100,E4407B, HP83623, HP3458, HP8657)
    OS: Windows XP Pro
    By the way, I have unzipped the TraditionalDAQ drivers. First I tried the 7.4.1, but installation error appeared.
    I thought maybe the installer is corrupted, so I downloaded the 7.4.4 and unzipped it.
    But, still same installation error appears. I don't understand, both TraditionalDAQ drivers have same installation error.
    Now I have tried the DAQmx8.7.2 driver, bu still the DIO Port Config and DIO Port Write have errors.

  • I want to know HOW to CLOSE Multiple Open Apps at ONCE. I keep mistakenly opening lots of things at one time.

    I want to know HOW to CLOSE Multiple Open Apps at ONCE. If I have many apps going at one time and want to stop fast, surely there is a way to hit like(alt-F4 in Windows) and BAM! They all go down. I need a feature like that...

    Alt+F4 in Windows only closes the active program.
    Command+Q does the same thing for Mac. Just keep hitting that key combo untill all are closed.

  • Multiple midi ports....When will this happen?!

    So frustrating that there is still no multiple midi ports yet. I've been a long time user and am considering switching to Cubase because of this as I can not use Logic with VE Pro the way it is intended to be used. Will this ever be an option? Kind of defeats the whole purpose of VE Pro to have to open up multiple instances in Logic.

    I agree. Logic Physical Input supports Multiple Ports however the Sequencer does not. The Logic Sequencer is limited to record up to 16 MIDI Channels coming from Any Port. The alternative is to direct cable the Physical Input Ports to Channel Splitters in the Environment and wire them to different Channel Strips. In this scenario you can wire up to say 256 Instruments cabled from different Physical MIDI Ports. If you want to Mixdown the incoming MIDI Ports you have to bounce in real time.
    www.audiogrocery.com
    Author of:
    Logic X Toolkit PRO - Articulation Maps and more...NEW; Logic Snapshot Console - mixer snapshots; ORPHEUS - Bulgarian Vox Trilogy; Vox De Bulgaria - s.a.g.e vocal pack for Stylus RMX etc.

  • Need a sample cme with multiple fxo ports, hunt fashion

    hi,
    anyone kind enough to provide a sample working configuration of multiple fxo ports (each being a pstn line) and I assuming the telco is doing hunting...
    so let's say 4 lines, if line 1 is busy the call is sent by the telco on line 2 and so on...
    incoming and outgoing.
    thank you very much!!                  
    I did google it and can't find anything with multiple fxo ports.

    trunk group 1
    max-calls voice 4 (or however many POTS lines you want to use)
    hunt-scheme round-robin (or whatever method you like)
    voice-port 0/0/0
    trunk-group 1
    connection plar opx XXXX (extension)
    caller-id enable
    voice-port 0/0/1
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/2
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    voice-port 0/0/3
    trunk-group 1
    connection plar opx XXXX
    caller-id enable
    dial-peer voice 1 pots ( I like creating this for troubleshooting, by default cisco router accept incoming calls)
    trunkgroup 1
    incoming called-number .
    direct-inward-dial
    dial-peer voice 2 pots
    trunkgroup 1
    destination-pattern 8[2-9]......           (8 for an outside line or 9 or nothing, then adjust your forward-digits to match)
    forward-digits 7
    dial-peer voice 3 pots
    trunkgroup 1
    destination-pattern 81[2-9]..[2-9]......
    forward-digits 11
    dial-peer voice 4 pots
    trunkgroup 1
    destination-pattern 8911
    forward-digits 3
    dial-peer voice 5 pots
    trunkgroup 1
    destination-pattern 911
    forward-digits 3

  • Aggregating multiple fiber ports on MDS directors

    Hi All,
    Going forward our new servers will have the capability of aggregating multiple fiber ports into fewer connections on the SAN switch. I am told that there is a particular setting that needs to be enable on the switch for this functionality to work, kindly let me know more details on this?
    What we intend is to reduce the port usage on Cisco MDS9509 like in map in many hba's to few physical ports instead of one to one?
    regards,
    Samir

    Switch-Server port channeling feature was added in MDS NX-OS 4.1(3). Make sure your MDS at least runs that release.
    http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/pc.html#wp1291942
    http://www.cisco.com/en/US/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/pc.html#wp1209658
    Regards,
    Roman

  • Why do I get "Error -10008 occurred at DIO Port Write"

    This happens every time that I open my application. I run it and I immediately get this error. I press continue three times, and then it runs perfect, and it runs perfect every subsequential time that I run it. I only have this problem the first time that I run the application, directly after I open Labview. How can I fix this?
    I do not even have any DIO port writes, I have several dio line writes, but no port writes.

    Hello:
    It looks like this error is "The Group is Invalid" error. The DIO Port Write is inside of the Write to Digital Line.vi that I am guessing you are using. Please open LabVIEW and try running the shipping example called "Write 1 pt to Dig Line (E).vi" and see if you get the same error or not. If not, then it is something in your code. Take a look at the example's code and start debugging that way. If you are not using LabVIEW, then follow the same procedure - find an example and see if it works and then work backwords...
    Good Luck!
    Sincerely,
    Brooks B
    Applications Engineer

  • L'erreur -10001 s'est produite à DIO Port Config

    Bonjour,
    Lorsque je lance mon programme j'obtiens le message suivant:
    "L'erreur -10001 s'est produite à DIO Port Config"
    Que cela signifie?
    Merci
    Bravi.

    Pardon je me suis trompé de lien Voici la bonne adresse
    http://digital.ni.com/public.nsf/websearch/0E0D3D7​C4AA8903886256B29000C9D5A?OpenDocument
    Encore désolé

Maybe you are looking for