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

Similar Messages

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

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

  • 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

  • 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

  • Normalise in waveform editor question

    I may be really dumb here, but when I normalise to 0db in the waveform editor, and then check the levels in the meters tab, it tells me that I'm peaking by sometimes over 6db!
    It's a stereo track, so what am I doing wrong?
    Is 0db in the editor different to 0db on the meters?
    I'm new to STP having previously used Sound Forge so I'm learning the differences.

    Yes, you notice that digital audio is quite a bit more sensative than analog!
    To get a real result @ 0db you'll want to start under 0 with normalize, try intervals -2.
    Normalize however is a very harsh method and you may want to try something like Reduce Amplitude, or Peak Limiter. [easier reductions on your audio]
    Good Luck

  • 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

  • How do I output three digital waveforms at once?

    I posted this in Digital I/O, but now I think it's actually more appropriate here because it's not a hardware question. I need to output three digital waveforms at a relatively low frequency, 71.9 Hz. I have a PCI DAQ card, the 6024E and am using the NI-DAQmx functions to try to do this. My program basically generates the square wave that I want, and converts it into a digital wave. I do this 3 times for the three separate waves, and then I combine them into an array and send them to my DAQ functions, which are in a while loop so I can get continuous output. My problem is that the waveform that the DAQ is actually outputting is not what I want. It's outputting a wave that has the same duty cycle (approximately) but the frequency is over 2 kilohertz. It's not like this all the time; after it outputs about 7 cycles of this wave, it goes to logic low for a long time, and then repeats itself. When I probe the digital waveform right before it goes into the DAQ functions, it's running correctly at 71.9 Hertz. Am I doing anything wrong with the DAQ functions or the sampling information? Thanks in advance.
    -- Josh Matloff

    Hello Josh,
    I'm pretty sure that the reason that your digital waveforms are not being produced at the correct frequency is because your digital output is not associated with any sort of timing. Unfortunately, with an E series board you can only do software timed digital operations. This means that the frequency at which the values on your digital lines will be updated depends on how fast/often your computer executes the DAQmx Write that is inside of your while loop. If you have an M series board, you can actually correlate the DIO operations with another subsytems clock (AI/AO sample clock, etc.) which means that you can acheive hardware-timed DIO. In the event that you do not have access to an M series board, I think that AnalogKid2DigitalMan was spot on that you would want to use counters to generate pulse trains (that is if your digital waveforms have a constant duty cycle and period). Depending on what the DAQ board is outputting to, you might also want to consider using the Analog Output channels to generate your digital waveform. As long as you continue to use the digital lines on the 6024E, there is not really a way to guarantee the timing of when the digital lines will be updated. You might be able to get close, but you will probably see some "hiccups", especially if your computer needs to service interrupts or give processing time to another application. And lastly, heed geckoee's advice and don't forget to properly close out your tasks! Putting in some error handling may also help in the debugging process.
    Take care,
    E.Lee
    Eric
    DE For Life!

  • How to do a digital waveform subtractio​n

    i am trying to subtract two digital waveform using subtract operation, but it seems that the subtraction opertation doesn't like digital waveform.
    error message:"You have connected two terminals with different types. the type of the source is digital waveform, the type of the sink is double"
    anybody can help? please.

    Hello,
    See the attached modified example. Now you can access data in a 2D array .
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    dither tech2.vi ‏57 KB

  • Reading Waveform (.hws) files from Analog Waveform Editor into LabVIEW causes read errors

    Hi Gang,
    In my application, I want to create files Using the Analog Waveform Editor and then, through LavVIEW, play them out through an D/A.
    I've not been able to read the .hws file into LV.  I've tried two methods:
    Using the Read Waveform VI in the Waveform palette, yields Error -1821.
    I looked in the knowledgebase and found the article "Using the Analog Waveform Editor and HWS Files with Multifunction DAQ Devices"  That recommended using the HWS VIs that are a part of the FGEN driver.  I tried that and get an Error -21515.
    The file I want to read is quite small, only 20 samples.  Is there some limitation on .hws files or the Waveform Editor I'm not aware of?
    I've attached the file if anyone is willing to experiment. I had to change the extension from .hws to .txt to be able to attach it.
    All responses will be appreciated.
    Thanks,
    Roger
    Solved!
    Go to Solution.
    Attachments:
    Havesine.TXT ‏108 KB

    Interesting. I tried to look at your file with the low level read .hws file vi's and I too got error -21515. So I tried the NI-HWS express load.vi and it looks like it worked. I'm not familiar with the analog waveform editor...does it store using the dynamic data type? Oh I converted the dynamic data to 1d array of waveforms using the convert from dynamic data.vi.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • 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

Maybe you are looking for