Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RegCurry  
#1 Posted : 27 February 2019 00:10:11(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

If this has been previously noted, I apologize.

If I open this .sm file from clicking on the file in the directory, it works and reads the
data file; however, if I start Smath and then open the file from Smath it does not read
the file.


DATA.txt (2kb) downloaded 16 time(s). FILE READ TEST.sm (4kb) downloaded 19 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 27 February 2019 02:56:43(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,653
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
Confirmed, thank you!

Edited by user 28 February 2019 12:50:15(UTC)  | Reason: added BTS-ID

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#3 Posted : 27 February 2019 04:50:48(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: JRC Go to Quoted Post
If I open this .sm file from clicking on the file in the directory, it works and reads the
data file; however, if I start Smath and then open the file from Smath it does not read the file.

Something you are not going correct:
1. Copy the DATA from your download
2. Paste in your Smath file directory
3. close session ... open Smath session
4. address the CWD:=
5 read back

readTxt.PNG
Offline RegCurry  
#4 Posted : 27 February 2019 05:08:12(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

What does CWD stand for?
Offline RegCurry  
#5 Posted : 27 February 2019 05:10:48(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Also, my path is very long and I have had trouble copying the path from the windows folder and pasting into the argument of inputData.
Offline RegCurry  
#6 Posted : 27 February 2019 05:15:00(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Should have said, my path is very long and I have had trouble copying the path from the windows folder and pasting into the any Smath argument.
Offline RegCurry  
#7 Posted : 27 February 2019 06:18:08(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Still does not work for my file structure. Don't think I will change my file structure for this one program.Good

Capture.JPG
Offline Jean Giraud  
#8 Posted : 27 February 2019 06:25:40(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: JRC Go to Quoted Post
Should have said, my path is very long and I have had trouble copying the path from the windows folder and pasting into the any Smath argument.

CWD = Current Working Directory.
1. In your C:\ ... create the SmathFile directory.
2. From your Windows "Download"
3. Copy DATA... 4. Paste in your Smathfile from where you read.

Tip: once you can read [I suggested 'read']
Explode read in expanded vector [read]=
Copy the data in a new assigned vector ...
now you can plot. I played a bit from direct reading
but Smath complained and crashed the work sheet.
That's why you have to isolate the vector,
Then you will play at will with that monkey branching.

Cheers ... Jean


Offline Jean Giraud  
#9 Posted : 27 February 2019 07:22:51(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: JRC Go to Quoted Post
Still does not work for my file structure.

Maybe you don't have an efficient file structure.
In my "SmathFle", all sorts of Smath items:
data sets, formulas, images
I Constantly graze for utilities, models, projects ...
average browsing time among ~ 2000 documents < 15 seconds.

SmathFileStructure.PNG
Offline Jean Giraud  
#10 Posted : 27 February 2019 07:39:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Tip: once you can read [I suggested 'read']
Explode read in expanded vector [read]=
Copy the data in a new assigned vector ...
now you can plot.

... like this:

plotTXT.PNG
Offline Jean Giraud  
#11 Posted : 27 February 2019 16:27:41(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I played a bit from direct reading
but Smath complained and crashed the work sheet.
That's why you have to isolate the vector,

Your data are in the document cw with the plot.
You can inspect down to lower values of X,
but going for too low values it will crash Smath
in the too low values of X around 0.0000XXXXX
Your lowest value is 0.000000000000XXX
At so low values crash. Smath does not plot
at so low values and crash

File READ Txt.sm (14kb) downloaded 11 time(s).

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.