Search found 11 matches

by GLIC
Wed Mar 11, 2020 11:27 am
Forum: General
Topic: add tab before each string
Replies: 4
Views: 11869

Re: add tab before each string

undefined method `map' for "":String
by GLIC
Wed Mar 11, 2020 11:21 am
Forum: General
Topic: add tab before each string
Replies: 4
Views: 11869

Re: add tab before each string

Thank you, but it does not work.
It`s easy for programmer to say use Ruby. Using such horrible and difficult to learn language as Ruby defeats point of using FLowStone. Not everyone has same type of thinking and can do typical coding. For people like me visual programming is almost only way we can ...
by GLIC
Wed Mar 11, 2020 8:31 am
Forum: General
Topic: add tab before each string
Replies: 4
Views: 11869

add tab before each string

Hello.
Here I am stuck again. How can I add tab before each line string?

Example:
data1
data2
data3
...


becomes:
tab data1
tab data1
tab data1
...


Thank you
by GLIC
Fri Mar 06, 2020 11:30 am
Forum: General
Topic: Text filtering/replacement
Replies: 4
Views: 12637

Re: Text filtering/replacement

Thank you.
by GLIC
Fri Mar 06, 2020 9:18 am
Forum: General
Topic: Text filtering/replacement
Replies: 4
Views: 12637

Re: Text filtering/replacement

It did worked. Thank you.

I finding Ruby very difficult to learn (most other languages as well).

For typical programmer probably its hard to see, but programmers have different type of thinking from the rest of the people and programming by typing text works well for them. For people like me who ...
by GLIC
Thu Mar 05, 2020 2:59 pm
Forum: General
Topic: Text filtering/replacement
Replies: 4
Views: 12637

Text filtering/replacement

Hello.
I am looking for efficient way to edit data files which contain data line I do not need. Here is an example:

0.000 -0.005 -0.005 -0.005 1.245 9.588 -2.027
0.001 -0.005 -0.005 -0.005 1.245 9.588 -2.027
0.002 -0.005 -0.005 -0.005 1.245 9.588 -2.027
0.003 0.000 -0.005 -0.005 1.245 4.632 ...
by GLIC
Thu Dec 27, 2018 7:15 am
Forum: User Examples
Topic: Logging Data (not by me)
Replies: 10
Views: 31408

Re: Logging Data (not by me)

Thank you
by GLIC
Mon Dec 24, 2018 7:39 am
Forum: User Examples
Topic: Logging Data (not by me)
Replies: 10
Views: 31408

Re: Logging Data (not by me)

The question is, why do you think you need a timer/counter/etc running totally unrelated to the phidget prim? That's not the way to log data from Phidget prims. They are green prims, which means, they are event based. They pass a value as soon as the phidget hardware sends it. So just store them in ...
by GLIC
Fri Dec 21, 2018 12:17 pm
Forum: User Examples
Topic: Logging Data (not by me)
Replies: 10
Views: 31408

Re: Logging Data (not by me)

here is ruby time->
time(secs).fsm

what do we need to do here- do u have a schematic?
I can try and do the requisite automation, but I don't have the electronics


Hopefully file attached makes more sense what I am trying to achieve.
If to compare time signature from 1st column (generated by ...
by GLIC
Fri Dec 21, 2018 10:20 am
Forum: User Examples
Topic: Logging Data (not by me)
Replies: 10
Views: 31408

Re: Logging Data (not by me)

type 'time' into the toolbox mate
does that help?- trigger it at 250hz with Ruby for accuracy,
or whatever for a demo period

It does not help because Time module as well communicates with Windows and not accurate enough.

I am triggering (pushing data) with actual data received from a Phidgets ...