Digital waveforms of SPI with PXI-6552

I am trying to follow the following tutorial about the PXI-6552 module: http://www.ni.com/white-paper/3671/en.

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.

Advertisement

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

    Hello

    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

    Isaac

    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

    Hello

    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 (http://zone.ni.com/devzone/cda/epd/p/id/6163) 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 (http://zone.ni.com/devzone/cda/epd/p/id/6200) available for LabVIEW 7.1?

    Any help would be appreciated. Thank you.

    Hello

    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,

    John

  • 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!

    Yi

    Version: LabVIEW 8.2

    hardware: PCI-6602

    Hello

    Have you looked at the specification for the 6602?

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/1123

    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.

    d

  • 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 http://zone.ni.com/devzone/cda/epd/p/id/4149 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?

    Hello

    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?

    Hello!

    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.

    Hello!

    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

    Hello

    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

    Kriváň

    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

    NIUK

  • 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 http://forums.ni.com/ni/board/message?board.id=170&thread.id=349313

    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)

    Hello

    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

    Hello

    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:

    http://digital.NI.com/public.nsf/allkb/05B7131814A5DDA38625710F006BB098?OpenDocument

    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

  • How to change the spacing between list items in the Pages?

    I've implemented some spacing after each paragraph to control the distance between the point and the next title. When using lists, this translates a lot of space between each element of the list (#2 Alpha). What I want is a list like #2 Bravo, but wi

  • Internet Explore has stopped working - question of the biometric authentication service

    My Elitebook 8540p has developed a problem where I get the error message - Internet Explorer has stopped working... Turn it back on.     I am running Windows 7 32 bit.   And using IE9. After some internet reading, I started my services of neutralizat

  • HP Pavilion X 2 Tablet PC - 64 G: space requirement

    My wife bought me the HP Pavilion X 2 and I like it but to 64 GB, apps stock it came with almost uses the 64 GB. I don't really want to crack open and upgrade the SSD.  I have several external drives but I mainly use the computer in bed and I don't w

  • Create recovery media requests double layer DVD

    Good evening everyone. I just took delivery of my 5 new books for new employees of my company. 3 of these notebooks are HP Probook 450 G2 (REF: J4R69EA) (These are the models with 128 GB SSD drives) The other two are Lenovo E540 with similar specs. S

  • black boxes flashing when the use of the computer

    I'm flashing periodically small black boxes on the screen while I use the computer.  Box has no anytthing wrote in it but just flashes quickly and disappears.  Please help me fix.