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:

Tags: NI Software

Similar Questions

  • 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

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

  • 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

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

  • 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

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

  • 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

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

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

  • Relaxation in beginning digital DAQ - shows on 4 channels for the digital dashboard start

    Hello

    I start my DAQmx task with a trigger on a rising digital. It works fine, but I have to look on 4 channels, not only on one.

    So if I get a digital camera on any of these 4 channels of my task DAQmx should start.

    How can I modify the beginning of trigger DAQmx standard to include 4-channel - monitor for digital advantage start task connected?

    Thank you.

    Unfortunately, it is not currently possible to use several lines like triggers.  Change detection approach will be the best approximation for this.  Another option, assuming that you don't mind a small amount of external circuits, would be to use a door or external to your block of endings that SOR four external lines and routes the result to a trigger line.  It would probably be the simplest solution, as OR doors are relatively cheap and would not require a change in software.

    Kind regards

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

  • Count the number of 1 is present in digital waveforms obtained by converting the pulse signals.

    Hello

    I use Analogtodigital.Vi to convert the pulse of the sequences in digital.signals.I am able to get the representation of digital waveforms of impulses.

    But how to count the number of 1 is present in the converted digital waveform. I want to count the number of 1 is present in the digital waveform converted.

    Thanks in advance.

    Have you tried the block scheme of similar to the Digital.vi of opening?

    It creates an array 2D uncompressed 1 and 0, which is the binary 16 bits A/D conversion of each element in the array Y of the input waveform. You can use the DWDT digital Array.vi Boolean to convert a 2D Boolean table. Then convert Boolean values to 1.0 and summarize the array of integers. The sum must be the number of 1 bits in the digital waveforms.

    Lynn

    Note: The VI attached is saved in version 8.6. When I have it saved for the previous Version a warning was generated about the possible differences in the versions. Let me know if it doesn't work, and you are using which version of LV.

  • Could someone tell me how to convert the digital signals in table 1 d of digital waveforms

    I use 9474 for drving an engine. for that I have uses 2 ports - to activate and another for running. These signals in the form of Boolean values.  I am to convert these signals to a table and since iam doing a digital waveform. but when iam connecting these to the module 9474, it show an error "source is a digital waveform and sink is 1-d array of digital waveform... any body can help in these issueee please...»

    Pop - up on the thread and choose Insert...

    Build the table.

    Ben

  • 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

Maybe you are looking for