Digital waveforms of SPI with PXI-6552

I am trying to follow the following tutorial about the PXI-6552 module:

This is the example that I am referring:

You can also use the data Active event to control the relative delay between the response data and the side assets of the sample clock. For example, you can export the active data on PFI 1 event and send it to the PFI 2, which can be configured as the source of Start command acquisition, as shown in Figure 8. You can export the generation of sample DDC CLK clock out and adjust the STROBE acquisition sample clock.

Figure 9 shows a LabVIEW program that configures and outwardly carries the data Active event and the sample clock. The functions marked with an arrow carried out additional system requirements.


Hello MrHappyAsthma,

I'm looking at your code, and I see that you have two sessions of acquisition while the example has an acquisition and sessions of a generation. This could be the reason for the error.

The digital data control are done right click on the front panel, then go on modern > I/O > digital data.

I hope this helps.

Tags: NI Software

Similar Questions

  • Generate a digital waveform like memory on PXI cards


    I'm looking for a way to send a large digital waveforms using a PXI digital signal generator. I saw DIO HS cards, but their memory is smaller than the files that I want to transfer. My understanding is that the PXI backplane bandwidth 132 MB/s. So, I shouldn't be able to stream a digital signal from the memory of the card that is slower than the CPU? For example, 50 Mbits / second (equivalent to only 6.25 MB/s)? However, I think I understand after reading their textbooks is that you cannot continuously transmitting a large waveform of the processor memory file, you must transfer the file to the memory of Council first and then transfer that out.

    Does anyone know if there is a way to have a flow of digital signal generation card an arbitrarily large directly from memory to the processor of digital signals? Or, what is the fastest card of pxi digital signal generation that does not require the storage of Council first files?

    Thank you


    Hello Isaac,.

    Take a look at the following area developer.

    NOR-HSDIO Stream from disk (generation) using Win32 file IO

    Note that you will not be able to take full advantage of the maximum rate of update HSDIO devices, because the data must be transferred in a bus.  Some other considerations are the width of the data as well as the HSDIO device you select, which may depend on other requirements not related to the size of file or waveform (for example the standard voltage or whether you need hardware compare).  For more information, take a look at the developer following items area.

    Data streaming of Architectures in the PXI systems
    The use of National Instruments Logic Analyzer and generator of test patterns Solution

    Advanced features of e/s high-speed digital devices White Paper Series

  • Reference library of digital waveforms of SPI for LV 7.1


    I'm using LabVIEW 7.1. I want to implement SPI communications on a NI HSDIO (PCI-6541) device.
    The SPI Digital Waveform Reference Library ( is available for LabVIEW 7.1? Someone at - it successfully he converted from 8.2 to 7.1?
    The screws are also available under the reference Application Communication Protocol series for digital devices of waveform page ( available for LabVIEW 7.1?

    Any help would be appreciated. Thank you.


    Unfortunately there is no simple way to convert libraries back to the 7.1.

    My suggestion would be to download an evaluation copy of LabVIEW 8.6

    You could use the trial period to open libraries and use as reference to re-create what you need to in 7.1.

    Hope this helps,


  • How to record a digital waveform with timestamps for each sample?

    I am generating a digital stimulus and capture the digital answer using 6552 HSDIO. The captured response is data digital or forms of digital airwaves.

    I want to save the captured digital answer and save it in a file in spreadsheet showing the timestamp for each sample. How can I go to a digital waveform to a worksheet that contains all samples and timestamps for each sample?

    Comvert digital to analog is just the wrong function. And when you converted to U8, you just threw the calendar information. Try the code below. He puts the time in a single column. If you want to only two columns, its an easy mod.

  • How I ouptut a digital waveform, it has collated and compare it to the original with a usb-6211 box?

    I want a digital waveform to a circuit of output, read the return signal and compare the original to the read signal. I use a usb-6211 housing is it possible and if so, how?

    Use a comparator "equals sign", mark the post as a solution if you have the makings of what you wanted.

  • How to control each channel of the signals emitted by the generator of digital waveforms?

    Generator has digital waveforms of 8 channels. I need to generate two different signals for HSDIO. How to change and control two different ways? In addition, how to translate pinout of the PXI-6541 to channels? I need pin 1,3,29 and 31 control signal individually.

    Thank you!!

    You need to combine your personal data in a table.  The digital waveforms is simply a numeric representation of the binary table.  It always boils down to bit 0 of each element of the array will channel 0 (or the first string that you specify in creating dynamic channels).  The next bit goes to the next channel.  My last post is very clear.  To display the table in binary, right-click on a table element, then select the display Format, then select binary.  You can also right click on the element, select Visible, then select Radix Show to display the small b before the number.  One last thing, in the display Format window, uncheck the box next to the minimum field width to use.  Then set the digital just below zone 8.  Then select Pad with zeros to the left in the box below.

    You should not use waveforms up to what learn you more about how the HSDIO operates on the input data.  It is not difficult to combine waveforms, but it is not as clear as it is using an array of U8, U16 or U32.

    Trying to explain further.  The first number to be written to the HSDIO will have this effect: Bit 0 (LSB) of the number is written to the first HSDIO string you specify.  Bit 7 is on channel 8, you specify.  If you specify no 8 channels, the bits download ignored.  If wiring in a certain number will produce only a single bit on each channel.  In other words, the number has already combines the bits of all channels that you specify.  Combine you do nothing yourself.  Return to my photo on my last post.  By wiring in a table, you cause a binary model must be generated.

    I hope that is more clear.

  • Continuous output of digital waveforms on PCI-6602

    I use 6602 PCI to get a continuous 1 MHz square wave output of DIO1 ~ 32 sequentially controlled by LabVIEW. I Ctr0 to generate a clock 2 MHz and used Ctr0InternalOutput as a source of sample for DIO1 clock ~ 32. I have attached the code and the texture as follows.

    The code works fine on PCIe-6251 and digital waveforms of 1 MHz is very stable.

    But when I run on PCI-6602 I got an error-200077 (you asked for: sample clock; you can request: on-demand).

    6602 PCI does support material timing? I found no information about this its specifications. If she can't, how can I avoid this problem and get what I want? Thank you!


    Version: LabVIEW 8.2

    hardware: PCI-6602


    Have you looked at the specification for the 6602?

    Click on "specifications".  Scroll down to "digital i/o".  Watch "Timing".  It clearly says "software".

    The DIO lines on this Board are not timed by the hardware.  They are clocked by the software.  The data sheet that explains very clearly.  That's why you see the error clock sample - that the Council can't stand DIO clocked by the hardware.

    The 6251 supports clocked by DIO material, so why your code works very well with this Council.  You can do the generation of signals with a 6602.

    Hope says.


  • Can someone tell me how to extract a part of a digital waveform?

    I am trying to extract a part of 2 analog waves (using the for example) analog signals is synchronized with a digital waveform.  I need to extract the same portion of a digital waveform.  Can someone tell me how to add the digital extractor in the example above?


    Here's your extractor example slightly modified in order to add the digital data extraction.

    The principle is exactly the same, the tricky part is how to get digital data which is different from analog data.

    You can also add nodes property to identify the value read on the analog graph sliders on the digital chart.

    Kind regards

  • Is it possible to scroll on the y-axis of a graph of digital waveforms?


    I use LV 8.5.1 and I want to draw 64 signals on a graph of digital waveforms.

    But if the graphic is too small, I see not all signals, and if I enable auscale on the Y axis, so the signals are not recognizable.

    Is it possible to activate the scrollbars on the y-axis?

    Thank you.


    Try to use the nodes property Y scale with a slider horizontal/digital control. As:

    Find it here:

    I hope this helps!

  • Table 1 d of digital waveforms

    I have a table 1 d of digital waveforms and I need to work with the data. I can't get the 'mass' to work with any function table or any other type of function also.

    I need to be able to convert these so I can find a particular value in the table.

    Thank you.

    So you're just trying to get inside the matrix? Use a loop For or an Index Array node.

  • static/digital waveform output and low frequency measurement of voltage - SMU-6358


    1. I have an attached VI [digital_voltage_output] who must generate a logical true or false static state in the output of the device/port0/line1 Word to say. When the VI works I click the button several times, but nothing happens to the port0/lines1.

    2 such a thing [digital_voltage_waveform_output_square] if I'm trying to generate a digital waveform to pin the same with the waveform generating VI. If I connect a waveform chart to the output of the generator function VI, then the chart will show me the good waveform I want, but still nothing is written to the text file.

    3. I have read the manual for the X series cards, but it remains unclear for me a little how to things of the road in LV I have a measure of the frequency measurement VI low frequency that I downloaded. It offers me the ports for the supply frequency - ctr0, 1, 2, etc. As far as I'm concerned the PFI ports are responsible for these types of actions. How can I find out the LV that I want to connect say ctr0 and pfi0? »

    I use LV 8.6.

    Thank you


    Hi Kriváň,

    The problem you had with the choice of a specific digital line as a physical channel, is that the control that was previously used in this example was created for a data acquisition task that uses a whole port rather than a specific line. I was able to overcome this problem by removing the control and recreate. The control now gives you the option to choose the specific digital lines e.g. port0/PXI1Slot2/$line0.

    I was also able to overcome the error of-200802 you mentioned. I was able to do this in a real constant of wiring at the entrance to auto-start the VI DAQmx writing then remove the DAQmx beginning the subsequent code VI. The modified code is attached.

    I hope this helps.

    Best regards

    Christian Hartshorne


  • Extract a channel of a digital waveform

    I use the I2C Digital Waveform reference Libarary to create a WDT which consists of two lines/channels.  I was wondering how I could extract/remove a channel, the wave form and how can I add/merge signals tracks in a single WDT?  I looked around for the screws, but nothing seems to work with the WDT.

    Right now my WDT is like this:

    How can I get these two lines in separate WDTs?  And then how would I be able to merge them again?  Naturally, I don't want to just remove them and merge them, but that would be an example of good practice to demonstrate.

    After much trial and frustration, I found a way to do what I was looking for.  It is not the most elegant, but it works!

    That's how I extracted the two strings in an array and then merge to recreate the original graph:

    * Note: The reason why there are 2 in the waveform data table is because my waveform contains 0 and Z instead of 0 and 1.  The three States Z corresponds to the 2 digital.

    I even took it a little further and extract a single line.  This could be changed to extract any line and eventually merge your own custom signals:

  • Attributes of digital waveforms, LabVIEW 8.5 freezes

    I have 6 cards LVDS, 16 analog inputs by card.  I want the user to select a subset of the 96 channels available for display.  The attached code causes my pc to freeze.  Not always, but sometimes when I switch between the selection of channels.  Select either Chevron1(24-channels), Chevron2(24-channels), Chevron3(24-channels) High-Power(3-channels) or enter your own strings as string from 1 to 96.

    This problem can be connected with the bug of attributes known to digital waveforms.  If all goes well, my code is self-explanatory.

    See post

    For more details of the refrigerator used in the attached code.

    Hi bmann2000,

    I don't think that we will be able to get the 8.6 control works as you want because of the CAR. However, I have a suggestion that I have attached to this message. I used an array of strings to create indicators based on your logic of origin. It is not as clean or well tidy as your desired result, but I think it might be a solution. This is a screenshot attached. The VI is saved to 8.5. Despite the name of the file to the contrary.

    Let me know what you think,

  • How can I write a digital waveform to the digital output (traditional DAQ)


    I use a NI 6023e, PCI, with 8 digital outputs. I generated a digital waveform. How can I write for a specific digital production line now?

    I only have Labview 7, so I can't use DAQmx.

    Thank you very much

  • 1042 q with PXI 8360-controller and maps of Pickering


    I have a 1042 q with a PXI-8360 controller chassis and some maps of Pickering.

    Connected to the XP - PC with a PCI-e-card-

    Installed is only neither Max nor-PXI, Ni-Visa...

    Now the question is how to set up the chassis in the 4.7 or max?

    In Max, I see a line with PXI system (unidentified) under "Geräte und interfaces". I tried to load some of the deliverered ini with pxi OR cd files, but I can't control anything.

    Can someone me a gibe hint what to do?

    I have doenloaded a pickering Web site pipx40vpp.zp file which should cover all my map of pickering a has also a few frontpanles.

    But at the start of the frontpanels it says "no card detected". I think I must first of all put in correct place in the max.

    Thanks for any help

    Thank you very much for the help.

    Problem is now solved:

    The main problem was that the PCIx1 slot is not working. I put the card in an another PCIx slot and then he worked at the same time.

    I found this trick here:

    Try different PCI or PCI Express locations in the host PC for you MXI interface.
    The algorithm that use certain BIOS has best behavior in certain time slots than others.

    Maybe someone will need it in the future.

Maybe you are looking for

  • Re: Satellite M100-164 - how to get the recovery disk?

    Hi, I have a used Satellite M100-164. (short only model no psma0e) Its a M100 changed for the Middle East market as well far as I can tell its basically the same as the European models of M100, except with a smaller hard drive. I bought it in a store

  • XP audio driver does not work on Satellite P100-106

    I reinstalled Windows XP on my Satellite P100-106 and all the works of good drivers.Only the audio that I can not install driver.The problem is that my sound card changes the name, and I don't really know how his happened? His name was sound card Con

  • Scanning multiple photos and save them in dependent files

    Have a new printer, a large Format HP Officejet 7500 a. ProductName; C9309A - SSN {removed privacy}. Installed on Windows 7 Pro and Mac OS X Question; Scanning multiple photos and save them in dependent files, as it used to be with the series HP4500.

  • Slipstreaming windows 2003 with Raid drivers

    Hi allI am creating a slipstream disk to install the raid drivers. I did it before using the program n - lite with great success, unfortunately this time it doesn't. So, I checked the forums for how to do it manually. I followed these steps http://su

  • problem loading windows xp

    good it will be long and stretched out, but I want to make sure that all the information is there so that people can give the best help and suggestions. Part 1: a week ago I had a series of really bad viral infections on my computer.  My virus progra