Digital waveform editor sample size limit?

Hi,
Can anybody please tell me the sample size limit of the Digital Waveform Editor? Thanks!
Jing

Hello,
1) You can actually acquire as many points as you want. You may be worried about the throughput of all this data from the DAQ board into computer memory, but I don't think this will be much of a concern for your application. You're limited only by how much memory your computer has. Mainly, you should be concerned about what you are doing with all those samples after they are acquired. Are you just using them once then throwing them away? (Such as the "Cont Acq&Graph Voltage-Int Clk.vi" shipping example.) Or are you streaming them to disk? If you just keep them all in computer memory, then there would be some maximum number of samples you could hold but that number would be system dependant and you'd just have to experiment to find that number.
2
) That's a great idea to take those voltage signals and make them digital inputs. This way you'll also free up some more bandwidth giving you the option to increase the sample rate on your other channels. However, you won't be able to include any DIO channels in the same task with your other analog channels. You need to create a separate task for these digital input channels. Lines 0,1,2, and 4 will be reserved for communication with your SCXI chassis by the way. You also won't be able to do any buffered sampling like you can with the analog channels. The DIO for the PCI-6024E is only immediate and software-timed. (You must poll the status of the line with a software loop.)
Let me know if you have any other questions.
Russell
Applications Engineer
National Instruments
http://www.ni.com/support

