From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Probleme mit Schreiben in Stringvector

Ich möchte einzelne Strings, die ich als Antwort aus einem VISA Read innerhalb einer FOR-Schleife bekomme , in einen Stringvector hineinschreiben und auf dem Frontpanel darstellen.  Hier habe ich als LabView-Anfänger Probleme in der Programmierung. 
Kann mir jemand hierzu ein paar Tips geben. Alle vorhanden Beispiele habe ich mir bisher schon angesehen. Im Anhang mein bisheriges Programm.

0 Kudos
Message 1 of 3
(1,922 Views)

Hi Borucki,

 

wenn du weiterhin auf Deutsch kommunizieren willst, kannst du dich gern im deutschen www.LabVIEWForum.de anmelden. Hier bitte auf Englisch weitermachen…

 

Hier habe ich als LabView-Anfänger Probleme in der Programmierung. 

That's what that "Training" section in the header of this LabVIEW board is good for!

 

Alle vorhanden Beispiele habe ich mir bisher schon angesehen.

Really? You looked at ALL examples in the LabVIEW example finder?

 

On your VI:

- Don't use so many local variables. They (can) cause race conditions!

- Use wire instead.

- Learn about autoindexing tunnels at loop borders.

- Learn about using shift registers to store values.

 

check.png

Are you sure about that "*IDN?" command? Do all devices answer on that command even without a TermChar?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,909 Views)

Hallo Borucki,

 

ich habe für dich ein VI zubereitet, und selber getestet.

Es basiert auf die Build Array Funktion, und erfüllt deine beschriebenen Anforderungen.

 

Ich warte auf deine Rückmeldung.

 

Mit freundlichen Grüßen,

Akos

Applications Engineering

National Instruments

 

The attached Code is provided As Is.  It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments.  You assume all risks for use of the Code and use of the Code is subject to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense.

0 Kudos
Message 3 of 3
(1,880 Views)