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.
02-12-2016 07:30 AM
Hi everbody,
i have a following problem. As is evident from a pictures my last point in the chart is always connected to the first point of my chart.
What could i do to fix that problem ?
thx
02-12-2016 07:38 AM
02-12-2016 07:39 AM
02-12-2016 07:47 AM
Hi GerdW,
i'll take care of my code 🙂 . it's perfect. now all working fine. i have tried with Inf, -Ind but never with NaN 😞
Thanks for your tipp
02-12-2016 07:52 AM
02-12-2016 10:28 AM - edited 02-12-2016 10:37 AM
Even without showing your code: Put a probe at the XY graph input and look at the data (end of the arry) Somehow I'm pretty shure you will find some [0,0] left over...
Perfect code with a local variable 'Step' to size your array??
Hidden wires ??
...
YMMD 😄 "my code is perfect" run Tools-> VI Analyser and learn!
And a RG I like ... convert to dynamic data, use express vi to pass data into a xy graph 🙂 have a look at the help about xy graph and the provides examples
it's easy like this:
Sorry ... it's friday...
02-15-2016 03:14 AM - edited 02-15-2016 03:16 AM
Hi everyone,
thanks for your help! with your help i woud learn everything what i need.so i am very grateful for every tip or some critique.
I send my code.
I have one question ? can i get the LabView code in C e.g Python ?.. or can i get linear code ? Thx
02-15-2016 03:37 AM - edited 02-15-2016 03:37 AM
Hi grba,
can i get the LabView code in C e.g Python ?
When you want C code you should create your programs using a text editor and a C compiler.
When you want Python code you should use the same text editor and a Python compiler…
As long as you use the LabVIEW IDE you get LabVIEW VIs and an executable!
or can i get linear code ?
What is "linear code"?
Your code uses way too much local variables…