Similar Messages

  • Digital waveform editor

    If I use the Digital Waveform Editor to create a clock, can this clock signal be used as a my clock source?  An example I am trying to reference for creation of my own VI is the Dynamic Generation and Acquisition - Demo.vi found in the Example Finder in LabVIEW 2012.  In it the On Board Clock is used for both Generation and Acquisition.  I would like to use a clock that I have already created in my waveform file because I know my other signal is working with it and the device under test when doing a signal generation and acquisition using a scope.  Any advice on how to do this (if possible) would be appreciated.

    tcarrico,
    In terms of using the waveform file that you created directly as your clock source, this is not possible. However, if you wanted to output this waveform using a function generator and then use that signal as an external sample clock for your Digitizer, this would be more likely to work. Is this more along the lines of what you were thinking?
    Robert B
    Applications Engineer
    National Instruments

  • Digital waveform editorで作成した波形をPXIe-6536で出力

    Digital waveform editorで作成した波形をPXIe-6536で出力したいのですが、どのようにすればよいでしょうか.
    対応が正しいかわかりませんが、現状では以下のようなアプローチをとっております.
    ①Digital waveform editorで波形を作成
    .hws形式のファイルとして出力して、
    「NI-HWS Express(load)」に読み込み
    デジタル波形グラフVIで出力を確認しました.
    ②PXIe-6536用にDAQアシスタントを作成
    PXIe-6536でのデジタル出力
    DAQアシスタント作成時画面でテスト波形の出力
    NI CB-2162上で波形が出力されていることを確認
    DAQアシスタント作成完了 
    というところまでを行いましたが、いくつか気になる点があります. 
     DAQアシスタント単体で実行すると、エラーが出る
    「エラーコード-200077がDAQmx Write (Digital 1D Wfm NChan NSamp).vi:3で発生 
     Measurements:  要求された値は、このプロパティでサポートされている値ではありません。
    プロパティ: Output.BufSize
    要求された値: 0
    最小値: 2
    最大値: 4294967295」
    DAQアシスタントとHWS読み込み用VIの接続を添付ファイルのようにForループ内に入れなければ接続できない 
    以後、サンプルレートの設定などを行うにはどのようにすればよいか.
    といった状況です.
    当方、Labviewに関しては全くの初心者であるため、 上記のような方法が適切であるかわかりません.
    至らない点も多いかとは思いますが、お気づきの点がございましたらご意見いただけますようお願いいたします.  
    Attachments:
    sample.jpg ‏654 KB

    Try posting in english here
    Translation 
    Digital waveform editor to create waveforms PXIe-6536 I want to output, what do I like?
    I do not know the correct response is, at present we take the following approach.
    ① Digital waveform editor creates a waveform
       1.. Hws as the output file format
       2. "NI-HWS Express (load)" read
       3. VI confirmed the digital waveform graph output.
    ② PXIe-6536 for creating DAQ Assistant
       1. PXIe-6536 digital output in
       2. DAQ output waveform creation screen test assistant
       3. NI CB-2162 has been confirmed that the output waveform on
       4. DAQ Assistant SUCCESS
    Is conducted to the point where there are some drawbacks, however.
        * DAQ Assistant, you run alone, I get an error
    "-200,077 Error code is DAQmx Write (Digital 1D Wfm NChan NSamp). Vi: 3 occurred in
     Measurements: Requested value is a value that is not supported at this property.
    Property: Output.BufSize
    Requested value: 0
    Minimum: 2
    Maximum: 4294967295 "
        HWS * DAQ Assistant VI to read the attached file for the connection can not connect For the loop to be taken into
        * Thereafter, the sample rate settings do and what do I like?
    Such situation.
    Us, Labview for complete beginners because it is, I do not know how you like the above is correct.
    And I think there are many points, but fall short, you can ask that solved until you have any opinion you have any

  • Digital waveform editor can not open hws file generated by niHWS store waveform

    Hi,
    I am using a simple VI to store the U32 array to a hws file in LabVIEW, however, the file generated can not be opened by Digital Waveform Editor. The VI used to be working well before I upgrade LabVIEW from V7 to V7.1.
    Meanwhile I also found out that the hws file generated by DWE can not be read out by niHWS. retrieve waveform.vi if the number of channels is not 32.
    I would be grateful if any one can give me some help. Please find the VIs and hws files as attached.
    The software I am using is
    Digital Waveform Editor 1.0
    LabVIEW 7.1
    Best Regards, YJ2003
    Attachments:
    question Get ArrayU32 from HWS Data.vi ‏108 KB

    Dear Brian,
    Thanks for your quick response.
    I tried again but still failed to open the hws file with my DWE V1.0. Since the version is the only difference between our software, I suspect the problem is caused by my DWE of old version.
    Would you please help me to check if the new attached questionretrievepattern.hws file can be opened by the HWS.VI? (Please change the extention from txt to hws as I can not attach file with hws format in this forum)This file is generated by DWE1.0 and contain only 16 channels. It can not be opened by the niHWS retrieve waveform.vi in my computer with erroe code "-21558", but if I added another 16 channels signals with DWE, the data can be read out properly.
    If we can confirm the problem is caused by DWE1.0, would you please also let me know how to upgrade my DWE? Thanks.
    Best Regards, YJ2003
    Attachments:
    questionretrievepattern.txt ‏35 KB

  • Digital waveform editor & fichiers.hws

    Bonjour,
    J'utilise une carte PXI 6542 pour envoyer diverses sequences numériques à un système électronique, j'utilise le Digital WaveForm Editor qui est plutot pratique pour faire des modifications ponctuelles (à la sourie) sur des signaux (par exemple modifier le debut ou la fin). Je peux egalement créer des signaux directement avec labview, si ceux-ci sont repetitifs et pas trop complexes.
    L'ideale, est de pouvoir utiliser les deux manières de dessiner les signaux numeriques. Mais je n'arrive pas à enregistrer à partir de labview un fichie.hws qui aurait des noms (voir même des couleurs) paramétrables.
    Ma question : Comment enregistrer un fichier.hws avec des noms de signaux que l'on retrouverai lorsqu'on ouvre ce fichier.hws avec le Digital Waveform Editor ???
    Merci.

    Bonjour,
    Pardonnez mon français, je n'ont pas parlé français depuis le lycée.  Afin d'écrire un dossier et faire apparaître les noms de signal dans le DWE, vous devrez éditer le dossier utilisant une bibliothèque HDF5.  On est disponible ici:
    http://digital.ni.com/public.nsf/allkb/CB8A7F8090900F6C86256CC700033816
     Les noms de signaux viennent du "name" corde dans le dossier HDF5. Si vous n'êtes pas très familiarisé avec HDF5, alors il peut être très difficile d'appeler les signaux.  Vous pouvez également consulter le poteau suivant de forum de discussion:
    http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=155446 
    Brian Coalson
    Software Engineer
    National Instruments

  • Digital waveform editor somewhere bundled in full, proffesional or suite?

    Hi,
    I recently discovered the digital waveform editor which seems quite usable for a project I'm working on. I downloaded the demo version, but I cannot save the files (it's a demo right). My question is whether this product is available in one of the bundles. At the university we do have access to allmost every LabVIEW product but I cannot seem to find this one. And before I go installing all DVD's I can find, perhaps there someone who knows whether and where I could find it.
    Thanks in advance,
    Mark 

    Hi Mark,
    See here for another DWE.
    - Partha
    LabVIEW - Wires that catch bugs!

  • Can labview digital waveform editor provide tri state option

    hi
    Could anybody who have used labview digital waveform editor
    would let me know whether, the package supports the
    tri state opertaion also.
    rags

    Currently the LabVIEW Digital Waveform Editor does not provide tri state functionality. 
    Minh Tran
    Applications Engineer
    National Instruments

  • Can digital waveform editor be launched from labview8.6

    Hi,
    Have anyone tried launching digital waveform editor from labview8.6? if so please let me know.Is there any connectivity VI that can be used for waveform editor.
    Thanks,
    Nandhini

    Nandhini,
    You have two different options for interacting between the Digital Waveform Editor and your hardware.  You can either use the play button directly from the Digital Waveform Editor to launch Signal Express with a HSDIO Express Step configured to generate the waveform you are creating in the DWE, or you can edit and save a waveform to disk, and then configure a LabVIEW program to generate that saved waveform.  It sounds like the second method is what you are looking for.  Save the waveform you are editing in the DWE to disk at a specific location, then configure your LabVIEW VIs to generate the waveform, and use either the HWS read VIs, or you can use the write waveform VIs of the HSDIO and specify the location of the HWS file.
    Brian Coalson
    Software Engineer
    National Instruments

  • Digital waveform frequency measurment

    Hi,
    i have Motor driver can give me the speed as feedback "digital waveform"
    the frequency is proporational with the speed
    i have Cdaq 9188
    also i have ni9401
    1. at which slot i have to connect the cmodule 9401 to be able to reach the counters ?
    2. how i have to connect the speed feedback to module ?
    3. can i have guide about this issue ?
    thanks alot

    Try posting in english here
    Translation 
    Digital waveform editor to create waveforms PXIe-6536 I want to output, what do I like?
    I do not know the correct response is, at present we take the following approach.
    ① Digital waveform editor creates a waveform
       1.. Hws as the output file format
       2. "NI-HWS Express (load)" read
       3. VI confirmed the digital waveform graph output.
    ② PXIe-6536 for creating DAQ Assistant
       1. PXIe-6536 digital output in
       2. DAQ output waveform creation screen test assistant
       3. NI CB-2162 has been confirmed that the output waveform on
       4. DAQ Assistant SUCCESS
    Is conducted to the point where there are some drawbacks, however.
        * DAQ Assistant, you run alone, I get an error
    "-200,077 Error code is DAQmx Write (Digital 1D Wfm NChan NSamp). Vi: 3 occurred in
     Measurements: Requested value is a value that is not supported at this property.
    Property: Output.BufSize
    Requested value: 0
    Minimum: 2
    Maximum: 4294967295 "
        HWS * DAQ Assistant VI to read the attached file for the connection can not connect For the loop to be taken into
        * Thereafter, the sample rate settings do and what do I like?
    Such situation.
    Us, Labview for complete beginners because it is, I do not know how you like the above is correct.
    And I think there are many points, but fall short, you can ask that solved until you have any opinion you have any

  • How do I sample a digital waveform?

    I have a digital waveform that represents a 1-bit data stream.  The bit rate is 1Mbit/s (i.e. For a value of '1' the line is high for 1us, for '0' the line is low for 1us). 
    I want to create a numeric array representation of the line by taking a sample of it every 1us and appending it into an array.
    How do I set it up in LabVIEW to sample the line at 1MHz and create a 1-D numeric array of the bits?

    Hi Raine,
    It sounds like you're trying to keep data from previous samples in memory through the next iteration of the sampling loop, then append the new sample to the array.
    Using shift registers is the most reasonable option. To create a shift register, wire your sample data to the edge of your sampling loop then right click and select Replace with Shift Register. You can then use a Build Array function to connect the shift register data with the current sampling data.
    Cheers.
    | Michael K | Project Manager | LabVIEW R&D | National Instruments |

  • Digital Waveform graph with a lot of samples

    Hi,
    I have to display in a Digital Waveform Graph a lot of data read from a file(2.000.000 of samples for 36 signals). If I read the file and I try to display all the data, the Vi became unusable. For example, to zoom a graph region, it may take 30-40 seconds, scroll is impossible ecc, ecc..
    Apparently LV doesn't perform a decimation of points. In measurements studio 8, this problem doesn't exist...but I have to use LV 7.1..
    any suggestion ?
    At the moment I have developed a DLL in VC++ that perform a decimation of samples, but performance are not very good !
    Thank you for any idea.
    Regards.

    Hi Garraty,
    Excuse me but I have several questions for you.
    1)     Have you tried some kind of incremental approach, starting from 1 waveform and increasing towards 36? Do you experience some kind of on/off degeneration between, les’s say, 34 and 35 waveforms?
    2)     How can you decimate a digital pseudorandom sequence of 2M samples without loosing information?
    3)     Is this 2M samples an unavoidable constraint for your application?. Actually, it seems very difficult to extract some kind of visual information from a pseudorandom pattern of this length?
    Thank you very much.
    Kind Regards
    FiloP
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Digital Signature Error: Parameter and size limit

    I am getting the following error message when I am trying to digitally sign any pdf:
    Creation of this signature could not be completed.
    Size limit error
    Internal error: a function parameter had an incorrect value.
    I have browsed this forum, but could not find anything similar described. I have tried deleting and recreating my digital signature, etc, without any differences. I had used dig sig before on this pc. I have Acrobat 8.2.3.
    Anyone able to help?
    S.

    Okay, I think you are on to something.
    When I go into Security Settings, there are two Windows Digital IDs listed. Both are in my name, and both are Issued by Aliant ICN Authentication CA (Aliant is my employer). They have expiry dates of later this year.
    Neither of them are checked with any indication of a Usage.
    When I look at Certificate Details, they both indicated "The Selected Certifcate Path has errors: unexpected errors." Under Trust, "This certificate is not trusted".
    I could not see Storage Mechanism anywhere.
    Steve

  • Convert digital waveform to array

    Hello,
    I posted a problem before Christmas regarding data acquisition and accessing the hardware buffer on a 6562 card. I managed to figure out that problem but now I'm stuck when I try manipulating the data I obtain. (The original problem can be seen here: http://forums.ni.com/ni/board/message?board.id=70&​thread.id=7926)
    Briefly, my application is clocking and synchronising an ADC board and then looking at the raw ADC data that comes back from the board. To provide synchronisation I am sending a sync pattern on one data line and using a second line to send a "start of frame" indicator, a '1' bit when I know that the board is synchronised. This line otherwise only sends ‘0’s. This cable is wired back into the NI card and LabView. All data sent uses the NI-SHDIO Generation Express VI and I'm using the Acquisition Express VI in parallel with the Generation VI to capture the raw ADC data when it comes off the ADC board. Since I am acquiring both the ADC data and the frame indication data (which I am looping by connecting that output DIO to an input DIO), the digital waveform essentially contains 2 arrays and I can view these from a graph indicator within LabView.
    No problems so far. In order to manipulate the data and look at individual frames I am writing the ADC data to file. To extract the digital data from the digital waveform I am using the following VIs:
    -Get Waveform Components
    -Get Digital Data Components
    -Write to Binary File
    To view and manipulate the data I read it into Matlab and this is where I can tell that something's not right. When I read the file into a variable in Matlab, the variable becomes a 1D double array of 40,008 elements. This seems very odd, considering the Acquisition VI only takes 20,000 samples. When I look at the 1D array more closely it looks like the two arrays have been cross added in some fashion. The 1D array certainly doesn't match either of the two arrays visible in the graph indicator inside LabView. I can understand if the file is reading one array after the other (20,000 + 20,000 almost equals 40,008 after all) but that doesn't appear to be the case.
    I would greatly appreciate some help on how I can extract the two data lines either using Matlab or LabView. Currently it looks like LabView is making a hash of things whenever I try to manipulate or extract the two arrays from the digital waveform. I have tried a multitude of different VIs and ideas but nothing appears to work.
    The most straight forward way would be using the "Converting Digital Waveform to Binary VI" but it can't handle two arrays within the same waveform. (The result looks like the two arrays exclusively OR’d together). To combat this I tried running two Acquisition Express VIs in parallel (one for ADC data, the other for the frame info) but got an error message referring to invalid handles. I presumed this meant that I can't run two acquisition VIs simultaneously, judging from forum posts of users facing the same error message.
    Sorry for the long post but I feel that I needed to fully explain the problem. I'm attaching my LabView code.
    Thank you for reading,
    Christian
    PS. GenAcq2.vi is my code. Waveform_GenAcq2_Cfg.hws is sent by the first Generation VI; Waveform_GenAcq2_shorter_frame_indicators.hws by the second Generation VI.
    Attachments:
    CodeAndWaveforms.zip ‏126 KB
    GenAcq_Screenshot.JPG ‏83 KB

    The extra "8" is being caused by the fact that the "Write to Binary File" VI has a "prepend array or string size" input. Its default is true, and in your case you have it unwired, so you get the array size prepended. As for the rest of your issue, what are your Matlab commands to read a file? The following example VI, which generates a digital waveform and saves it to file,
    can be correctly read into Matlab using the following commands:
    fid = fopen('c:\temp\digData.bin','r');
    F=fread(fid, [256,8], 'uchar');
    Message Edited by smercurio_fc on 01-18-2008 05:26 PM
    Attachments:
    Example_VI_BD.png ‏11 KB

  • Memory leak in Digital Waveform

    I have a program with a pretty serious memory leak that uses up all my system RAM and crashes my computer within a few hours of running the program.
    The program takes an array of U16s where each bit represents a digital signal. The VI converts each U16 to a digital array and groups the resulting 16 digital signals into different busses for display on a Digital Waveform Graph. The profiler doesn't show any excessive memory usage in the VI. I put the whole VI into a Diagram Disable structure and moved a few pieces out at a time, and eventually the only thing inside the disable structure was the Digital Waveform Graph indicator. When this indicator is enabled, the memory usage of my system rises slowly and steadily until it uses all available RAM and crashes the system.
    If I replace the Digital Waveform Graph indicator with a cluster, the memory leak still occurs (but much more slowly). I thought using the cluster fixed the leak until I reran the VI overnight while using the cluster instead of the Graph.
    If I stop the VI before all the RAM is used, the RAM will not release until I close LabVIEW entirely. Once LabVIEW closes, the memory is released slowly and exponentially unless I use the "End Process" option in Task Manager.
    This is a continuation of a previous post I made where I thought the memory leak was due to problems transferring data from an FPGA for display.
    I ran the MemLeak vi (attached) on two separate systems, both running LV 2013 SP1, and got the same results. The memory leak is noticeably fast when using the enable structure connected to the Digital Waveform Graph but still present when using the cluster of Digital Waveforms.
    Attachments:
    MemLeak.vi ‏33 KB
    LV shutdown.PNG ‏101 KB

    Thanks for the replies.
    In response to John's points:
    1. The attached VI is a simplification of an FPGA VI that read a fixed number of samples from a DMA FIFO using an FPGA Interface Invoke Method approach. I'm using a card (PXI-7842R) that doesn't allow use of the Acquire Read Region method. In order to allow people without an FPGA card to hopefully see the issue, I replaced it with the for loop. Assuming that this for loop does leak (which I don't believe it does; as altenbach said, it's a fixed size allocation that LV should be able to reuse), why would I see a difference in the leak magnitude depending on which indicator I connect to the array?
    2. I've previously reviewed the document you referenced, and I don't see any errors from it present in my code; do you? I have no global/local variables, strings/arrays displayed on front panel, property nodes, coercion dots, altered memory sizes, resizing/reallocations, etc. I don't see any weird buffer allocations. I used to have the conversion from U16 array to digital waveforms in a subVI but placed it on the same diagram to allow incremental use of the Diagram Disable structure.
    3. The forum post you referenced had many of the items discussed above, plus it was solved using an RT FIFO. I'm not passing data from a producer to a consumer; I'm just displaying acquisition results. I guess you could say I'm processing the data, but I'm really only converting it to a format that the indicator will take; I'm not operating on the data.
    It's good that the leak doesn't show up in 2014, but my SSP runs out in a couple of days; I never got an upgrade to 2014. This is the last item remaining on the development path, and we've already spent ~$4k to upgrade the controllers enough to display the acquisition without dragging down the CPU. I will be in hot water if I spent all that money and then end up having to scrap the display...

  • Simultaneous analog and digital waveform read with PXIe-6361 and BNC2120 ?

    Hi there,
    I am trying to collect both analog and digital signals from a PXIe-6361 linked to a BNC2120, using the attached VI. I am running Labview 2011 64bit. This is the first time I am working with digital input. On the 2120 board, I have the digital input BNC cable connected to User Input 1 and wire between the screw terminal of UserInput 1 and the P0.1 (Digtial I/O) screw terminal.
    I have two questions related to this:
    1) When I try to run the VI in its current state, I get the following error:
    Error -89137 occurred at DAQmx Start Task.vi:3
    Possible reason(s): Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: RefClk.Src
    Source Device: PXI1Slot2
    Source Terminal: PXIe_Clk100
    Required Resources in Use by
    Task Name: _unnamedTask<6>
    Source Device: PXI1Slot2
    Source Terminal: None
    Destination Device: PXI1Slot2
    Destination Terminal: RefClockInternal
    Can anyone point me in the right direction for troubleshooting this?
    2) I would like to combine my regular waveforms and the digital waveform into one array which would then be written to file. I can't figure out how to combine the two different waveform types...can anyone give me a hint on this?
    Thanks for your help,
    Claire.
    Attachments:
    Export Waveforms To Spreadsheet File (1D)_wo extra line.vi ‏33 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin.vi ‏105 KB

    Hi ClaireJ,
    Sounds like a reference clock conflict. This KnowledgeBase (KB) talks about this error when using simultaneous sampling. Also, might want to check the device routes in Measurement and Automation Explorer (MAX) as discussed here. Finally, if you are routing your PFI line over a RTSI connection, this error can occur. This KB discusses it.
    As to your second question, this post should help.
    Bill E. | Applications Engineer | National Instruments

Maybe you are looking for