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.
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.
10-08-2012 07:07 AM
Hallo zusammen,
hier ist ein Fehler, wenn ich in Script ausgeführt habe.
If
Pausendauer > 10Then
i6=i5
'------------------------------------------- Berechnung für Delay
Pausendauerround =
round(Pausendauer,0)
Pausendauer = Pausendauer*
12'10% von Pause * 120 (für minute, da zwei werte pro sekunde))
Delay = i5+ Pausendauer
For i6 = i5 toDelay
NO_VALUE=NoVALUE
neuer_wert = NO_VALUE
CHD(i6,Kanalname3)= neuer_wert
Next
dieser rote Satz ist die Quelle des fehlers.
Vielen Danke für Ihre Hilfe
Solved! Go to Solution.
10-09-2012 12:14 PM
Hallo andreas,
Das Problem liegt nicht an dem neuer_wert, sondern es liegt an dem i6 Wert, welcher zu gross ist fuer die Laenge des KanalName3s. Mit dem Befehl ChnLength(Kanalname3) = i6 koennen Sie sicher stellen, dass der Kanal lang genug ist.
CHD(i6,Kanalname3)= neuer_wert
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-09-2012 02:26 PM
Vielen Dank für Ihre Antwort. Ich habe noch eine Frage. Gibt es die Möglichkeit, die ich alle maxmale werten von 100 TDM Datei nach einer Excel im Script automatisch exportieren kann? Ich habe in Hilfe gesucht, aber nicht geklappt.
Gruß Andreas
10-11-2012 03:44 PM
Hi andreas,
OK, this is the third instance of this post. As I said in one of your other posts, I am willing to help you with this, but it will require you to either follow my written description of what to do or to send me some of your data files so that I can send you a VBScript that works with your data files.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-12-2012 01:52 AM
Hallo Brad,
hast du eine Emaladresse? Dann sende ich meine Datei. Vielen Dank!
10-12-2012 01:33 PM