E/s PCI-6509 direction bit by bit

I am writing to the low-level code to use the card PCI-6509.  I already did it for the PCIe-6509.  However, the code DDK, I downloaded doesn't seem to allow me to select the input/output direction of an individual bit... it seems to be in groups of 8 - bit only.  My understanding is that the PCI-6509 Board is supposed to allow individual control, I/O direction (as does the Commission PCIe).  Can someone help me.

Thank you.

Hi Jwstonge

Unfortunately, the 6509 PCI Variant can be configured port-to-port, not line-by-line.

Ce Ko gives a list of what devices are supported online configuration.

The PCIe-6509 is built on a different architecture than the other form factors.

Kind regards

Luke B.

Tags: NI Products

Similar Questions

  • In the resolution of the technical document ADC PCI 6221 = 16 bits at 250 kech. / s means I use all channels, then each sample channel = 15,625 kech. / S ?.

    In the resolution of the technical document ADC PCI 6221 = 16 bits at 250 kech. / s means I use all channels, then each sample channel = 15,625 kech. / S ?.

    Yes.

  • Fourth card PCIe-6509 undetected by MAE

    Summary:

    Measurement & Automation Explorer detects not only the fourth card of the NI PCIe-6509 installed in an HP Z800 workstation.

    Description of the problem:

    After the installation of three cards of the NI PCIe-6509 and startup of Windows 7 (64 bit), Measurement & Automation Explorer (MAE) shows three cards.  Device Manager (DM ' Microsoft Windows) also shows that three "acquisition devices data' labeled ' PCIe-6509".»  After the closure of the PC, installation of a fourth map and start, MAE shows another three cards with the same names of devices as before, but one of the devices now displays the serial number of the fourth card.  DM 4 now shows 'Materials of Acquisition of data' labeled ' PCIe-6509 ".»  Three devices MAE report Bus numbers corresponding to three of the DM, property values 'bus '.  These bus numbers 0 x 3, 0x1C and 0 x 60.  The fourth DM has a value of property 'Bus' of '0 x 28 '.

    To try a new hardware detection, I removed all the cards and removed the MAE devices, then reinstalled the cards one by one.  First, I installed the card that was not previously reported to the MFA.  After the installation of each of the first three cards, the MAE has reported each additional device.  During the installation of the fourth card, MAE has reported only three devices, with the third unit indicating the serial number of the card of the fourth.  This is the same behavior, such as observed at the start.

    Issues related to the:

    Why does Measurement & Automation Explorer detect all four cards at the same time?

    Is there a limitation in the driver or the MFA which translates a number of maximum card of three?

    Measurement & Automation Explorer System Information

    Operating System (OS) professional
    6.01.7600 OS version
    News of the BONE
    Processor Intel Xeon processor X 5677 3.47 GHz / Intel64 family 6 model 44 Stepping 2 / GenuineIntel / 3458 MHz
    Number of processors 4
    3.98 GB of RAM physical memory
    Drive C:\                           428 GB on 465 GB of free
                                       
    National Instruments software: Version:
                                       
    CVI Run-Time 9.1.0.428
    NOR-DAQmx Device Driver 9.2.3f1
    NOR-DAQmx ADE 9.2.3 support
    NOR-DAQmx Configuration 9.2.3 MAX
    IVI Compliance Package 4.2
    LabVIEW Run-Time 2010 10.0.0
    4.7.4f0 Measurement & Automation Explorer
    Measurement Studio Visual Studio 2005 support - see the different versions below.
    DotNET
    9.0.20.362 common
    OR PXI Platform Services 2.5.6
    Software OR-PAL 2.6.2
    LabVIEW SignalExpress 4.0
    NEITHER spy 2.7.2.49152
    System OR Configuration 1.1.3f0
    NI-VISA 5.0
    NI-VISA run-time 5.0
    LabVIEW 8.2.1 Run-Time 8.2.1
    LabVIEW Run-Time 8.5.1 8.5.1
    LabVIEW 8.6.1 Run-Time 8.6.1
    LabVIEW Run-Time 2009 SP1 9.0.1

    Vary the order of card insertion while maintaining the slot filling order (location 1-> 3-> 4-> 7).  With the insertion order of original card (serial numbers A-> B-> C-> D), MAX reported after each insertion A-> A, B-> A, B,C -> A, B,D.  By repeating the sequence with swapped third and fourth cards (A-> B-> D-> C), MAX reported after each insertion A-> A, B-> A, B,D -> A, B,C.  So I conclude that the failure is in correlation with the slot (insertion order or position) and not correlated to the card.

    Connect the hard drive power connector.  When connecting the power supply to the cards in slots 4 and 7, with the cards in slots 1 and 3, MAX always also detects the only cards in slots 1, 3 and 7.

    Remove the cards.  A configuration where MAX detects cards in slots 1, 3 and 7 and does not report the card in slot 4, I removed the map into the Groove 4.  MAX continued to three newsletters in slots 1, 3 and 7.  Then I restored the configuration of four cards, and then I removed the cards in slots 4 and 7.  MAX continued to report the three cards, and each reported card self test failed.  This is the first time that MAX has reported more devices that are currently installed in the computer.

    Remove the database from the MAX.  With the cards in slots 1, 3, 4 and 7, I followed the instructions suggested to remove the potentially corrupted Max database.  For the first start following removal of the database, MAX recognizes all four cards!  All cards self-test successfully.  Yet, when starting, MAX recognizes only the cards in slots 1, 3 and 7 and reported the device to the card in the slot 4 as missing/deleted (white icon, cannot reset or self test).  MAX continues to present the card in slot 4 as missing or deleted after the additional boots/reboots.  This behavior supports the theory that MAX is corrupt its data base.  To work around this supposed corruption, the user must delete the database before you turn off the computer and reconfigure the devices from the start of the computer - unwanted resolution.

    The use of the niche Vary.  I have the cards installed in slots 1, 3, 4 and 5 (leaving empty slot 7 instead of slot 5), removed the MAX Database and start the computer.  MAX has recognized all four cards, as expected from previous experience.  After the restart, MAX continued to report all such cards as detected.  The table below shows the failure and the working configuration, including details of the bus of each slot.  With this configuration work, our software detects and uses the four cards.

    Recognition of map 4 MAX
                          ___FAILS___ ___WORKS___ 
    Slot 1: PCIe2 x 8 (4) PCIe-6509 PCIe-6509
    Slot 2: PCIe2 x 16 (8) NVIDIA NVIDIA
    Slot 3: PCIe x 8 (4) PCIe-6509 PCIe-6509
    Slot 4: PCIe2 x 16 (8) PCIe-6509 PCIe-6509
    Slot 5: PCIe2 x 16 empty PCIe-6509
    Slot 6: other other PCI
    Accommodation for 7: empty PCIe2 x 16 (8) PCIe-6509

    Thank you, Frank, for your support and expertise.  Together, we found a working configuration for our application.

  • PCIe-6509 register level programming: cannot access the ASIC slave

    I'm running one of the RPL (boardBringUp.cpp) examples using the RTX operating system.

    The program crashes when I try to access the STC3 ASIC "slave".  When I try to read the signature ASIC slave when I try to access the OID or ports starting at port 6 which is the first port on the slave STC3.

    Any ideas on what to try?

    I just noticed that the RTX operating system layer was not modified to work with the PCIe-6509. The layer of the operating system allocates only byte 0 x 40000 for retgisters of the card. The problem is that the notebook for the STC3 slave register is 0 x 40004, the origin of the problem. You can change the osiUserCode.cpp to allocate more memory to bar0. I recommend 0 x 80000.

    Thank you

    Steven T.

  • Digital reading Pulse with PCIe 6509

    Hi all

    I'm trying to decode an infrared control using the PCIe 6509, but I've no chance that a signal from a remote control. It seems that when I use the VI of change detection, it does not generate the interrupt, but it cannot produce enough it fast to create a template to use with the reading VI Daqmx. Does anyone know if something like this is possible? The idea is to make the PCIe 6509 generate a digital output signal for each key different on the controller.

    Thank you!

    Kenny

    Arduinos are often used.  There are a few boxes to software tools out there like LIFA and Lynx.  Then you just need a serial port to communicate.

  • PCI-6509 in DAQmx configuration

    Hello

    We plan to use a PCI-6509 for state change detection. Our system will receive a signal on a line from a source and then relay to another system. We intend to do in Linux using the ANSI C DAQmx drivers.

    The manual indicates that the card is configurable by software. I have looked at the DAQmx and think I understood the concepts of tasks, lines, channels, ports.  I can put the contours of state change detection, by following the examples provided.

    Please make sure that the two things are happening on our outing.

    (1) the default state of the line is high (so applogies didn't quiet terminology right), 5V. When send us output to the bottom line, we need the signal drops to 0V (or like).

    (2) the signal pulse width output should be at least, but ideally, 500ns.

    Is it possible to configure the card for that?

    If it is could someone provide some clues on where to look in the DAQmx drivers / a link to an example appropriate, it would be a great help.

    (Don't mind working stuff myself, but there is a lot to go and it is difficult to know where to start)

    Thank you

    Hi, thanks for the response.

    No I was not linking to change the power of the State. I think the property to reverse lines will do what I want in terms of getting the signal in the right way round.

    > The best time you can expect will be approximately 1ms.

    OK, useful info. Thank you. It's what we need at this speed.

  • Computer does not start when PCI-6509 is installed.

    We have a "shoe box" Advantech (System specs are listed below) and try to install a digital I/o card of National Instruments PCI-6509. Once we install the digital IO card, the computer will not start. The computer does not even a MESSAGE. We know that the digital I/o card is functional because we ran the same card on several different machines. We also tried the card on other Advantech computers with the same brand and model without success. What should we do to get the card working on Advantech computer?

    Advantech computer scpecifitaions:
    Pentium 4 with backplane passive 256 MB DDR memory, Windows 2000,.

    Thank you for your help,
    Tim Elsenbroich
    Software engineer
    Wisconsin electronic systems, Inc.
    Phone: 262-554-1211
    FAX: 262-554-1797
    E-mail: [email protected]

    We hung a spare ATX power supply to backplane of the computer, the computer booted right up and the PCI-6509 worked perfectly. I contacted the manufacturer of the computer and am waiting for prices on ATX supplies getting in our computers instead of the TA.

    Thank you for all your help.

  • Detection of changes in PCI-6509 missing first data entry

    Hello

    I have two 6509 cards in separate computers, connected to each other. I use six lines, with one channel for each line, to send signals between the two boxes.

    I used the driver NOR-DAQmx 8.0.2 on SUSE Linux, coded in C.

    Starting by examples of digital I/o that I did a card pass in four lines and the other card received the signal, using the detection of change on the falling edge only, with the lines reversed.

    To send a signal it took the value 1 on this line, using digital lines of writing and then set it to 0 using the same function.

    If I send 4 signals, apartment of 100 ms, 1 on each line. The recipient will detect all four edges of falls, but the function of reading digital lines (in the recall of events highlights registed) returns zero for the first detection. I read only one sample of each line. Once that happens all seems fine.

    I read that more than a sample for the first digital reading for function call?

    What I have to do my signal longer, for the moment it comes to 150us? I can do this with an expectation in the code. I can afford it to streatch for about 1 ms, but it's always with this kind of treatment.

    Is there some call the initialization to get the driver to initialize the internal memory or something? (Maybe it's my wrt slow code, but I don't see how, there is almost nothing.)

    Thank you

    I think we arrived at the conclusion that this card cannot detect as close as 450ns interruptions. The API does not quickly that detect enough them between the interruption and the call to read data lines.

    It seems that we should have brought a card counting rather than a map of interruption.

  • How can I uninstall bit torrent, it won't let me

    How can I get rid of the torrent direct bit that he wont let me not uninstal it

    Download a FREE program called Revo Uninstaller

    http://www.revouninstaller.com/revo_uninstaller_free_download.html>. It allows to uninstall any program completely, including the files of monitoring programs. works very well, that you should have no problem more reinstall after uninstall this program.

    Just don't allow the computer to restart if the part of Revo Uninstaller asks you if you want to restart now or later. Select afterwards and let Revo finish an orphan looking for registry entries. Reboot after Revo ends.

    OR

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall >

    UTC/GMT is 23:50 on Friday, February 24, 2012

  • OR PCIe-7851R compatibility?

    Hello

    I'm going to get a PC the appropriate for the Board of the NI PCIe-7851R. But I do not know what bus card PCIe use this forum, x 1, or x 4 or x 16? I'm sure it can work with x 16 'remote connection', but what about x 1?

    In addition, another thing is the memory required for the FPGA PC target. On the site it is said

    Resource memory requirements vary according to the target FPGA; While 2 GB of memory is sufficient for typical screw FPGAS, the unique characteristics of each FPGA design can affect the amount of memory required:

    • FPGA Virtex-5 and earlier versions
        • Recommended: 3 to 4 GB of memory (32-bit OS)

    This mean for the FPGA target computer, we need to better use at least 3 GB of RAM? What is the minimum requirement for this?

    Also, if my main computer is 64-bit system, it will be compatatible with target FPGA 32-bit PC?

    Thank you

    Jean-François

    Hello wjchen,

    It uses the chassis 1 x.

    System memory requirements depend on what your program does overall, what operating system you use, and what other programs you run in the background. 3GB tends to be limited to any Windows 7 machine, but it should work fine if you're just under LabVIEW and you do not need to store a large amount of information in RAM. I would recommend even when at least 4 GB of RAM, especially considering how cheap it is.

    How your 64-bit machine communicates with the 32-bit computer that is hosting the target FPGA? You can communicate between two computers via TCP/IP, network-has published the shared variables and other methods. This communication is independent of the operating system.

    You can also use the PCIe-7851R directly on a 64-bit system - just be sure to install 32-bit LabVIEW.

    Note that the 7851R does not include a processor or a real time operating system - it is an FPGA with DIO and AIO that communication with your computer.

  • VMware workstation - PCI switch to OS to solve the lack of host riders invited

    Hi all

    I'm quite new to VMware applications.

    To implement PCI passthrough / directly access hardware PCI by the host OS

    is it possible to just use VMware Workstation? or VMware ESXi OS is necessary?

    In this case:

    -The machine physics processor and card motherboard BIOS supports virtualization.

    -The host OS is Windows 7 64 bit.

    -A PCI card is interrupted and got only Windows XP / Vista drivers (the two 32-bit).

    -VMware Worstation 8.0 running in the host operating system.

    -VM guest OS is Windows XP (32 bit).

    Can I somehow configure direct access to the virtual machine PCI card / guest OS?

    I think that would solve a lot of pilot uncompatibility between 32/64 bit OS versions;

    It would be useful to have work directly in the VMware workstation.

    Or is it now possible only with OS ESXi and is rather simple to use here?

    Thank you very much for the support.

    LD

    VMware Workstation isn't compatible PCI Passthrough, you must run ESX or another product to make it work.

    Linjo

  • 6509 API

    Hello

    I used the DAQ of NI 6509 PCI card in my Dell Power Edge 860 server for years, but with a PCI - X riser installed.

    Works very well.

    I need to update my servers.

    Maybe for the new Dell Power Edge R230 which has only a riser with PCIe slots.

    Therefore, I have to replace my capture card data PCI-6509 in the latest PCIe-6509.

    I'll be able to use the same API calls in my code detects signals with the new PCI-6509e ths card?

    API calls such as:

    DAQmxCreateTask()

    DAQmxCreateDIChan()

    DAQmxStartTask()

    DAQmxReadDigitalLines()

    DAQmxStoptask

    Find the documentation that I needed @ http://www.ni.com/example/6999/en/

    Who told you DOT NET examples.

    Who reported me ProgramFiles (X 86)------NationalInstruments------MeasurementStudioVS2010------DOTNet-assemblies-Curent-NationalInstruments.DAQmx.dll

    I added this dll as a reference in my VS2010 project

    Then I had to put my framework target of VS2010 4.0 which was reqiured by the new dll.

    Now I have access to free calls from .NET to accomplish what I was doing in ha6/VB6

  • Checking if NEITHER-6509 works on my RHEL WS 4.6

    I installed NIDAQmx 8.0 on my Red Hat Enterprise WS 4.6 machine.  Installing the driver seemed successful.

    Using the nilsdev command, the following text is displayed:

    OR PCI-6509: "Dev1".
    Serial number: 0x13E94F3
    Bus type: PCI
    PCI bus: 0 x 4
    PCI device: 0x2
    IRQ level: 0xC9
    The memory range: 0xDFAFD000-0xDFAFDFFF
    The memory range: 0xDFAFE000-0xDFAFFFFF

    How can I make sure that the PCI-6509 Board work properly with my RHEL WS 4.6?

    Thank you

    Wayne

    Hi Wayne,

    Welcome to the forums EITHER!  The best way to check that your device is working properly is to use a Test Panel.  Following knowledge base has received instructions to know how to open a Test Linux Panel: panels of Test for DAQmx in Linux

    Since the test Panel, you will be able to read / write the 6509 digital lines to make sure that the device is functioning properly.  Thanks for posting and have a great day!

    -John

  • How can I set up a digital input task to read continuous samples?

    I am trying to create an exclusively digital task that will make digital readings at a rate timed by the material using a PCIe-6509. However, when I try to put the task timing as follows (which works on a PCIe-6509), I get the following error:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: NationalInstruments.DAQmx.Timing.SampleTimingType

    Required value: NationalInstruments.DAQmx.SampleTimingType.SampleClock

    Possible values: NationalInstruments.DAQmx.SampleTimingType.OnDemand, NationalInstruments.DAQmx.SampleTimingType.ChangeDetection

    Task name: DigitalInputTask

    State code:-200077

    The relevant parts of my code are:

        public class DigitalInputReader: IDisposable
    {
    public DigitalInputReader()
    {
    dataReadyHandler = new System.AsyncCallback (DataReadyEventHandler);

    daqmxTask = new DigitalInputTask();
    daqmxTask.Configure (Globals.NI);

    daqmxTask.Control (TaskAction.Verify);
    daqmxTask.Control (TaskAction.Commit);

    daqmxReader = new DigitalMultiChannelReader (daqmxTask.Stream);
    }

    public class DigitalInputTask: task
    {

    public DigitalInputTask(): {base ("DigitalInputTask")}

    public virtual void Configure (NiConfiguration niConfig)
    {
    <= niconfig.digitalinputs.count="" -="" 1;="">
    {
    String physicalChannelName = niConfig.Device + "/ port" + niConfig.DigitalInputs [i]. Port.ToString () + "/ line" + niConfig.DigitalInputs [i]. Channel.ToString ();
    String nameToAssignToChannel = niConfig.DigitalInputs [i]. Name;

    DIChannel ch is this. DIChannels.CreateChannel (physicalChannelName, nameToAssignToChannel, ChannelLineGrouping.OneChannelForEachLine);
    c. InvertLines = niConfig.DigitalInputs [i]. InvertLines;
    }
    var signalSource = "";
    This. Timing.ConfigureSampleClock (signalSource, Globals.MachineSettings.SampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples);// Globals.MachineSettings.SamplesPerChannel);
    }
    }

    The last call to Task.Timing.ConfigureSampleClock, it's which throw errors.

    Of the options available, or SampleTimingType.OnDemand or NationalInstruments.DAQmx.SampleTimingType.ChangeDetection provide the same precisely timed calls that I am familiar with the analog input interruptions.

    How is it possible in a digital task?  I mean, it seems that I could set up another task to do call by material for the production of a clock signal and use the ChangeDetection synchronization mode, but this seems a bit complicated for what should be easy to do.  What Miss me?

    Update: I thought about it.  You cannot call ConfigureSampleClock when the digital input card is a device of 650 x, because these devices have any automated examples of clock.  They are configured to run in mode default finite samples.  You must make all sample synchronizing with these devices in the software.

    Be cautious, however, because the .NET timers ensure they put any faster than their scheduled interval.  In practice, they are usually 5 to 10 ms slow by tick.  This means that if you want to read samples every 100 ms by sample clock, you'd end up reading all 108 ms samples.  All counters based on the elapsed time and number of samples would be away after a few seconds of it.

    Instead, you must do one of four things: write a doggone driver that runs in ring 0 and interfaces with the PCIe card in the required interval (i.e. on NC, not you, in practice), tolerate the inclination of the clock, use a multimedia timer as an interruption audio or video that is more likely to respond to the correct interval, or , my solution, an accurate clock allows you to set the interval of the timer.  I wrote the following code to the timer:

    var CorrectiveStopwatch = new System.Diagnostics.Stopwatch();
    var CorrectedTimer = new System.Timers.Timer()
    {

    Interval = targetInterval,
    AutoReset = true,
    };
    CorrectedTimer.Elapsed += (o, e) =>
    {
    var actualMilliseconds =;

    Adjust the next tick so that it's accurate
    EG: Stopwatch says we're at 2015 ms, we should be at 2000 ms
    2000 + 100 - 2015 = 85 and should trigger at the right time
    var StopwatchCorrectedElapsedMilliseconds = newInterval +.
    targetInterval-
    CorrectiveStopwatch.ElapsedMilliseconds;

    If we're over 1 target interval too slow, trigger ASAP!
    <=>
    {
    NvelIntervalle = 1;
    }

    CorrectedTimer.Interval = NvelIntervalle;

    StopwatchCorrectedElapsedMilliseconds += targetInterval;
    };

    I hope this helps someone.

  • nilsdev - nimdbgk Module not found

    Hello

    I just installed a PCI-6509 and NOR-DAQmx 8.0.2 on SUSE Linux. I intend to use the ANSI-C drivers in a C++ application. I have not installed LabVIEW.

    I started working my way the Configuration Guide, mainly to check that I had installed everything correctly and have reached the point where nilsdev is executed. On the surface, everything seems to install OK.

    When I run nilsdev I get the following error:

    FATAL: Module not found nimdbgk.

    Is how important it?

    Of course, it does not nimdbgk, but it doesn't look like it has been installed.

    In usr lsmod | grep or returns

    nipalk

    Nation

    lspci is the map of NOR (but he seems to have the wrong number on, not sure if it is a problem)

    05:01.0 class ff00: National Instruments devices 7085.

    Part of LabView nimdbgk is why I don't have it?

    All you have ideas?

    Thank you.

    Hello

    I am not that kind of information officially, but I would speculate that it would be in version 8.9.

    «NOR-DAQmx added support for 64-bit user mode in NOR-DAQmx 8.9 (ANSI C) and NOR-DAQmx 8.9.5 (ANSI C, LabVIEW 2009 and .NET Framework 3.5).» This now allows the development of 64-bit application on 64-bit operating systems during development for a 64 bit (ADE) Application development environment. »

    The outputs by the trend that has occurred with Windows basic drivers, what would be my best guess.

    There are a few forum posts that indicate that people have had DAQmx working on x 64 systems, but with the extension of the - m32 for compilations, this isn't really 64 bit.  Unfortunately, the positions are open and do not contain really any resolution as such.

    For example this or that.  I just searched "DAQmx Linux 64-bit".

    I hope it helps a bit.  I'm sorry that I don't have a definitive answer.

    Kind regards

Maybe you are looking for