LV2010 novelty: constant digital DBL

I like how there is a new element added to the digital palette in LV 2010.  It's a digital constant already set for double precision representation.  Previously, you had only a constant digital integer.  If you wanted a double, you will need to file the constant digital blue integer, then go through a right-click to change the representation of the integer to double.

Thus, it avoids a boring stage.  It is very good.

But I have a question, when context-sensitive help is show for this item from the palette, what is the "(4800)" average in parentheses?

Four digit after SubVIs refers to the model of part of the connector of the Subvi. I believe that this number appears only when you have active script. The valid component of connector beaches range from 4800 to 4835 (someone correct me here...), where 4800 is the single pane terminal connector.

Tags: NI Software

Similar Questions

  • Decimal rounding everything by creating a double when constant digital VI Scripting

    Hi guys,.

    First post here, so please excuse any misstep. I'm using LabVIEW Professional Development System 2013 SP1 on a Windows 7 computer; I'm kinda new to LabVIEW, but have a good background in other programming languages. I recently stumbled on VI Scripting and have been playing with it. As the title says, I had a hard time creating decimal numeric constants whose values are not rounded. It seems to me that when I pass the double (42.1) to the property node, it somehow gets cast in full. I tried to adjust the value of AdaptToEnteredData to true, but I think it doesn't affect the digital object in the newly created VI (output). It seems that the problem is how pass the numerical value for the property node in the original VI, but I don't really know how else to do in addition to the way I presented.

    Please let me know if there is any other necessary information and thank you for your help!

    Sebastian

    Property nodes run from the top down. Move the representation above the Value property property.

    Lynn

  • is it possible to increase the content of a digital picture by a constant.

    Hello

    I use the universal library to read a voltage from a data acquisition device, and it seems that the playback feature is put in a 1 d table then in a chart.

    I need to get this tension and multiply by a number and couldn't just as it is in table format.

    How would I be able to multiply the contents of the table by a constant digital?

    Thank you

    When you try to multiply the value that you must take the value of the waveform, as shown below or by reading the value itself you could choose 1 double d instead of waveform.

    Good luck

  • Use scripts to create digital orders without button increase/decrease

    I'll have fun using scripts to do things that were once "impossible", like the creation of a cluster programmatically in a list of variable names and their types associated with (use in a later program).

    When I create a digital control on a front, she has the visible increment/decrement key, by default.  I wanted to create controls without this feature, but I could not understand how (or even if it is possible, but I don't see why not).

    Any ideas?

    BS

    Just above the digital named menu item is the one you are looking for: digital

    Use the digital constant digital control for Style and class.

  • Digital format in 0.000E + 0 in format string

    How to format a digital DBL double 0.000E + 0-shaped, functional screws?

    Do I need a REGEX for string format?

    Thank you

    Alan

    saintalan94 wrote:

    How to format a digital DBL double 0.000E + 0-shaped, functional screws?

    You just need 'in Format string' function with the correct entry of STRING of FORMAT .

  • creation of several constants

    Is the creation and use of several constants (string or numeric, say rather using two constants digital, conating the same value, in two places in the same VI stantdifferent, if I use a constant as common) affects anywaym on memory consumption or performance? What happens if the constant is large table?

    I'm not sure what you're asking here, but each constant on the block diagram clearly requires is memory space for storage. The constants you have, more memory is needed. It oughn can't affect performance, however, unless you're talking about several hundred megabytes of constant data past autour.

    Also - is there an alternative? When you need a constant, I can't imagine there is a more effective way to provide a more to use a?

  • Logical operations on a string of bits

    Hi, I have a very simple question that I can't seem to understand.  I'd just like to perform logical operations (AND, GOLD, etc.) on 2 strings of bits that are 24 bits long each, however I can't find in the palette of functions a function that acts as a binary constant.  I see that constant digital and hex functions.  You can somone please let me know where I can find it.  For example, I would AND ' 111111111111111111111111 '& ' 000000000000000000000000'.

    You know the difference between numeric and string data types in LabVIEW? Blue = digital = integer. Pink = string. In the example you linked to, they use an integer constant when the display format is set to "binary". The 'b' of the constant indicates the radix, which in this case is 'binary '. Right-click on a digital constant and you can change its display format. You can select one of the predefined formats or you can specify a by clicking on the option "Advanced Editing Mode. Eligible formats are defined by using LabVIEW. For example

    %b = binary

    % 8 b = binary, using the width of minimum field of 8, fills spaces (for example, '1101')

    % 08 = binary, using 8 minimum field width, filled with zeros (for example, "00001101")

  • Digital constant empty?

    It is more of a thing of aesthetics than anything else, but I'm looking for an analog/digital the 'empty string constant.

    I'll save this data in a file with the 'write to spreadsheet.vi"the array of strings on top will be recorded first as a header for the data that is in the table below.  I would like to separate the peaks and the valleys with a column empty and would rather not only a giant column of zeros.

    There is no such thing as a digital void. I suggest that you all just to all convert to strings.

  • Is there a way to generate a constant tension with the help of digital I/o

    Hello everyone,

    I know that Digital
    IO used only for digital waves, but I was wondering is it possible to
    have a constant voltage(0-5volt) of DC using the digital I/o, perhaps in
    increase the pulse width and the decrease in frequency. Do you have
    idea of?

    Thank you

    Ashley

    Not sure how ripple would, but you could the pulse output and change the duty cycle. Power than an RC filter maybe. You will need to collect some data about how wide pulse generates what voltage for a given frequency.

    -AK2DM

  • I have 3 domains. A field is a constant date mm/dd/yy. The second field is a digital number (1-120) and can be changed. The third field calculates two fields 1 and 2 in the summation and shown in mm/dd/yy. How do I calculate that in the script?

    How do I calculate that in the script? I have 3 domains. A field is a constant date mm/dd/yy. The second field is a digital number (1-120) and can be changed. The third field calculates two fields 1 and 2 in the summation and shown in mm/dd/yy.

    You searched for ' add days?

    You must write a custom for this JavaScript calculation because you cannot add a number any date. Also the date strings are not just a number, even if we can convert a given date in a number for that date that represents the time form a date date (Epoch). Witn this value, we can achieve them all kinds of date calculations and collect a little information about the date. JavaScirpt uses midnight on January 1, 1970 UTC for starting point or the date of the time. Its value is zero, and every millisecond increases the value of 1. When a date string is converted to the date object JavaScirpt we have access to many properties of the date and can use several methods to extract information or adjust the date object.

    Field 1 is in the format "Date" with a format of "mm/dd/yy".

    Field 2 is in «Number» format with 0 decimal.

    Zone 3 is in the format 'None '. The custom calculation script applies to the formatting.

    The custom for JavaScript calculation area 3:

    var cField1 = this.getField("Field_1").valueAsString;

    var cField2 = this.getField("Field_2").valueAsString;

    Event.Value = "";

    If (cField1! = "" & cField2!) = "") {}

    Console.println (cField1 + "" + cField2);

    calculate that if we as no null data;

    var cDateFormat = "mm/dd/yy";

    convert start date date object.

    Kai var = util.scand (cDateFormat, cField1);

    get the date of the month;

    David var = oDate.getDate ();

    Add field 2 number of days;

    David = Number (nDate) + Number (cField2);

    of being updated for the new date.

    oDate.setDate (nDate);

    Set the field to update formatting;

    Event.Value = util.printd (cDateFormat, letter);

    } / / end of data not null;

  • constant output voltage DAQ NI PCIe-6321

    Good evening

    I am trying to output a constant tension there 10V DAQassist.
    However, as far as I know, when I want it to generate signals, it will only display waves.

    I'm relatively new to labview and can not fully use the modules of the individual drivers for DAQmx.
    Currently I use an external voltage source to power a set of scales that I'm trying out signals in LabVIEW.
    I've been somewhat successful, but a cleaner set would be to get an output of data acquisition to fully integrate the system
    I know that traditionally deplete you a game recommended by, OR like this:
    http://www.NI.com/white-paper/7138/en/

    However, I work with hardward existing on a limited budget.
    I have an acquisition of data NI PCIe-6321, with a block of connection BNC 20990.
    So, I work with BNC connectors.

    Change the AO writing single-channel > sample > DBL. That should give you a single value whenever you call the VI of Scripture. Also change the entry of data in a single digital control. Maybe call it voltage or something like that? You can probably remove the synchronisation screw DAQmx and the node property Regen as those who will be most relevant.

    A cell of 700 ohm load will draw 10 ohms = 14.3 V/700 mA, which is still well above the 5 limit my AO lines.

    A load cell is wired as a bridge. It is the equivalent of two voltage dividers. Without load on the output of the cell the two lines have equal tension: 5.00 V. When you have a 20 mV out of load cell tension on the two output lines will be 4,990 V 5,010 V (or 5,000 V and 5,020 V, according to the internal configuration). So your 6321 must be configured to accept 5,020 V (plus a bit of noise, mistakes and overload conditions). So, you will need to set it to 10 V range. On the 6341 (I happen to have the factsheet - the 6321 is probably very similar) which means a +/-10 V rank. Which translates a theoretical resolution of 0.3 mV. The output 20 mV full scale of the load cell, it comes down to resolution of 6 bits (6: 16).

    Two possible ways to improve: 1. use a preamplifier or a signal conditioner to amplify the 20 mV at a few volts. These usually have the differential amplifiers to reject common-mode 5 V. voltage They can also have hardware filters.

    2. use a power supply excitement split so that the load cell is excited by the + 5V and - 5V. This puts the common mode voltage to ~ 0 V and you can use the +/-0.2 V rank on the lines of HAVE it.  The resolution is then about 6 uV and the effective resolution on your signal is approximately 11 bits.

    Lynn

  • the parameter mapping constant to a control block Veristand simulink block

    Hello

    I'm trying take a simple model of an RL circuit in simulink (build a DLL) and control of the constant blocks in Veristand to dynamically change the value of R and L constant through Veristand Slider indicator or digital. I can see the output of the model run, based on the initial values that I have loaded, but I'm not able to mapping of these parameters to any digital control.

    Any thoughts on how to do this!

    Hey, Trever,.

    You must use a command of calibration model to interact with parameters, and not a digital control.

    Take care!

  • Ring type constant def not updated for LabVIEW 2010 SP1

    I have a problem with the update of the control ring LV 2010 SP1 constants.  If I change the values or names of elements of a ring of control that has the defined type (type def or type strict def) my constant schema do not update.  The constants are set to Auto-Update of type def and if I right click on the constant, change to a control and then back to a constant, they update very well.  And if I have a control/indicator on the comic it refreshes also very well.

    Anyone else seen this problem or can someone seeks to duplicate?

    LV 2010 SP1 bug?

    Thank you

    Dan

    It is not a bug. See here - http://digital.ni.com/public.nsf/allkb/46CC27C828DB4205862570920062C125

  • Order of the analogue channels 2D DBL NChan NSamp VI

    The help file for the VI "Analog 2D NChan DBL NSamp" says that we can control the order of the vectors in the double 2D it creates by two ways:

    (1) the order in which the strings are added to the task

    (2) what is called the property of "playback channels.

    I understand one, I think, and I can order strings like I want this way.  However, I prefer to use the second option, so that if somehow the wiring of channel mixes, I can still have the channels in the order that I prefer.

    Can someone help me understand how to do this please?

    Thank you!

    A little. The property of 'Playback channels' actually accepts a data type DAQmx Global Channel, even if you have a data type DAQmx task name. So the right way to use the property node DAQmx Read is to creat just a constant or control of the property 'ChannelsToRead' and entering the order the channels you want. I provide an excerpt from VI to help illustrate:

  • multiply the channels with a constant

    Hello

    I want to multiply all my channles with a constant value say 4.3

    So I thought to generate a new string with all its value as 4.3 and multiplying this channel with my current channel. I used

    Dim MyChnName, I have

    MyChnName = ChnAlloc ("Mass", 2400, 1, DataTypeFloat64, "Numeric") ' Allocate channel of text
    For i = 1 to 200
    CHT (i, MyChnName (0)) = "4.3" & I "create value of text
    Next

    But it generates values as 4.31, 4.32... 4.3XXX

    I want that all the values are constant. How can I modify my code to do this?

    Or multiply all my channle with 4.3 values directly (without creatine a channel) how to move forward with this?

    Hi Rash.patel,

    Do you really speak a text - which means «abc123...» » ? According to me, not because you set a digital channel with chnalloc. And in the next line, you connect traction chains:... = '4.3' & I. VBS connection string is just the strings together as "abc" & "123"-> "abc123". I think that this is not what you want to do. If you use a loo, you must set:... = 4.3 + i

    But in general, you must use the DIAdem Standard mathematical functions because they are much faster than looping through the unique string values.

    In the DIAdem mathematical basis, you will find the functions you need, like scaling, offset correction...

    Greetings

    Walter

Maybe you are looking for