LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set more than 100 acquisitions at "write to text file.vi"?

Solved!
Go to solution
hi

i'm working with labview for about a week and i need some help.

i use the "write to text file.vi" in one of my VIs and now i discovered, that the number of acquisitions in this VI seems to be limited to 100.
but i need a lot more (about 10000). so i need to know, how to raise the number.

if you need more informations, tell me and i post it!


thx
fr33k
0 Kudos
Message 1 of 10
(3,234 Views)

Hi fr33k,

which function do you mean and where do you see the limitation?

 

Mike

0 Kudos
Message 2 of 10
(3,231 Views)
hi mike,

in the "write to text file.vi" you have 2 options!

1: set the "number of acquisitions"
2: set the "number of points per acquisition"

the first option (number of acquisitions) gives the while-loop in the VI the number of times it should go through, i guess!
and this number is limited to 100. (when i want to type in a higher number, it resets me to 100).

is it possible to increase this number?
so that the while loop can be run 10000 times for example?
0 Kudos
Message 3 of 10
(3,222 Views)

Hi fr33k,

can you please show an image of the vi you mean? I think you don't mean the "normal" "write to text file.vi".

 

Mike

0 Kudos
Message 4 of 10
(3,218 Views)
hmm...strange...i thought it's the "normal" one.

0 Kudos
Message 5 of 10
(3,214 Views)

As Mike said can you please post a snapshot of your code

0 Kudos
Message 6 of 10
(3,209 Views)
ok. here is the code of the VI but nothing is changed.

0 Kudos
Message 7 of 10
(3,205 Views)
Solution
Accepted by topic author fr33k

Propably the Control has the Range properties set.

Right Click on the Control and select Properties. Then go to the Range tab.

 

Felix

0 Kudos
Message 8 of 10
(3,187 Views)

The shown VI is one of NI's example VIs, to show you an example of how to use the write to text file function. See the VI's context help for more information. The "number of acquisitions" control has a range of 1 to 100 specified in the NI original, and is set to automatically coerce values outside of this range. (Prroperties, Data Range)

 

 

The write to text file function is the one in the top middle of the while loop.

 

Rod.

 

 

0 Kudos
Message 9 of 10
(3,182 Views)
thx for your help!
got it now.
0 Kudos
Message 10 of 10
(3,176 Views)