LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DBL vs CDB explained?

Can someone clearly explain what DBL and CDB means at the end of a *.vi?  DBL = doubles? and CDB = Complex doubles?  SS


0 Kudos
Message 1 of 8
(11,138 Views)
could mean some kind of DataBase file... not exactly sure
0 Kudos
Message 2 of 8
(11,134 Views)
Can you give an example/screen shot of such a case?  Are they VI's you wrote or NI's VI's?  I wonder if it could the particular instance of a polymorphic VI.
Message 3 of 8
(11,129 Views)
No you will see it at the end of some labview .vi's in the title bar (DBL).  See attached.  SS


0 Kudos
Message 4 of 8
(11,128 Views)
It does have something to do with polymorphism see attached.  SS


0 Kudos
Message 5 of 8
(11,119 Views)
A polymorphic VI is a collection of very similar VIs that differ in their datatype. LabVIEW selects the correct version depending on what datatype you wire to it. In this case, it will select the DBL version if you wire a DBL input and the other version if you wire a complex input.
 
For onvenience, the names of the alternatives were tagged by the developer with the datatype in the filename. This is just cosmetic and nothing to worry about.


Message Edited by altenbach on 01-18-2008 10:08 AM
Message 6 of 8
(11,095 Views)

ShotSimon,

"DBL" and "CDB" stand for "Double" and "Complex Double".  In this case, the Blackman Window VI has two polymorphic instances, one for an array of doubles for an input, and one for an array of complex doubles for an input.  The abbreviation at the end of the file name is just a convention used to keep track of which instance VI is which.

Chris M

Message 7 of 8
(11,094 Views)
Thanks guys.  SS


0 Kudos
Message 8 of 8
(11,089 Views)