See here for the proper LabVIEW bug reporting procedure.
Tags |
(This content has not been tagged yet)
|
![]() |
Mar 13 2007, 10:26 AM
Post
#1
|
|||
|
Active Member Posts: 14 Joined: 10-August 06 From: Innsbruck Member No.: 5825 Using LabVIEW Since:2006 LV:8.0.1 ,7.1 ,.
|
hello,
i just wonder why only one of these 2 Math scripts workes. 1.) x= 0:0.1:1 does not work in LabVIEW 8.0 but In MATLAB 2.) x= 0:1e-1:1 workes in LabVIEW 8.0 and in MATLAB ad 1 error message "Error in function range at line 1. You cannot specify a step size of zero for a range." aha, well 0.1 is not zero in my eyes. can anyone tell me whey my LabVIEW 8.0 does that? my guess whould be that it is a bug. :-) cheers thomas
|
||
|
|
|||
| Ad |
Mar 13 2007, 10:26 AM
Post
#
|
||
|
|
|
||
|
|
|||
Mar 13 2007, 11:25 AM
Post
#2
|
|||
|
Extremely Active Member Posts: 369 Joined: 24-August 06 Member No.: 5958 Using LabVIEW Since:1995 LV:8.5 ,8.2.1 ,7.1.1
|
hello, i just wonder why only one of these 2 Math scripts workes. 1.) x= 0:0.1:1 does not work in LabVIEW 8.0 but In MATLAB 2.) x= 0:1e-1:1 workes in LabVIEW 8.0 and in MATLAB ad 1 error message "Error in function range at line 1. You cannot specify a step size of zero for a range." aha, well 0.1 is not zero in my eyes. can anyone tell me whey my LabVIEW 8.0 does that? my guess whould be that it is a bug. :-) cheers thomas Have you tried with comma (,) instead of period (.) as decimal character? /J -------------------- Wired but not weird...
|
||
|
|
|||
Mar 13 2007, 12:34 PM
Post
#3
|
|||
![]() Extremely Active Premium Member ![]() Posts: 323 Joined: 8-January 07 From: Geneva Member No.: 7452 Using LabVIEW Since:1999 LV:8.5.1 ,7.1.1 ,5.1
My Gallery
|
hello, i just wonder why only one of these 2 Math scripts workes. 1.) x= 0:0.1:1 does not work in LabVIEW 8.0 but In MATLAB 2.) x= 0:1e-1:1 workes in LabVIEW 8.0 and in MATLAB ad 1 error message "Error in function range at line 1. You cannot specify a step size of zero for a range." aha, well 0.1 is not zero in my eyes. can anyone tell me whey my LabVIEW 8.0 does that? my guess whould be that it is a bug. :-) cheers thomas I think JFM is right... x= 0:0.1:1 does work om my LabVIEW 8.0.1 Go to Tools >> Options >> Front Panel >> on the second line you can enable/disable "use localized decimal separator". the default setting depends on your Windows settings. -------------------- ____________________________________________________________________________________
It's better to stay out of the rat race because if you win, you're still a rat _____________________________________________________________________________________
|
||
|
|
|||
Mar 14 2007, 02:03 PM
Post
#4
|
|||
|
Active Member Posts: 14 Joined: 10-August 06 From: Innsbruck Member No.: 5825 Using LabVIEW Since:2006 LV:8.0.1 ,7.1 ,.
|
"use localized decimal separator" worked, after restarting labview.
thx for your help thomas This post has been edited by thomas2609: Mar 14 2007, 02:07 PM
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 02:42 AM |