Write named waveform to 6551

I am trying to write 4 name waveforms to onboard memory on five PXI-6551's and call them in my program as i need them. I have tried make a very simple VI to write a few bits to one board but it gives me this error: "niHSDIO Write Named Waveform (1D U32).viDriver Status: (Hex 0xBFFA0011) Function or method not supported." anyone know why I cant seem to figure it out?
Thanks,
Brian

Hey Brian,
I don't know off of the top of my head, but try to run the example "Dynamic Generation of Multiple Waveforms.vi from the NI Example Finder and see if it works with your board. Tell me what you find when you run that example.
Sincerely,
Gavin Goodrich
Applications Engineer
National Instruments

Similar Messages

  • How to write named query if we want to use IN syntax in our sql statement?

    I cannot find a suitable category about named query, so please move to appropriate place if there is any.
    When we write named query, below statement is fine.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field1 = :input1");             q2.setParameter("input1", "value1");
    Now, my question is, how can I write this type of query when we want to use the IN sql syntax? As below statement CANNOT return correct results. Even I tried to put a pair of single quote [ ':input2' ], it won't help also.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field2 IN (:input2)");             q2.setParameter("input1", "3633, 3644");
    Can anyone suggest? Thanks.

    roamer wrote:
    Now, my question is, how can I write this type of query when we want to use the IN sql syntax? As below statement CANNOT return correct results. Even I tried to put a pair of single quote [ ':input2' ], it won't help also.
    Query q2 = em.createQuery("SELECT o FROM Table1 as o WHERE field2 IN (:input2)");
    q2.setParameter("input1", "3633, 3644");
    Can anyone suggest?The above is in your code right? Not in some configuration file?
    Then you do it the same way as with regular jdbc/sql.
    1. You start with a collection of values - call it collection A.
    1. Create a for loop that dynamically creates the string using 'bind' variables (whatever you want to call the 'colon' entity in the above).
    2. Call the createQuery method using the string that was created
    3. Create a second loop that iterates over A and populates with setParameter.
    Pseudo code
            Object[] A = ...
            String sql = "SELECT o FROM Table1 as o WHERE field2 IN (";
            for (int i=1; i <= A.length; i++)
                  if (i == 1)
                     sql += ":input" + i;
                 else
                     sql += ",:input" + i;
            sql += ")";
            Query q2 = em.createQuery(sql);
            for (int i=1; i <= A.length; i++
                  q2.setParameter("input" + i, A[i-1]);
                  }By the way there is a jdbc forum.

  • Write multiple waveforms in TDMS

    Hi everyone,
    Here is my problem, I have 5 waveforms with 3 y values each and I would like to write these 5 waveforms in a TDMS file.
    But when I connect a simple waveform to the "TDMS write" function it's work, but when I connect mulitple waveforms, the wire is broken:"Polymorphic terminal cannot accept this data type".
    Thank you for your help!

    Can you post some code?  When I try to wire an array of waveforms, the TDMS Write takes it just fine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Queue size for XNET Write Signal Waveform

    Hello,
    I'm trying to use XNET librairy to play a predefined waveform on an output signal. I'm working with LabVIEW 2014 SP1, XNET 14.5 on a W7 Pro 32 bits operating system. I use a NI PCI-8512 card. It's my first application using xnet library.
    In my test application, I give to user the possibility to define the waveform to play. The total time and the sample frequency are settable. The output CAN signal is cyclic, with a cycle time of 0.01s (10Hz). I chose to use same frequency for sample my waveform and the CAN writing.
    I've difficulties to work with the queue size. In this example, that's good but I don't really why. I've tested different values of Queue size and 100000 seems to be good until 60sec. But for longer times (about 5 minutes), this method is not good...
    What is the good way to work in this mode, and how to use efficiently the queue size property? The information and the example in the NI-XNET Hardware and Software Help are not very probant...
    Thanks per advance!
    Francis M | Voir mon profil
    Certified LabVIEW Developer
    Solved!
    Go to Solution.

    Sounds like you have the concept.  I've never done this with signals, only frames, but I assume there is a queued option.  You'll want to read the help, or just try it and see if it works.  Attached is an example that does not run which demonstrates something similar to what I've done in the past.  Basically fill the buffer, wait a little, then add more frames to fill it again.  Repeat until there are no more frames to add to the buffer.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    XNET Queued Buffer Example.vi ‏12 KB

  • If I write a waveform file to lev to send to a databas e how can I convert it back to see a waveform?

    Hello
    I created several virtual instruments to go along with my ecg circuit that I created for my senior project. The last step of our senior project is to send the data to a database were it can be retrieved later. I was saving the data as a binary file and than reopening it and displaying the waveform as a graph. I tried to do the same thing saving it as a lvm file because our database guy said that it would be easier to save a text file to a mysql database. But I am having trouble dispalying the data back as a waveform. IIf you open the read file menu and display the data there it wiil show all the text written. So I know the data is saving and being retrieved. After the data is retrieved I send the signal to the create a waveform from dynamic data block and than onto the graph but I do not recieve anything at all on the waveform graph.
    Ray

    It is unclear whether or not you are creating a new LVM file when you fetch from the database or trying to read the text from the database and parse it directly.  The LVM read Express VI expects an LVM file.  If you are creating the LVM file and it is not working, please post a copy of the created file.  It is quite possible the database save/fetch is adding or removing a few things.  In particular, the LVM read will probably not function well if the header info is not restored correctly.
    On a related note, you can probably use the database the return the specific LVM fields without having to go through the create file step.  See the LVM file specification for details of the format.  Talk to your database admin about how to retrieve things.  Let us know if need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Waveform streaming and waveform scripting - Mutually exclusive?

    Hello All,
    I was looking at doing some tricks with the streaming capabilities of the new PXIe-5442 plus NI RAID extension. Is there a way to script multiple waveforms together if the total sample size exceeds the hardware capacity of the AWG (in other words can one of the waveforms be stremed to the memory) ?
    If not are there any scripting or sequence "type" abilities that allows multiple waveforms be stored off board and let each waveform be hardware triggered (load, wait for ext trig, run waveform1, loop through first/last eight samples, wait ext trig, run waveform2, etc..)?
    The looping functionalities are less of an issue with what is essentially a 1TB AWG but the triggering still poses a problem.
    CVI examples are preferred but any example that shows the hardware feasibility exist should point me in the right direction.
    Note: In a perfect world, I would to see a scripting solution that would allow different our experiment types to be more easily executed within the same project.
    Thanks in advance.
    Solved!
    Go to Solution.

    Hi,
    You can do Waveform Streaming and Scripting in the same session.
    To Stream to a waveform in script, you would need the streaming waveform name.
    An example scenario is where you want to configure your board for 3 different waveforms (WfmA, WfmB and Streaming Waveform).
    You can download WfmA and WfmB using "niFGEN Write Named Waveforms" and name the waveforms accordingly.
    e.g., niFgen_WriteNamedWaveformI16 (vi, "0", wfmA, numPoints, wfmData)); /**Notice that these names will be used in script******/
    We cannot assign name directly to a streaming waveform, however we can get information from the driver about the name it set to the streaming waveform.
    Streaming Waveform:
    1) Allocate Streaming Memory using niFgen_AllocateWaveform function
    2) Pass the "Waveform Handle" output of niFgen_AllocateWaveform function to "niFGEN Streaming Handle" attribute
    e.g.,
     checkErr(niFgen_AllocateWaveform(vi, VI_NULL, streamingWaveformSize, &wfmHandle));
     checkErr(niFgen_SetAttributeViInt32(vi, VI_NULL, NIFGEN_ATTR_STREAMING_WAVEFORM_HANDLE,
              streamingwfmHandle));
    3) Fill the Streaming Memory Buffer with data using niFgen_WriteBinary16Waveform  and Streaming Waveform Handle
    4) Then read the attribute "Streaming Waveform Name". You can use this name now in script.
     niFgen_GetAttributeViString (vi, "0",  NIFGEN_ATTR_STREAMING_WAVEFORM_NAME, 512, streamingwfmname);
    To generate these sequence of waveforms, a sample script would be:
    script myscript
    generate wfmA
    generate wfmB
    repeat <repeat count>
    generate <streamingwfmname>
    end repeat
    5) Download the script using  niFgen_WriteScript function
    6) After you start the generation, inside a while loop continuously monitor the "Space Available in Streaming Wfm" and transfer the data using "niFgen_WriteBinary16Waveform  and Streaming Waveform Handle.
    I have a sample application in LabVIEW, I can post it if it would help. Let me know if I am not clear on anything....
    Thanks,
    Kalyan
    Kalyanramu Vemishetty
    Automated Test Systems Engineer
    National Instruments

  • Why does my HSDIO board drive all lines high during initializa​tion?

    I've got two NI PCI-6541 boards that execute the following LabVIEW pseudo-code.
    for i = 0 to 1
       Execute these VIs:
       niHSDIO Init Generation Session.vi
       niHSDIO Assign Dynamic Channels.vi
       niHSDIO Configure Sample Clock.vi
       niHSDIO Export Signal.vi
       niHSDIO Configure Generation Mode.vi
       niHSDIO Export Signal.vi
       niHSDIO Configure Generation Repeat.vi
       Set these properties:
       ExportedSampClk.Mode
       SampClk.Impedance
       RefClk.Impedance
       SampClk.Rate
       Execute these VIs:
       niHSDIO Write Named Waveform (1D U32).vi
       niHSDIO Write Script.vi
       niHSDIO Get Session Reference.vi
    Execute these VIs:
    niTClk Configure For Homogeneous Triggers.vi
    niTClk Synchronize.vi
    niTClk Initiate.vi
    For some reason, the first VI called (niHSDIO Init Generation Session.vi) sets all my DIO board's outputs to high. They are not set correctly until the last VI (niTClk Initiate.vi) is run.
    How do I make this not happen?

    Hi bmihura -
    Have you tried calling niHSDIO Reset Device or setting the "reset instrument" input on the niHSDIO Init Generation Session VI to TRUE?   I believe this will tri-state the lines for you.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • Preventing a glitch during signal generation

    I’ve got two high speed digital IO cards (NI PCI-6541) generating simultaneous waveforms, and I’m getting a 120 – 150 ns glitch from one during the generation process. The waveforms have ~ 200k samples at a sampling rate of about ~ 20 MHz.
    For each board, I call this sequence of  functions:
    niHSDIO Init Generation Session.vi
    niHSDIO Assign Dynamic Channels.vi
    niHSDIO Configure Sample Clock.vi
    niHSDIO Export Signal.vi
    niHSDIO Configure Generation Mode.vi
    niHSDIO Export Signal.vi
    niHSDIO Configure Generation Repeat.vi
    niHSDIO Write Named Waveform (1D U32).vi
    niHSDIO Write Script.vi
    niHSDIO Get Session Reference.vi
    It’s the “niHSDIO Write Named Waveform (1D U32).vi” function that causes the glitch. I’ve run into a similar thing before and it was the signals briefly going to a high impedance state during an initialization call; is there some way to prevent that?

    Hello All,
    This issue was resolved by changing the initial state in the niHSDIO Init Generation Session.vi. The "glitch" occurred because the niHSDIO Init Generation Session.vi was configured to reset the device at the begining of the program. This set the device into a high impedance state. By changing the input so that the device did not reset we were able to eliminate the problem.
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments

  • Writing waveforms from Ch. 0 of niSCOPE to binary file in a multi-record setup?

    Hello,
    I am not very experienced with niSCOPE and writing waveform records, so I need some expert help here.
    Here is my application:
    I am generating a pulse train using a 6602 counter/timer. Each rising edge of this pulse train triggers an niFGEN to generate a single sawtooth waveform output to another device and, at the same time, acquiring data from Ch. 0 of an niSCOPE. I am fetching one record per rising edge of the pulse train for the niSCOPE (multi-record setup).
    The attached VI is where I am at thus far. All triggering and reading/fetching of the waveforms seems to be working just fine when testing with an oscilloscope. I now need to save each waveform record along with the timestamp of its rising edge trigger to a binary file. The bottom of the VI is where my attempt is at saving the waveforms to a binary file, so the attention should be there when looking at it.
    I am running LabVIEW from a computer connected to the NI PXI-Chassis using a cross-over cable.
    Questions:
    1.) Do I need to convert the data coming in on Ch. 0 of the niSCOPE to digital? Does it come in as analog from an oscilloscope? If I need to do this, how can I accomplish this?
    2.) When I try to run an example VI to write a waveform to a binary file by choosing "My Computer" in the bottom left of the VI window, it works it saves the file just fine. When I change this to run on "PXI2", a file is not even created and I get an error on File Dialog (code# 7, I think) each time the file is attempted to be closed. This may be a stupid question, but why can I not save data to a file on my computer if running the VI on "PXI2"?
    3.) Assuming the saving of each waveform to a binary file is working (read: (2) is successfully addressed), how can I also write the timestamp of the starting trigger for the waveform along with the waveform in the binary file? An example VI of how I can accomplish this would be fantastic, but I haven't been able to find one thus far.
    4.) When I was messing around and trying to accomplish this, it seemed that doing this writing may slow down the entire process too much. I need to record data to the extent of the sawtooth waveform generated by the niFGEN AWG for each trigger. Is there any changes I should make to my acquisition process in the niSCOPE section so that I can read each waveform, along with keeping the timestamp for each, and write this information to a binary file?
    I need to get this working quickly, so any help on this is greatly appreciated. Thanks in advance.
    Attachments:
    5124_update.vi ‏157 KB

    Thank you so much for your reply, David. Let me try and explain my
    situation and setup a little better, as well as discuss the points you
    made in your reply. Beware, you may want to refill your coffee as this
    post is long .
    I am using an embedded controller in a PXI-1044 chassis. I now have the
    chassis hooked up to our local network, and I am deploying my project
    to the chassis over the network as I am also connected to the local
    network. I have an oscilloscope next to me that takes as input the
    pulse train for a trigger and the generated sawtooth from the niFGEN
    for each trigger (rising edge of the pulse train from the 6602
    counter). Just to make sure synchronization is taking place, the
    sawtooth is also fed as input to the niSCOPE for acquisition.
    "PXI2" is what shows up when I choose to run a VI on the PXI chassis
    rather than "My Computer"; not sure why the 2 is there either, but that
    is what it says. I may have tracked down the issue I was having with
    writing, but more about that a little later...
    The attached VI is an update, although not much has changed. My
    application design is like this (keep in mind that some values for VI's
    are still constants in the block diagram while others are controls on
    the front panel): I am using the 6602 to generate a 1 KHz pulse train
    and routing this pulse train to PXI_Trigger0/RTSI0. I am also using the
    PXI_Clock (10) as a sample clock for this, and also using this same
    clock as the reference clock for both the 5422 and the 5124 (as per the
    synchronization help file mentioned for synchronizing multiple
    devices). Both the 5422 and the 5124 are triggered by a digital rising
    edge (from the pulse train) on PXI_Trigger0/RTSI0 (as it was routed
    there). For each trigger, the niFGEN generates a sawtooth waveform
    using a stepped trigger mode and outputs it. For each trigger, the
    niSCOPE acquires data. They are both synchronous, which is tough to see
    since one has its trigger source on the front panel and the other has
    its trigger source on the block diagram. All devices use PXI_Clock so
    they are synchronized.
    The expected behavior is to only generate a single sawtooth waveform
    per trigger with a certain number of sample points. I want to acquire
    the same number of samples using the niSCOPE, which is what I meant by
    "the extent of the waveform" in my previous post. So, should I change
    the 8192 to 1000 for the number of samples for the niSCOPE? What would
    you recommend for the sampling rate? I have been using 5 MHz for the
    niFGEN and 5 MHz for the niSCOPE...this is how it should be done,
    correct? If it is different in the VI, please let me know. For some
    reason, I have to adjust all of the values each time I open it since
    the default values are not the ones I want.
    I want to generate and acquire one waveform per trigger (one waveform
    per record). However, I want to be able to record a large number of
    records so I have enabled the circular buffer-like treatment of the
    acquired waveforms. The 100 or 1000 records is actually just a number I
    am giving it for now to make sure it is working before recording many
    more records.
    As for saving the niSCOPE data, I would like to save all data in a
    single file that is NOT ascii (to save space). I have been looking at
    the HWS file format, and would like to use it. I think the attached VI
    includes this at the bottom of the while loop. For each trigger, I
    would like to save the time (as accurate as possible) that the trigger
    occurred for the record/waveform, which appears to be (absoluteInitialX
    - relativeInitialX) as you said in your post (thanks!). I just need to
    store as much information about the waveform and time information for
    it as possible with the waveform in the file. So it looks like I will
    need to use the wfm info for that information, providing portions of it
    as waveform attributes in the HWS VI's?
    What format of data do you recommend I fetch, and will I be fetching a
    "Single waveform" or "Multiple waveforms"? Should I use I32, DBL, WDT,
    or other for the format? A balance between good precision in values and
    time it takes to fetch/record would be best.
    Given all of the above, I am having one troube with saving data to a
    file. As a reminder, I am deploying the project to the chassis over the
    network. When I choose a location and/or file to save the HWS data to,
    I only get choices that are on the PC's hard disk (such as C:\Documents
    and Settings\cgifford\...) NOT the chassis's hard disk. When I choose
    something other than "C:\" I get an error that the file could not be
    opened. However, when I choose "C:\" everything goes fine. The saved
    data is nowhere to be found on my PC though, so I am assuming that it
    is being stored on the internal 60G hard disk in the chassis that must
    be named "C" by default or something!?
    I have been told by phone support that I should be able to make a
    direct connection with the chassis just like another PC, and should be
    able to access the information on its internal hard disk in a drag and
    drop fashion. I however cannot directly connect to the PXI chassis to
    get the data that has been saved on the hard disk. We are running
    Windows XP on the PC. We did some poking around and noticed that the
    chassis is not running Windows file sharing, and only has ftp and http
    running. We tried to access it using ftp, but we didn't have a username
    and password to supply it. So, how can we enable Windows file sharing
    on the chassis? How can I connect to it to do drag and drop to get
    saved waveform data off of it? This is the main problem I am now
    facing. Eventually we would like to store data to an external hard disk
    connected to the chassis, which assumes that I can have access to the
    internal storage to tell it to save files to the external hard disk.
    For now saving it to the internal hard disk is just fine until
    everything is proven to work, but I would like to get the data off of
    the internal hard drive to put on another computer.
    Any answers/suggestions on my above questions are greatly appreciated.
    I also want to thank you for reading this long post . I eagerly await
    a reply. Thanks again in advance.
    Chris
    Attachments:
    5124_update.vi ‏143 KB

  • Waveform comparison

    Hello All,
    I need to compare two waveforms resulting after the surge test of coils....the first waveform I am acquiring and the other one I am reading from file ..... I need to compare their frequency of the waveform but I am just intersted in the width which is marked by arrow in attached picture....how can I do this in LabVIEW.
     And Could anybody suggest me how to compare the two waveforms with respect to their frequency their Y values and RMS ......I tried it using their Y value comaprison by making an array of the Y values of waveforms and comapring them in 5% Error range but not got correct results also  I am not able to write the waveform file which I am acquiring by using Write Waveform VI...Please suggest some hints.
    Regards
    Alankar
    Attachments:
    Wave1.JPG ‏31 KB
    SCR1.vi ‏265 KB

    Hello,
    It sounds like you're ok getting your frequency information.  As far as detecting your width, you can program the functionality you're looking for - basically you'll be analyzing your array of data looking for the charateristics you want, however the pulse measurements VI may be useful (see the waveform measurements palette).  For writing your measurements file, what error are you receiving?  You should be able to do this quite easily - attached is an example to help you get started (it generates sine data, and then writes to and reads from a file named test.lvm to your C drive, by default).
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear
    Attachments:
    Simple Generate Data with LVM File Write and Read.vi ‏232 KB

  • Script to random switch between different waveforms

    Hello.
    How correctly to write the script for switch between different waveforms during generation?
    For example:
    We are using the niFgen Allocate Named Waveform VI for allocate three Waveforms. When you run Generator, working first Waveforms. Next, the Generator is switched and used in the following only second and third Waveforms.
    Or, we configured 10 Waveforms, and in the process of generating to switch not cyclically between all, but only between 2 and 5 Waveforms.
    Whether it is possible to realize?
    Max O. 
    Engineer and software developer,
    TeSLa.
    Solved!
    Go to Solution.

    Hi Chris,
    Possible that the its scripts and came to use (though I now doubt), but with instruction the if/else/end ifmust be preceded by a generate or wait <N> instruction.
    In this case, if we add generate or wait <N> instructions to this script to get Abra-Cadabra some kind.
    Clarify, what is necessary:
    When starting is not pressed any triggers that generate a waveform0 continuously.
    Further, if we passed to the niFgen Send Software Edge Trigger VI - single the triggerX, begin to generate a waveformX continuously.
    These scripts do not provide the necessary algorithms:
    May be I do not fully understand the scripts work.
    How to ensure continuous generation waveformX by a single sent of the triggerX?
    Please, prompt.
    Regards,  
    Max O.
    Engineer and software developer,
    TeSLa.

  • Synchroniz​e two waveforms with different time

    Hi All,
         Thank you again in advance for you help on this. I am trying to create a setup where a spectrum is generated over time (millisecond time range, this function works properly), and a maximum for a peak that I select (this also works correctly) plots over time (minute time scale). However, when I try to run this, the fast plot is operating at about 40 Hz, and I have a calculation to allow a resolution feature for the minute time graph (the fast experiment is averaged a given number of times to produce a spectrum which is then analyzed for the maximum peak, so for example, at 40 Hz, and a resolution of 0.5 seconds, it should need to average 20 spectra for each point), but in operation, the time does not work correctly. At 20 spectra averaged per point, I only get about one point per second, not 2. So, in an attempt to correct this, I cut the averages in half, and was able to get it to work at very nearly 2 spectra per second. However, the time is not exact when compared to an external clock, and I need to know then exact time. Thus, is there any way to have the minute time frame graph count time on its own, and just plot a Y value whenever it recieves one? I need to have it plot in real time, as is currently achieved in the attached vi. In th attached VI, I am working with the "chromatography mode" tab, the other tabs already work correctly. However, I am somewhat new at this, and my code is a bit messy, so I apologize for that in advance. Thank you,
    <>< Eric
    Attachments:
    IMS Software v5.4.vi ‏158 KB

    Hello Eric,
    I see that you are creating a waveform using the Build Waveform VI and then wiring it to the outputs in the Chromatography Mode tab - namely 'Waveform Graph' and 'Waveform Graph 3'. Is the 'dt' value constant for every iteration of the while loop? If so, your output should have constant time spacing between plotted values in the waveform graph.
    So, again I am not completely sure what you mean by the IMS not operating at the frequency you input :-(. Are you seeing the problem in 'Waveform Graph' or 'Waveform Graph 3' or both? An simple example VI would be great to describe your issue.
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • Waveform timestamp

    I am using DAQmx and I am using the read function with the 1D waveform polymorphic instance. I am simply reading 10 channels of analog voltage data, but the reason I'm using waveform is becuase I need timestamp data for each sample collected. I also need multiple samples, which is why I'm not using single sample polymorhpic instance.
    WIth the ten channels, I'm extracting the Y data and then concatenating all the values into one 2-d array where each channel column represents one channel of data. I'm trying to extract the timestamp from the waveform using (get waveform component t0), however, how do I get the timestamp into a form that can be concatenated with the other 1d data? When I convert it to double it just gives me one element and not an array of data. So theres only one timestamp for every like 100 lines of voltage data. 
    Please see below code. 
    Solved!
    Go to Solution.

    Hi Dennis, I see what you're saying with using the math operations on the waveforms themselves. However, as you can see below I'm trying to add the single waveform arrays into one 2D array then write to waveform spreadsheet file, where each column represents each DAQ channel. Do you know how I can accomplish this?

  • Generate digital waveform form a read from spreadsheet.vi

    Hi, I'm very new to LabView and am having some problems in completing what I believed would be a very simple task.
    I am using the Read from Spreadsheet.vi to read in an Ascii tab delimited file that I created in Matlab (the file is simple a vector of 1's and 0's that represent a binary stream) All that I want to do is take the output from this and generate a digital waveform corresponding to the 1's and 0's in the array but I cannot find a way of doing this.....
    Help much appreciated,
    Thanks.

    You should be able to just run your data straight  in to the digital write function as long as you select the correct port width of your hardware.
    If you want to do it with a digital waveform it's a bit trickier, the digital waveform data type is a surprisingly complex animal.
    There might be a better way to do it, but this is what I've had to do in the past...
    The "build digital data" function needs a 2D array in, so convert your 1D array into a 2D.
    Then the digital data can be input into a Build Digital Waveform.
    Then the digital waveform can be output with the write digital waveform.
    Message Edited by Troy K on 03-23-2008 11:37 AM
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle
    Attachments:
    array_to_digital1.png ‏4 KB
    array_to_digital.png ‏9 KB

  • Saving waveform to retrieve it back to display on waveform graph

    I want to save a waveform that I acquire through my hardware and display it on a sweep chart. Its a time based voltage acquisition. I tried using write to spread sheet or save waveform options in LabVIEW 2009. But when I tried to read it, it only shows me 1 cycle of data(I will be suing a graph here because I want to add cursors to it). I want the exact same whole waveform to be displayed on a graph as I had acquired it. I want to avoid using express vi's since I will be acquiring 10 channels simultaneously so I dont want to slow down the execution speed.
    I am attaching the base vi that i made to read and write the waveform to a file(I am using simulate signal in this attached vi just to simulate a square wave and check my logic functionality).
    Can anyone help, please!
    Thanks in advance.
    Attachments:
    ro_up_read.vi ‏17 KB
    ro_up_write.vi ‏53 KB

    First of all, the "Append" should only be True when i does not equal 0.
    Secondly, you are only dealing with 1 signal, so have the dynamic data converter output a 1D array of scalers.  I then found that I had to transpose the spreadsheet on both sides (read and write).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Write and Read Simulated Signal.png ‏86 KB

Maybe you are looking for

  • Flex 2 Plugin for QTP -  Trial Version?

    We are trying to automate an application that was developed in Flex Builder 2. We downloaded the Flex 2 plug in from Adobe site, but it is asking for serials while trying to install. Is there any way we can get a trial version of Flex 2 Plugin for QT

  • Fast entry

    I would like to create a new variant for fast entry function via transaction code O7E6. New template will be used for Asset postings. But when I test the template; regardless of the account type I choose "Account" field is always regarded as GL accou

  • All the text is unreadable, after my latest FF update,

    The text is in rectangle boxes with unreadable artifacts. My ISP yahoo has the same issue as are all the pull down menus, except Headlines are readable. IE is fine. How can I correct this issue. Running XP sp3. Thanks, Joel

  • 15' Macbook Pro Retina  Ghosting to Yellowish Screen!

    Hi Guys. I have a Retina Macbook Pro 15' (Mid 2012) version which i bought on August 1st 2012. I have used my computer for couple months without any issue till ghosting and white spotting problems were accured. Finally, i visited Apple Store and they

  • Same folders in different business areas

    Hi, Is it possible to access folders across business areas? I was not able to do the above so I created (New folder from database) the same folder into 2 different business areas. But I cannot have the same names. Why? I see some folders created prev