03-03-2008 09:26 AM
03-03-2008 09:34 AM
03-03-2008 10:30 AM
03-03-2008 10:43 AM
03-03-2008 11:52 AM
Thank you for your help. I see that this VI allows me to connect size to any type of indicator, I8, I16, I32, I64. I'm not really proficient in LV so I assume that the output is polymorphic. In fact I am able to connect an I64 control to an I8 indicator without any problem. That surprises me, since one should not be able to do this, an overflow is eminent.
I created a VI to look at this issue and it appears that the indicator is automatically cast to the smaller size, if I64 = 3557097889 (0xD40501A1) , then I32 = -737869407 (0xD40501A1), I16 = 417 (0x1A1).
Dangerous stuff if you ask me!
03-03-2008 12:03 PM - edited 03-03-2008 12:04 PM

03-03-2008 12:18 PM
mefitzpatrick wrote:
Thank you for your help. I see that this VI allows me to connect size to any type of indicator, I8, I16, I32, I64. I'm not really proficient in LV so I assume that the output is polymorphic. In fact I am able to connect an I64 control to an I8 indicator without any problem. That surprises me, since one should not be able to do this, an overflow is eminent.
03-03-2008 12:35 PM
Thank you for all your help.
I have indeed tested the VI and it does work as you say, even though the Help docs are in error. The problem came to my attention when a particulally large file was created after a 10 hour operation. A typical file after 90 minutes is about 300 MB, the test to stress the system created a 3.3 GB file after 600 minutes. In the VI a test for file size > 1 MB failed even though the file was much larger.
Also, I learned about the VI coersion dot. I will keep my eye out for it in the future.
03-04-2008 12:10 PM
03-04-2008 12:19 PM