"Decimal string to Number.vi" bug in LabVIEW 2009 SP1

The "decimal string to Number.vi' seems to be the conversion of the input data in the type int32 internally even when the input tape in vi data is expanded floating point (no points of constraint).  This is causing me grief.  See attached vi

This bug is still present in LabVIEW 2010?

Thank you

Richard Ballantyne

There is no bug. You use the wrong function (see Help) If you want a floating point output. Use Fract/Exp string to a number.

Tags: NI Software

Similar Questions

  • The decimal string to number Conversion, cutting necessary zeros

    I'm new to the forum, but have been using labview for awhile. Finally found something that really puzzled me, hope I can find someone who is smarter than me! It may be something obvious too, but here goes. The attached vi is the cause of the error. I have a serial number I need to convert a decimal string into a number, I use later the number of "math" so he need as a number. The system always receives a serial number of 6 characters (ie. 123456), but today the system has received a serial number with two leading figures of the scale (ie. 003456) zeros. This compensation of all the bells of alarm stream (sent 4 digits), but the error found that started the 'intelligence' at the beginning of the monitoring program. I would like to know if there is a way to force the zeros in the decimal number in string to not shave off the coast of the 6-digit value above.

    File is located in LabVIEW 2014

    Ideas or comments, thank you!

    The problem is not the string functions.  This is the display format for your digital indicator.  Change the properties on that.

  • [Bug]? LabVIEW 2010 SP1 - Device Drivers Incorrect link

    Hello

    This page link to download LabVIEW 2010 SP1 Device Drivers Feb 2011 on this page points actually to November 2010.

    See you soon

    -JG


  • LabVIEW 2009 SP1 crashes when moving large selection with the arrow key

    If I select a lot (10 or 15) diagram components and try to move some distance with the arrow button, I'm often a program crash.  Because a reduced number of components seems to hang after a longer distance traveled, it looks like some sort of buffer overflow error.  I don't see this problem when you use the mouse to move selections.

    I checked to make sure I have the latest version of the video driver for my NVIDIA Quatro FX570.  I also tried to work with no hardware acceleration and no handset, written.  What happens on Windows XP SP3 with all current updates.

    It became so bad that I have to do a save as every fifteen minutes to avoid losing data.

    Why not use my mouse for all movements?  Because it is not as specific and not so easy to limit to only one dimension of the movement.   My hand is not as stable as it once was.

    I'm hoping someone will have a suggestion that will clear up this problem.

    As I have indicated, I had the same problem with 8.5 and just DID a new install of Labview 2009.

    Since it is possible that my three monitors configuration, which of course requires more memory video, may be at the origin of the problem, I am satisfied with workaround by dragging the objects closer to their final destination and then using the arrow keys.

    Three monitors are ideal for the front, block and help/Internet/probe damaged.  When I got to work in the field with a single monitor, I felt severely handicapped.

    You can consider the issue closed.

    Thank you for trying to reproduce the failure.

  • LabVIEW 2009 SP1 image ROI identification number?

    In BT 8.5 (Vision), several Kings had displayed beside them identification numbers:

    Apparently not so much more in 2009 SP1:

    The only difference between the two screws is that I used a classic image object and I am now using the modern version; and the image tool window is replaced by the image associated with the picture tool palette. There is no property of the image I can find to activate the return on investment 'Legends' or not.

    How the user is supposed to know what return on investment is that?

    Oops...: indeed. I checked my LV 8.5 code (actually written in BT 6 or whenever the first control of the Image has been released) and I overlay numbers KING myself right here!

    Given that I had used at the same time of overlay to get return on investment numbers, I've just reinvented the wheel... twice.

    I still think it would make sense to access this feature by default in the Vision Toolkit.

    X.

  • How to remove the scrollbars Panel sub with LabVIEW 2009 SP1?

    I did a search and found this thread on the subject: http://forums.ni.com/t5/LabVIEW/subpanel-scollbars-in-labview-8-0/m-p/284503/highlight/false#M149983

    I double checked that the horizontal and vertical scroll bars have not been successful in the appearance of window customize and they were not retained as shown in the image below.  You see scroll bars villain in the façade of the image at the bottom.  Of couse, since the code / sw cannot be shown, it has been repainted but you can still see the scroll bars along the frame of the side panel.

    Custom window appearance settings:

    Scroll bars appear at the bottom & right panel sub frame

    Found the solution...

    Right-click the scroll bars and select horizontal scroll bar and select always off.

    Repeat the procedure for the vertical scroll bar.

  • LabVIEW 2009 sp1 not having replied to the questionnaire / accident

    Hello

    I seem to have developed a problem with LabVIEW, in which case it freezes at a random point during execution. It is not a matter of a VI gel, rather LabVIEW itself stops working and has closed by the Task Manager. What I have running at the moment is a VI host that sends and receives data over a TCP connection to a target in real time on a PXI system. The real-time application continues to operate after the crash. The host system is also running control of 3D image showing some basic graphics. The entire system is controlled at a higher level by a program crushed in c# via a TCP connection, but can work alone. When you run stand alone the problem will not occur.

    The communication between LabVIEW and c# works very well, but at a random time during the operation, LabVIEW freezes while c# continues to work. This does not appear to correspond to a particular action by the c# program. I guess my question is, is there any likely culprit by which LabVIEW can be crushed by an exernal program where the only communication is via TCP, which seems to work very well and where it does not seem to be excessive memory or CPU usage?

    See you soon.

    Fixed a problem with an update of the graphics card driver.

  • LabVIEW 2009 SP1 - incorrect icon in connector component palette


    This was actually recorded under CAR # 116251 a long time ago. That being said, I can confirm that R & D is aware, but I feel that it is pretty low on the priority list...

  • String conversion number

    Hi all

    I need to convert the string like "-73.28" to the number - 73.28. With decimal string to number Vi I get only - 73,00 output with "-73.28" Dim input As string. What I've done wrong? How to get the required results? Also, note that it must be. the number of output!

    Thank you!

    Hi Nina,

    Firstly: have the decimal separator ',' in a digital indicator is just for aesthetic purposes, you can always calculate using the value...

    (1) you can change the settings of the operating system (Win: settings regional aka regional Einstellungen). I do this for all my computers as it seems "natural" for me when working with scientists/measurement data

    (2) you can move LV to ignore the decimal separator system settings - you will find in the dialog box options...

    But when using properly formatted output functions you do not need to change any setting...

  • LabVIEW 2009 linux crashes when editing a control, or a constant of resources VISA

    Linux crashes when I click on a constant resources VISA (block diagram) or control (front).  This happens on LabVIEW 2009 SP1 32-bit for Linux on CentOS (similar to RedHat 6.3) 6.3.  I have updated drivers VISA 5.1.2 and that did not help.  Thanks in advance for any ideas of five Linux guys out there.

    Hello Jason,

    My problem has been resolved with LabVIEW 2012.  To answer your question, LabVIEW would crash only trying to select another device in the list.  Thanks for your help.

    Kind regards

    Marvin

  • Can I build an application with Labview 2009 for Windows 7?

    Hello

    I use Labview 2009 SP1 and the application builder 2009 SP1. If I install the app on win7 this message:

    Engine run LabVIEW depends on failure to upgrade (...) version 9.0.301, language {} code that is not in the distribution.

    Is it a problem with Windows 7, having two records of installation of 32 bit (C:\Program Files (x 86)) and 64 bit (C:\Program Files)?

    I had an application built on a XP machine and installed on a Windows 7 computer that was looking for the files in C:\Program Files when they were actually installed in C:\Program Files (x 86) - because it was 32-bit application.  After the installation I had to move the files to 1 place to another to make it work.

  • Is there an Excel to TDM plugin for LabVIEW 2009

    I downloaded the Excel to TDM plugin and could not run. Dialog error usiReg said "this configuration file was created with a new version of the ICU and can not be used with the software you have installed." I installed LabVIEW 2009 SP1 and the .net version is 4.0. Y at - it another version of the 9

    the plugin I can use? Is there something else I can do, or am I just out of luck, until I update?

    Hello

    the functionality to open Excel files has been added to the ICU starting with version 1.8. However, the ICU in the manner described above upgrade you will register to use ExcelTDM and make it available through the _openWithRoot.vi in LabVIEW 2009. Simply install or DIAdem 2010 NI LabVIEW 2010 as a demo version.

    Please see also the comments from readers on the page of ExcelTDM use, a client has requested the use of using Excel in older versions of DIAdem:

    ExcelTDM use

    Greetings,

    Uwe

  • convert elements using the DAQCard-6024E card to USB-6221using LabVIEW 2009

    I just got an old project, the VI has been primarily designed using the DAQCard-6024E map. Since we would be upgrading the equipment and the DAQCard-6024E serves not long. However, they want to keep the similar façade. I am trying to convert the drop-down menu that I can use with USB-6221 with Windows 7, but I don't know how. Can anyone help?

    Windows 7, NI USB-6221, LabVIEW 2009 sp1

    Hi smoothenigne007,

    After watching your upgrade.  All your writing VI should use the same task.  There is no need to close this task until the end of the program.  In addition, you can remove all the time because they do not allow the task close a loop.  I did a performance highlighted with your code and you can see that the first task was not allowed at the time wherever the data reached the second task.  When you try to create the second task, the error is generated.  Because you do not give me multiple writes to the same port there is no need to open and close the task each time.  Here is a link that will explain a little more about the DAQmx driver works.

    Getting Started With DAQ

    Kind regards

  • String to number conversion problem

    I have a VI that pulls in data from a device using VISA, and I got it on another computer to work a few weeks back. I had to transfer the VI to a laptop computer to run a few tests, and now I can't make it work. I am unable to put my VI because the laptop on it's is unable to access the network companies, I will do my best to explain it all, I apologize for the inconvenience! My problem is not however with VISA, it's with an exit VISA number conversion chain.

    I have attached a painting drawing of VI to better explain it.

    I use the block series Visa football match in baud rate and all that many good things to the unit and port settings set of device management. Then, a while loop is entered. The loop will run until you press the stop"" button. The next block of visa is the writing block, he asks for a reading of the device. The next block of visa is the first block of reading, he returns playback in the form of "NA-XXX. X' where x are numbers. The next block of visa is the second reading block, this block just echoes back the command sent to the device. Playback of the first visa read block, "NA-XXX. X' is going exponential/fractional chain to digital converter.

    When you perform a run/debug to highlight run, the release of visa reports the correct value, is the value of the device reading - however the string to number converter generates a 0,000, no matter what channel number is. I am at a loss as to what may be wrong because it's the EXACT set up I had to work very well a few weeks ago!

    I'm using Labview 10 on the laptop, the old computer was labview 7. I'm guessing that this is perhaps the rub... I Redid the VI from scratch, although I have not opened the old VI in labview 10.

    Any help would be appreciated. Again, sorry I am unable to attach the VI.

    DARB wrote:

    I have attached a painting drawing of VI to better explain it.

    Would it not have been easier to just post a screenshot? You might also have used the Tool of Capture of Code. (Which reminds me that I need to install it to my previous versions of LabVIEW, as evidenced by the screenshot I took. )

    As to the question: you probably either:

    • employee analysis of chain initially and when you rewrote the VI you used the regular string conversion functions.
    • Wired an offset value in the string to the number function.

  • How to convert string to number in TS?

    Hello

    Anyone know how to convert string to number in TS?

    I couldn't find the Num() function.

    Thank you

    Val()

Maybe you are looking for