Skip to content

Commit df49c80

Browse files
Cleaned the functions and created compact number of classes
1 parent 390b6fc commit df49c80

File tree

128 files changed

+956
-843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+956
-843
lines changed

LV scripting language.lvproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<Item Name="Clear Errors.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Clear Errors.vi"/>
5151
<Item Name="Error Cluster From Error Code.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Error Cluster From Error Code.vi"/>
5252
<Item Name="Get LV Class Default Value.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/LVClass/Get LV Class Default Value.vi"/>
53+
<Item Name="High Resolution Relative Seconds.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/High Resolution Relative Seconds.vi"/>
5354
<Item Name="NI_Data Type.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/Data Type/NI_Data Type.lvlib"/>
5455
<Item Name="NI_FileType.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/lvfile.llb/NI_FileType.lvlib"/>
5556
<Item Name="NI_LVConfig.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/config.llb/NI_LVConfig.lvlib"/>

example/Basic Interface.vi

56 Bytes
Binary file not shown.

example/Navin-Lap.solitontech.local/Comparative Operations.lsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ print(4==5)
33
print("Navin"=="Navin")
44
print("Navin"=="NAVIN")
55
print(True==True)
6-
print(True==False)
6+
print(True==1)
7+
print((1.0+1.0)==2.000000000000001)
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
print("first function...")
2-
popuprespond("Second function...","True","False")
2+
getbool("Second function...","True","False")
33
print(randomstring())
44

55
print(" ")
66

7-
print(popuprespond("Variable test",randomstring(),"print False") && False)
7+
print(getbool("Variable test",randomstring(),"print False") && False)
88

9-
print(popuprespond("Variable 1","True","False") && popuprespond("Variable 2","True","False"))
9+
print(getbool(getstring(),"True","False") && getbool(getstring(),"True","False"))
Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
i=0
2+
j=0
23
print("initial values is:")
34
print(i)
45
print("")
5-
while(i!=9)
6-
->i=i+1
7-
->print(i)
6+
while(i<=9)
7+
->while(j<=9)
8+
->->i=i+1
9+
->->j=j+1
10+
->->print(strmerge(str(i),str(j)))
11+
12+
print("")
13+
14+
y=0
15+
for(x=0;x>=y;x=x+1)
16+
->y=y-1
17+
->print(strmerge(str(x),str(y)))
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
1-
print(4+4+6+0+9+0-0-9*8/9)
2-
randomnumber = randomnumber()
1+
i=0
2+
j=0
3+
print(strmerge("na","vin"))
4+
print(strmerge(str(i), str(j), str(j)))
35

4-
print(randomnumber + randomnumber() * 3)
56

7+
\\print(isempty(""))
8+
\\print(4+4+6+0+9+0-0-9*8/9)
9+
\\randomnumber = randomnumber()
610

7-
print(randomnumber() + 4)
11+
\\print(randomnumber + randomnumber() * 3)
812

9-
print(randomnumber() + randomnumber())
13+
14+
\\print(randomnumber() + 4)
15+
16+
\\print(randomnumber() + randomnumber())
1017

1118
\\wait(randomnumber())
1219

13-
print(randomnumber() + 1 * 2)
20+
\\print(randomnumber() + 1 * 2)
1421

15-
print(popuprespond("Testing reponse","print True","print False") || False)
22+
\\print(getbool("Testing reponse","print True","print False") || False)
1623

Binary file not shown.
-4 Bytes
Binary file not shown.
Binary file not shown.

source code/LSL components/functions/functions list/Arithmetic Operations/Arithmetic Operations.lvclass

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)