conversion issues dynamic data in dbl/Boolean to a simulated signal

Hello world

I try to just do simulated flashing of the LED with a square wave. It has been 3 hours I'm looking why the does'nt of convertion of dynamic data that is updated at each iteration (it seems that the problems).

I tried with all the options of the object to "convert", but I could not (I'm desperate)

in the attached .vi, I chose "the most recent value.

could have a peek at my .vi?

Thank you very much

Guillaume.


Tags: NI Software

Similar Questions

  • problem about dynamic data to the conversion of table 1 d

    Hi all

    I have problem with the conversion between dynamic data and table 1 d.

    I wrote a simple VI to show the problem, as the attached picture. Convert dynamic data in table 1 d, and then return to the dynamics of data, I use 3 tables of waveform display data in 3 different places, but only 'force contact 2' the graph looks normal and the 2 other cards are strange data shows. In addition, the probe indicates that data are all just before going to the charts. What is wrong with him?

    Can someone help me?

    When you convert a table, you lose your calendar information.  You need to convert a waveform and manipulate waveform data.  Use a Structure of elements in Place with waveform components to manipulate waveform data.

  • Medium-sized dynamic data analog input read DAQmx read

    Hi, I'm new to labview. Is there an easy way to index using the dynamics of data returned by a readout DAQmx x samples to calculate a moving average? My thought was to read the analog input for X samples pump with the data in another loop through the data, but I can't quite understand how index using the returned data set to extract the measurement value double returned for each sample.

    Any ideas on that?

    Thank you...

    If you get a type of waveform data, why did you ask on dynamic data? No, of course not would you use the conversion of dynamic data on a waveform.

    If you want only one channel, then your DAQmx Read could be changed to 1Chan NSamp. If your channel list only has one channel, you will get a table 1 d with a single element that can be indexed. To get the average of a waveform use the statistical function with the waveform. You use the average Point by Point, and not the average function that has a table for an entry.

    Make sure you always have context-sensitive help on. You can avoid many of these rookie mistakes simple.

  • Dynamic Data in Array - time values

    Hello

    It's me again.

    I have read the lines of a lvm-file and save it in a table by using dynamic data type conversion. The first column, I have in the file is at the same time; I wish I had the time as the first column of the table too, but I couldn't find how to do this. I found this thread , but I think that I can not use this way because I read the unique lines and treat...

    The attached picture should show how I mean this. So, is it possible to get the time (from file) as a column in the table?

    Thank you

    mkrtwo

    Hello

    I'm afraid, because most of us never use screws express, you can have a hard time finding someone willing to get acquainted with them to analyze your code.

    My advice is to get rid of the express vi (not just because you'll get more responses ).

    Using the palette file I/O, and then something like string from picture to picture the range of string to convert your data into a 2D array can give just the output that you want.

    Best regards Florian

  • Dynamic data of several channels in table, then save in Excel

    Hello

    I am acquiring data from several channels (4-5) and I'd like to collect samples at low rates (10 Hz for 3 minutes max). For various reasons I use Dynamic Data type, although I know that it is not the best way (some say it is a wrong data type ). I also want to save data to a file (the best option would be data excel file).

    If I acquire data 10 times per second, it is quite slow to save in excel (this is the slowest option of all types of data). So I would like to fill a table or matrix of acquired data and then write Excel file (I use scripture to measure file). But I don't know how to do - if I convert DDT in DBL, build an array and connect it to change registry, it works but I lose the information in column names and I'm wasting time. If I connect to build the table a DDT and then shift record another, it returns the table 1 d of DDT. I would like to have 2D DDT, which collects all the information loop.  Is there a suggestion how to solve?

    I'm sure it would be easier solved my problem with the double data type but I also use select signals VI which is the VI I am not able to replace at this time.

    Good day

    Lefebvre

    I don't know if there is a question here, or what.  Doing what you say you want to make, acquire the data of 4-5 channels at low rates (10 Hz for 3 minutes) and save the data in an Excel file (I assume you mean really Excel, i.e. a file with the extension .xls or .xlsx) is really a very easy thing to do in LabVIEW, especially if you are not using :

    • DAQ Assistant
    • Dynamic Data
    • Write to the action file.

    Indeed, you seem to realize this, but I guess you want to 'do the hard', in any case.

    Good luck.

    Bob Schor

  • Connection of door AND dynamic data

    The program compares a thermocouple readings to a constant. The superiors are introduced into a door AND exits. However, if one of the inputs can be connected in dynamic data at the port of entry of the door AND. When the same data of the other DAQ is sent, it gives an error. Interchanging the ports also gives the same error.

    Can I use a Boolean Dynamics to the converter so to counteract this? The output of the gate AND then entered the port of exit DAQ.

    Thank you.

    Hello

    try something like the logic shown in the attached photo.

    Let us know if that's what you're looking for.

  • How can I draw dynamic data that I get a hardware DAQ against each other?

    Hi all

    I am trying to acquire voltage and current data of DAQ hardware. My goal is plotted against votlagein current a continuous path. As the votlage is increased at intervals of 1 Volt, every second I want to see how the current. However, this data is dynamic and I need help find how to draw in a single chart. Any thoughts on how to draw the two different dynamic data against each other in the same graph?

    You help will be very appreciated.

    Thank you

    If I understand what you're saying, looks like you want to have the update of XY graph with each new data point (or points) acquired, but also choose to keep the previous data on the XY graph.  If that's what you're after, I build on my previous example.  For the method of use of the express VI build XY graph, you can simply double click on it and uncheck the "erase data on each call.  For the other method of construction of the dashboard cluster, you will need to add a few records to offset to maintain the previous itterations table values.  Here's the updated image:

  • Plot multiple charts XY (dynamic data type)

    Hello world

    I searched but could not find the solution. I'm tracing several XY graphs with dynamic data type.

    I have here an example five 2D-arrays of X/axis Y to draw.

    I need them in dynamic data in order to trace in Diadem using Diadem protocol.vi.

    I get all the values of the X/Y axis as values Y.

    Any help is really appreciated,

    Yan.


  • Producer / consumer set loop of dynamic data item type

    Hey all,.

    I do a simple exercise of producer / consumer in a loop. In my loop of producer I audio Aqcuerir and in the loop of consumer I'm projecting on a chart

    Everything works as I had in mind, the only thing that bothers me is the way that I had to set the type of the element to the block "Get the tail" at the beginning.

    I knew no better way to get the kind of data that I used to just take an another "acquire its" Express VI and which hang. But that may not be the only way to get there, right?

    Note: I know that I might not need to use a producer / consumer design tend to do, but I need to get hold of technology for school work so I came with this exercise just to get a hang of it.

    Thanks in advance,

    Al.

    Al,

    You just need to feed the correct data type in this entry, which you did by getting the output of a second acquire its Express VI.

    You can also use the "Convert to Dynamic Data" function to do this.  When you drop to the bottom of the function, you will be asked to give the input type.  Tests I've done, it seems not to matter, but for example if you chose the entry to a single scalar type, you need to feed a digital constant (change to double type) in the entrance and use the output of dynamic data such as line item data.

    I don't like the dynamic data type because it is not very clear as to what it is.  Another thing you could do would be to use the "Convert from Dynamic Data" function to change the output of the VI of its acquisition to a different data type for more or less to avoid the original problem all together.

  • Table 1 d of dynamic data index

    Hello.

    I have 2 son of dynamic data. Basically, I want to access each item of two, with a single function (module) in a moment.

    I use table to build, and with a probe, I see for wire 1 (items: x 1, y1, z1,...) and for the 2 wire (items: x 2, y2, z2,...).

    Now, I want to use a function (module) good enough to choose for example to y2 2 and wire1 z1.

    Thank you.

    Hei, I got it!

    I used the table of generation 3 and 1 index table 2D. Innitialy, I put merger signals instead of build table, so I was stuck there.

    Thank you for being around.

    Here's a vi. My project is more complex, so I made an example for you. (LV 2010)

    Can it get any easier?

  • Track of multiple graphs on a single diagram of waveform with dynamic data types

    I'm putting multiple charts on a single diagram of waveform and data contract error. I was wondering if it has something to do with the fact that the dynamic data is used (I have had no problem with other types of data in the past). Does anyone know how to fix this? I have attached the following .VI. There will be a lot of. Live on the bottom which does not load, but they are not related to this problem.

    Thank you!

    Brian

    I don't know what you're doing now, but a part of your origianl code is simply ridiculous. Your DAQ assistant takes a single point. You convert that into an array. If you had converted into a scalar value (which is) first place, your graphics update would have been fine.

    If you want to remove the DAQ Assistant, and then select generate DAQmx code. You'll be a little more closely, but it seems that it generates a NChan DAQmx Read 1Samp instead of a 1Chan 1Samp DAQmx read.

  • Set the attributes for dynamic data waveform t0 zeros?

    HI -.

    A beginner to labview here, so please be nice ;-)

    I have a simple setup with mainly express screws where I follow the steps below in a while loop

    (1) collect signals with the DAQ Assistant, that generates dynamic data. It is the collection of samples of N

    (2) changing the attributes of the dynamic data using the express VI 'Set the Dynamic Data attributes'

    (3) storing dynamic data revised to a file by using the writing to the file of the measurement.

    The problem I was see is that whenever I have insert the express VI 'Set the Dynamic Data attributes' in the data flow, I find myself with a file where synchronization of the signal (i.e., the waveform t0) was cancelled. This seems to happen any dynamic data attributes, I edit. For example, even if I try to set the name of signal I find myself with out having a nulled-out t0

    FYI, I'm using Labview 2009 9.0f3, 32-bit

    I have attached a code simplified showing what looks like a bug to me. Any help would be appreciated!

    It looks like a bug to me as well. Also, unlike other screw Express, you do a right click on it and select open the face before seeing what the problem is. It's pretty simple to find a work around. I converted to a waveform, has obtained the t0 and handed that back as the timestamp for the signal of slected.

  • How to change dynamic data

    Hello

    In my project, I use card PCI 6221.

    I can able to get data from a graphic design, DAQ card and save OK file.

    But I need to manipulate dynamic data before drawing the graph and backup in the file.

    I entered sensor, input voltage I need to edit as 10mv = 1unit. before writing to the file.

    How I can do this, any ideas please.

    Kind regards

    Hari

    Hi David

    I found the solution, thanks.

    Kind regards

    Hari

  • clear history graphic waveform dynamic data 1 d are used

    I'm new to Labview and uses a waveform graph.  To clear what I need to provide a table empty.  I did it with scalars entered, but in this case, the entrance to the chart is a table 1 d of dynamic data beam. I can't understand how create a table empty appropriate table 1 d of dynamic data type to initialize the plot (the story line).

    It seems that there should be a better (easier) way to erase the plot...

    Thanks for all the ideas.

    Hi rockybooth,.

    Right click on the connector to the history of the property and select "create constant. You should get what you need.

    It will be useful.

    Mike

  • Indexing of dynamic data

    I'm trying to store all the information through dynamic data, the main loop cable, by indexing. I want just to capture all the data that flows through these wires and put them in Excel at the same time. My only thought on indexing was to create a separate loop outside the main loop just if I could the values of the indices. I tried to put indexing in the main loop, but then I capture only one second of data. If I put another while loop in my main loop to index, my program enters an infinite loop (maybe because my stopping conditions were not correct).

    I enclose my entire program to this message. The problematic loop is highlighted in yellow.

    If anyone has any suggestions or advice, please answer! Thank you!

    I did some work on your VI and I had a few thoughts:

    1. you must get rid of the DAQ assistant - done

    2. you must organize your code better.

    3. you should look into a state machine - look at the example file NOR to see how it could be done.

    4. Add an event structure to manage the stop function. This should help with the problem you are experiencing.

    5. you should always try and adapt your code in a window.

    6. you will need to check that all the calculations and graphs work after I changed things around.

    I hope this helps.

Maybe you are looking for