navinsubramani / labview-script-language Goto Github PK
View Code? Open in Web Editor NEWDeveloping a platform to develop scripts, compile and execute it in the LabVIEW development or run time environment
License: MIT License
Developing a platform to develop scripts, compile and execute it in the LabVIEW development or run time environment
License: MIT License
variable = 1 - 2 - 6
print(variable)
for the above function we are getting the result as +5, but it has to be -7.
Bug with displaying array.
"Array Constants"
Could it be made available for LV2018, please?
With while loop function and any unexpected issues, the script could run infinitely and there should be a clean option to abort or terminate the scripts.
Since the Comparative Operation like '==' is handled separately for each data type under its corresponding datatypes operation - Bool is not handled
print(True==True)
print(True==False)
Add functions that make comparison actions on the numeric.
Equal to
Not Equal to
Greater than
Greater than or equal to
Lesser than
Lesser than or equal to
Scenario: consider the while loop code as shown below.
a=0
while(a<10)
->a=a+1
->print(a)
Reason:
the a<10 in while loop will be validated only during Run init core., but it has to executed each time during the loop executes.
So did a similar implementation as Run init core inside Run pre core, and It works well. except for the scenario shown above. because a=a+1 cannot access "a" value which is inside while loop.(due to one intend back)
Explain the following,
print("Na"+"vin")
The above syntax is not working, is that removed intentionally?
Create a hook to Notepad++ that runs the script.
LSL can be created as a EXE or DLL that will be called from the Notepad++ to execute. This will provide a temporary interface for LSL
a=[1,2,3]
When compiling the above command, we are getting a syntax error.
For every function child that is created and instantiated documentation should be added to the 'Framework Documentation' chm file. the source of the files are present under the documentation folder and the build CHM file placed under source code/support files.
This CHM should be populated from the Main User Interface using a generic API
when running the code, a = 3 % 4, LSL is throwing an error telling invalid syntax. but we have syntax defined as a part of numeric functions.
Please let me know whether "%" cannot be used in LSL.
https://github.com/analogdevicesinc/LabVIEW-Scripting-UI-Library
LabVIEW intellisense should be independent of the LSL and LSL should feed data to LabVIEW Instellisense to display the suggestions
Compare the existing function with the python equivalent scripts using https://www.w3schools.com/python/default.asp
So, all the scripts developed using the LSL will be python compatible and could be used by engineers with their existing Python knowledge
A simple function which can get inputs from the user will be highly helpful.
We can get string data alone, user can further user typecast function to convert the data to appropriate data types.
Please comment your opinion on the below syntax formats and also add if few other functionalities are required.
String functions:
String length.
Syntax: strlen(
Concat string
Syntax: concat(
Substring
Syntax: substr(
Toupper case
Syntax: toupper(
Tolower case
Syntax: tolower(
Is empty?
Syntax: isempty(
Jump to label
Break out of the loop
continue to start off the loop
Explain all the simple and complex scripts that could be made using the LSL
Using the indent and available function, the developer should be able to create functions on the script and provide definition to it. Later point this function can be called for execution.
Function definition:
def <function_name>(,,..)
->...
->...
Function execution:
exec <function_name>(,,..)
we need to add support for unary operations such as
increment (i++)
decrement(i--)
the backend has to be updated to support this functionality.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.