Let’s now do a write a program which includes different data. Programming Example of labview data types Float however can store only floating point data types. an integer type variable can only store and display integer type data and a string type can never be connected to a float indicator. Each data type has a specific type of data stored in it, i.e. Whereas, in LabView, an addition data types namely waveform and errors are also introduced. In programming the most common data types are Integer, Float, Boolean, Double, Array, and String. However, in this tutorial we assume that you are a beginner and let me explain a little about types of data. If you are a programmer of any other programming language you must be familiar with the term data type. For example, if a data variable is of type integer then the indicator connected to display its value must also be of type integer, otherwise the VI will give you an error or it may not connect the two blocks in the first place. In a VI every data type has unique color which can’t be mixed or interconnected with other. Data type is a very important term to be kept in mind while programming in LabView.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |