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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 User Interface for my labtalk program in comand wi

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
alanpsalvi Posted - 12/11/2025 : 08:46:22 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000