INFO: Dieses Forum nutzt Cookies...
Cookies sind für den Betrieb des Forums unverzichtbar. Mit der Nutzung des Forums erklärst Du dich damit einverstanden, dass wir Cookies verwenden.

Es wird in jedem Fall ein Cookie gesetzt um diesen Hinweis nicht mehr zu erhalten. Desweiteren setzen wir Google Adsense und Google Analytics ein.


Thema geschlossen 

Interner / Free Running Counter



Wenn dein Problem oder deine Frage geklärt worden ist, markiere den Beitrag als "Lösung",
indem du auf den "Lösung" Button rechts unter dem entsprechenden Beitrag klickst. Vielen Dank!

19.05.2006, 13:43
Beitrag #1

nemesis Offline
LVF-Grünschnabel
*


Beiträge: 16
Registriert seit: Apr 2006

8.20 inkl. Real-Time und FPGA Module
2004
kA


Deutschland
Interner / Free Running Counter
Hi erst mal,

Ich probiere mich gerade an verschiedenen timer Funktionen / VI´s

so z.B. auch am Tick count.

Allerdings verstehe ich diese VI nicht.

Diese Hilfe find ich auch nicht wirklich sinnvoll, vor allem da free running und internal Counter nirgends erklärt sind.

Zitat:Tick Count (FPGA and RT Module)
Returns the value of the free running counter in the units specified. The output and internal counter are both of the configured width.

Dialog Box Options
Block Diagram Outputs
Place on the block diagram. Find on the Functions palette.

Dialog Box Options
Parameter Description
Counter Units Unit of time the VI uses for the counter.
Ticks—(FPGA and RT Module) Sets the counter units to a single clock cycle, the length of which is determined by the clock rate for which the VI is compiled.
µSec—(FPGA and RT Module) Sets the counter units to microseconds.
mSec—Sets the counter units to milliseconds.

Size of Internal Counter The maximum time the timer can track. (FPGA Module) To save space on the FPGA, use the smallest Size of Internal Counter possible for the FPGA VI.

Block Diagram Outputs
Parameter Description
Tick Count Returns the value of the free running counter at the time the VI wakes up. The free running counter rolls over when the counter reaches the maximum of Size of Internal Counter specified in the Configure dialog box.

Ich habe mir z.B. ein VI geschrieben welches mir einfach den Wert des Tick Count ausgibt und die anzahl der Schleifendurchläufe. (Also der Tick Count in einer While Schleife) Die Schleifendurchläufe bleiben immer auf 0, und der Zähler gibt irgendwelche Werte aus , teilweise sogar negative.


Hat jemand mit diesem Bauteil schon einmal gearbeitet und kann mir vielleicht ein paar Tips geben?
Alle Beiträge dieses Benutzers finden
to top
Anzeige
Thema geschlossen 


Gehe zu: