11-12-2013 12:04 AM
Hi pokerprof,
Good to hear it works.
Depends on the rate which you'll receive the data (i.e. how many data will you receive within 5 minutes). The counter will continuously be incrementing from 0 when the output you receive from VISA Read has the ;Data at the beginning.
Let's say you are using I32 format
If it exceeds 2,147,483,647, it will roll back to –2,147,483,648 (you can try this with a I32 numeric controller that pass its value to an increment and place an indicator at the output of the increment).
Since the condition is to be that if output counter => 3 to start extracting the data from 3rd block onwards, if you happen to receive... let's say, 2,147,483,648th data, the counter will show as –2,147,483,648 which means it is less than 3. So it will not parse that value.
The link below shows the data type range value:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/numeric_data_types_table/
So you can use another data type of a wider range for your counter if you think that range in I32 isn't enough. Of course if you are sure that you will not exceed that numeric range, it should not be of a concern. You can ignore it.
Warmest regards,
Lennard.C
11-12-2013 12:22 AM
Hi Lennard,
Thank you for the information. I believe I32 has more than enough for my readings as I am only reading it 1 reading per second. No problem at all.
Cheers !
11-12-2013 12:24 AM
Hi pokerprof,
Okay
Warmest regards,
Lennard.C