LabVIEWForum.de - Priorität eines VI´s zur Laufzeit ändern

LabVIEWForum.de

Normale Version: Priorität eines VI´s zur Laufzeit ändern
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Hallo,

kann man von einem laufendem vi die priorität ändern?
ich habs nur hinbekommen, wenn das vi nicht gerade läuft und dann mit dem vi "lv referenz öffnen" und eigenschaftsknoten...
ich möchte es aber gern so, daß ich auch wenn das vi aktiv (also gerade läuft) ist, ich die priorität ändern kann!

freue mich über jede antwort...
mfg
Das kannst Du doch über einen Property-Node (den Du z.B. in einer Ereignisstruktur platzierst) machen.
Im Anhang ist der Property-Node dazu.

Gruß Markus

' schrieb:Hallo,
kann man von einem laufendem vi die priorität ändern?
ich habs nur hinbekommen, wenn das vi nicht gerade läuft und dann mit dem vi "lv referenz öffnen" und eigenschaftsknoten...
ich möchte es aber gern so, daß ich auch wenn das vi aktiv (also gerade läuft) ist, ich die priorität ändern kann!
freue mich über jede antwort...
mfg
Von einem laufenden VI die Prioritaet zu aendern ist NICHT moeglich (im edit modus sehr wohl...)
Was du jedoch machen kannst, ist auf Timed Loops umzustellen. 128 Timed Loops sind zulaessig pro Applikationsraum und von denen kannst du die Prioritaet zur Laufzeit aendern!
Jedoch musst du hierbei aufpassen, dass kein einziges VI Time Critical Prio hat, denn die Timed Loop laeuft in einer Prioritaetsstufe die zwischen High und TimeCritical liegt.
--> ergo, bei Verwendung von Timed Loops am besten die Prioritaet von VIs auf Normal lassen...
Was ist "Execution Priority" dann für eine Eigenschaft, wenn nicht Priorität der Ausführung?

Gruß Markus

' schrieb:Von einem laufenden VI die Prioritaet zu aendern ist NICHT moeglich (im edit modus sehr wohl...)
Was du jedoch machen kannst, ist auf Timed Loops umzustellen. 128 Timed Loops sind zulaessig pro Applikationsraum und von denen kannst du die Prioritaet zur Laufzeit aendern!
Jedoch musst du hierbei aufpassen, dass kein einziges VI Time Critical Prio hat, denn die Timed Loop laeuft in einer Prioritaetsstufe die zwischen High und TimeCritical liegt.
--> ergo, bei Verwendung von Timed Loops am besten die Prioritaet von VIs auf Normal lassen...
Execution:Priority Property
Property of VI.

Indicates the priority of the VI when it runs in parallel with other tasks. This property is similar to the Priority option on the Execution page of the VI Properties dialog box.

Remarks
The following table lists the characteristics of this property.

Settable when the VI is running No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access disallowed No
Loads the front panel into memory No
Must wait until user interface is idle No
Available with control VIs No
Available with global VIs No
Available with strict type definitions No
Available with polymorphic VIs No
Available in Run-Time Engine and Real-Time Operating System Yes (Read Only)
Permissions WriteInEditOnly


Anforderung von K:
Von einem laufenden VI die Prioritaet aendern
OK. Alles klar. Wer lesen kann ist klar im Vorteil. Blush

Gruß Markus

' schrieb:Execution:Priority Property
Property of VI.

Indicates the priority of the VI when it runs in parallel with other tasks. This property is similar to the Priority option on the Execution page of the VI Properties dialog box.

Remarks
The following table lists the characteristics of this property.

Settable when the VI is running No
Need to authenticate before use No
Loads the block diagram into memory No
Remote access disallowed No
Loads the front panel into memory No
Must wait until user interface is idle No
Available with control VIs No
Available with global VIs No
Available with strict type definitions No
Available with polymorphic VIs No
Available in Run-Time Engine and Real-Time Operating System Yes (Read Only)
Permissions WriteInEditOnly


Anforderung von K:
Von einem laufenden VI die Prioritaet aendern
Referenz-URLs