The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 User Interface for my labtalk program in comand wi
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alanpsalvi

1 Posts

Posted - 12/11/2025 :  08:46:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 2025
Operating System:

I have devoloped labtalk code code in command window to import csv file and its data plotting automatically.I would like to create a user interface for this importing and plotting. I need help from you for it.

 Step 1 -Creating book and importing csv data
Newbook;
impASC -csv "C:/Users/ala05689/Desktop/Test.csv" // location of file with name Test
 Step 2- Naming the columns and units
wks.col1.lname$ = "Time";
wks.col2.lname$ = "Voltage Signal";
wks.col1.unit$ = "ms"; // example: milliseconds
wks.col2.unit$ = "V"; // example: volts
 Step 3.Plotting
wks.col1 = 1; // Set Column 1 as X
wks.col2 = 2; // Set Column 2 as Y
plotxy iy:=(1,2) // Scattered graph
plotxy iy:=(1,2) plot:=200 color:=color(255,0,255); // For line graph
 Step 4.GRAPH CUSTOMIZATION
layer.x.showGrids = 1; // GRIDS
layer.x.grid.majorType = 2;
layer.y.showGrids = 1;
layer.y.grid.majorType = 2;
layer.x.showAxes = 3;
layer.y.showAxes = 3;

Thanking you
Alan
   Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000