#linuxcnc-devel | Logs for 2015-04-25

Back
[00:00:42] <jepler> andypugh: http://emergent.unpythonic.net/files/sandbox/0001-WIP-halcompile-fix-parsing-of-and.patch
[00:01:34] <andypugh> Ah, so I can’t have done it before.
[00:02:16] <andypugh> Do you ever wish you had called it something other than “personality”? I know I do :-)
[00:02:52] <jepler> https://www.youtube.com/watch?v=UmCZ_xzZsFQ
[00:03:08] <andypugh> Thinking about it bldc just masks but doesn’t shift
[00:03:28] <jepler> andypugh: over and over and over again I'll be a fool for you
[00:03:59] <jepler> what more can I do?
[00:04:19] -!- Nick001-shop has quit [Remote host closed the connection]
[00:05:04] <andypugh> Halcompile is an inspired but of #define abuse. I am very impressed. And slightly appalled :-)
[00:05:14] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[00:05:37] <jepler> I'm frequently called "an inspired butt" so that's OK
[00:06:31] <andypugh> I do sometimes wonder if textual subsititution in the Python phase part might have been better?
[00:06:43] <jepler> the road not taken
[00:06:55] <andypugh> (first define “better”)
[00:11:06] <andypugh> infinite loops in realtime are such fun.
[00:11:38] <andypugh> (at least is’t a VM so easy to sort out)
[00:16:29] -!- Loetmichel has quit [Ping timeout: 246 seconds]
[00:17:25] <andypugh> Confused:
[00:18:40] -!- Tom_itx has quit []
[00:29:02] <andypugh> http://pastie.org/10112533
[00:33:14] -!- nickg_ has quit [Ping timeout: 265 seconds]
[00:33:42] <andypugh> Do I have to use strncomp to compare a single character in a modparam?
[00:38:20] <jepler> so you are expecting a parameter like sequence=a,s,d,f ?
[00:38:37] <jepler> so sequence[0] is a length-1 C string?
[00:40:02] <jepler> in that case, I'd expect after char *token = sequence[0]; that *token == 'a' is true
[00:40:57] <jepler> but I've just had a drink so my programming is worse than usual
[00:44:31] <mozmck> looked a little bit a "snappy", and it looks similar to proposals by the systemd guys, except probably not as intrusive.
[00:45:36] <andypugh> jepler: http://pastie.org/10112551
[00:46:47] <andypugh> (I tried printing the %i format and compating to 115 and it stil failed the comparison)
[00:47:07] <andypugh> So I think perhaps I have forgotten C again.
[00:47:12] <jepler> Apr 24 17:44:33 ubuntu kernel: [ 2012.521704] invalid token in sequence must be S, R, T, F or C
[00:47:15] <jepler> Apr 24 17:44:33 ubuntu kernel: [ 2012.521706] *token = 4 pin = 0, num_in = 0, num_out = 1
[00:47:42] <jepler> it's complaining about the 4 and not the s, right?
[00:47:50] <jepler> Apr 24 17:44:33 ubuntu kernel: [ 2012.521704] invalid token in sequence must be S, R, T, F or C
[00:47:53] <jepler> Apr 24 17:44:33 ubuntu kernel: [ 2012.521706] *token = 4 pin = 0, num_in = 0, num_out = 1
[00:47:56] <jepler> pin = simple_strtol(token, NULL, 0);
[00:47:57] <andypugh> but it should have strtol the 4 after finding an s
[00:48:09] <jepler> don't you need to move 'token' forward after strtol?
[00:48:22] <jepler> you are expecting strtol to change its argument 'token"?
[00:48:34] <jepler> perhaps you need strtol(token, NULL, &token)
[00:49:16] <andypugh> Ah, thanks.
[00:49:22] <jepler> hmm simple_strtol won't build in uspace
[00:49:30] <andypugh> I had missed the printing order
[00:49:49] -!- patrickarlt has quit [Quit: Leaving...]
[00:50:01] <jepler> and worse the kernel docs say 378 /* Obsolete, do not use. Use kstrto<foo> instead */
[00:50:17] <andypugh> when I have used simple_strtol before (a lot in hm2) it increments token
[00:51:13] <jepler> ok, we *do* have "simple_strtol" in uspace
[00:51:31] <jepler> and I do see there are statements like this in hostmot2:
[00:51:34] <jepler> src/hal/drivers/mesa-hostmot2/hostmot2.c: hm2->config.num_encoders = simple_strtol(token, NULL, 0);
[00:52:49] <jepler> but it looks like after each simple_strtol(token), it ends up back at the top of the loop
[00:52:52] <andypugh> I need to increment token _before_ simple_strtol
[00:52:53] <jepler> char *token = argv[i];
[00:53:16] <jepler> and gets the next argument, which has been split from config= on whitespace by rtapi_argv_split
[00:53:28] <jepler> pin = simple_strtol(token+1, NULL, &token)
[00:53:31] <jepler> maybe
[00:53:34] <andypugh> simple_strrol will see an “s” and quit
[00:54:16] <andypugh> ++token ?
[00:55:07] <andypugh> pin = simple_strtol(++token, NULL, 0) feels like it should pass-by value, somehow.
[00:55:18] <andypugh> But might actually be right.
[00:55:23] <jepler> I am reasonbly sure it doesn't
[00:55:51] <jepler> assuming that ..., &token *IS* necessary ...
[00:56:09] <jepler> I wouldn't write ++token because that reads like token is modified twice in the same statement
[00:56:47] <andypugh> Yes, I think I will just token++ before the strtol
[00:57:03] <andypugh> Simple, clear..
[00:57:05] <jepler> modifying a value twice in the same statement is in the category of forbidden things in C. As a concrete example, this is not OK in C: x += tab[i++] + tab[i++]
[00:58:02] <jepler> OK, if you want to use token++ then doing it as a separate statement makes me feel better
[01:00:51] <jepler> hm simple_strtol is deprecated and kstrtol does not have the same API
[01:00:58] <andypugh> That works now
[01:01:00] <jepler> we'll have to do something about that someday
[01:02:39] <andypugh> else if (*token == 'S' || *token++ == 's'){ would be an interesting bug with optimised interpretation of the ||
[01:02:57] <jepler> yup and yuck
[01:14:25] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[01:17:23] -!- Tom_itx has quit [Client Quit]
[01:20:32] -!- i_tarzan has quit [Ping timeout: 246 seconds]
[01:23:36] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[01:40:33] -!- Tom_L has quit [Quit: Quit]
[01:43:19] -!- PetefromTn_ [PetefromTn_!~IceChat9@75-136-60-251.dhcp.jcsn.tn.charter.com] has joined #linuxcnc-devel
[02:01:42] -!- Tom_L [Tom_L!~Tom@ip68-102-196-57.ks.ok.cox.net] has joined #linuxcnc-devel
[02:01:42] -!- Tom_L has quit [Changing host]
[02:01:42] -!- Tom_L [Tom_L!~Tom@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[02:04:42] -!- PCW has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
[02:08:49] -!- r0ute has quit [Ping timeout: 264 seconds]
[02:14:46] -!- Tom_L has quit [Quit: Quit]
[02:21:17] -!- andypugh has quit [Quit: andypugh]
[02:27:31] -!- sumpfralle1 has quit [Ping timeout: 244 seconds]
[02:35:21] -!- archivist_herron has quit [Ping timeout: 256 seconds]
[02:43:08] -!- rob_h has quit [Ping timeout: 246 seconds]
[03:07:18] -!- FreezingCold has quit [Ping timeout: 244 seconds]
[03:25:45] -!- PetefromTn_ has quit [Quit: I'm Outta here!!]
[03:31:27] -!- AR_ has quit [Ping timeout: 256 seconds]
[03:55:29] -!- jerryitt has quit [Quit: Connection closed for inactivity]
[04:11:24] -!- Tom_itx has quit []
[04:12:40] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[04:37:40] -!- sumpfralle has quit [Quit: Leaving.]
[05:29:48] -!- Mr_Sheesh has quit [Remote host closed the connection]
[05:44:41] -!- Tom_itx has quit [Ping timeout: 250 seconds]
[05:48:14] -!- furrywolf has quit [Ping timeout: 276 seconds]
[06:19:53] -!- LeelooMinai_ [LeelooMinai_!~leeloo@184-175-46-197.dsl.teksavvy.com] has joined #linuxcnc-devel
[06:20:24] -!- Topy44 has quit [Ping timeout: 252 seconds]
[06:20:25] -!- LeelooMinai has quit [Ping timeout: 252 seconds]
[06:20:25] -!- amatecha has quit [Ping timeout: 252 seconds]
[06:20:26] -!- toxx has quit [Ping timeout: 252 seconds]
[06:20:26] -!- ybon has quit [Ping timeout: 252 seconds]
[06:20:26] -!- AphelionZ has quit [Ping timeout: 252 seconds]
[06:20:26] -!- Tecan has quit [Ping timeout: 252 seconds]
[06:20:26] -!- rbancroft has quit [Ping timeout: 252 seconds]
[06:20:27] -!- calvinmetcalf has quit [Ping timeout: 252 seconds]
[06:20:27] -!- Reventlov has quit [Ping timeout: 252 seconds]
[06:20:27] -!- ds3 has quit [Ping timeout: 252 seconds]
[06:20:27] -!- taruti has quit [Ping timeout: 252 seconds]
[06:21:18] -!- kwallace2 [kwallace2!~kwallace@smb-186.sonnet.com] has parted #linuxcnc-devel
[06:33:35] -!- JohnyK [JohnyK!~wity@witypc.ynet.sk] has joined #linuxcnc-devel
[06:41:57] -!- Vq has quit [Ping timeout: 248 seconds]
[06:43:12] -!- ve7it has quit [Remote host closed the connection]
[06:54:13] -!- memfrob_ [memfrob_!~irc@adsl-75-49-210-144.dsl.emhril.sbcglobal.net] has joined #linuxcnc-devel
[06:54:35] memfrob_ is now known as memleak
[06:54:45] -!- memleak has quit [Changing host]
[06:54:45] -!- memleak [memleak!~irc@unaffiliated/memfrob] has joined #linuxcnc-devel
[06:58:08] -!- skunkworks has quit [*.net *.split]
[06:58:08] -!- MrHindsight has quit [*.net *.split]
[06:58:09] -!- memfrob has quit [*.net *.split]
[06:58:09] -!- aquaWeasel has quit [*.net *.split]
[06:58:09] -!- SkramX_ has quit [*.net *.split]
[06:58:09] -!- sheppard has quit [*.net *.split]
[06:58:09] -!- jesseg has quit [*.net *.split]
[06:58:10] -!- jthornton has quit [Ping timeout: 250 seconds]
[06:59:23] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[06:59:33] -!- RyanS has quit [Ping timeout: 248 seconds]
[07:02:45] -!- kriskropd has quit [Ping timeout: 248 seconds]
[07:04:06] -!- skunkworks [skunkworks!~chatzilla@69.4.98.27] has joined #linuxcnc-devel
[07:05:39] -!- Valen has quit [Ping timeout: 256 seconds]
[07:12:06] -!- aquaWeasel has quit [Ping timeout: 276 seconds]
[07:39:16] -!- bkboggy has quit [Quit: Leaving]
[07:47:06] -!- eventor [eventor!~eventor@p5B254F2F.dip0.t-ipconnect.de] has joined #linuxcnc-devel
[07:51:06] -!- rob_h [rob_h!~robh@176.248.182.202] has joined #linuxcnc-devel
[07:55:23] -!- amiri has quit [Read error: Connection reset by peer]
[07:56:47] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[08:34:22] -!- nofxx has quit [Ping timeout: 250 seconds]
[08:35:25] -!- SpeedEvil has quit [Quit: No Ping reply in 180 seconds.]
[08:40:11] -!- Tom_itx has quit [Ping timeout: 250 seconds]
[08:54:25] -!- MrHindsight [MrHindsight!~not_sure@unaffiliated/capthindsight] has joined #linuxcnc-devel
[09:03:28] -!- Akex [Akex!uid58281@gateway/web/irccloud.com/x-dilmgmahduvzkjhj] has joined #linuxcnc-devel
[09:24:29] -!- nickg_ has quit [Ping timeout: 256 seconds]
[10:25:51] Reventlo1 is now known as Reventlov
[11:12:27] -!- crazy_imp has quit [Ping timeout: 244 seconds]
[11:14:09] -!- crazy_imp has quit [Changing host]
[11:36:25] -!- Valen has quit [Remote host closed the connection]
[12:41:10] -!- jthornton has quit [Quit: Leaving]
[12:50:34] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[13:13:55] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[13:20:40] -!- Brunetty has quit [Ping timeout: 255 seconds]
[13:29:36] -!- Brunetty_ has quit [Quit: Follow me]
[13:36:44] -!- Brunetty has quit [Read error: Connection reset by peer]
[13:41:17] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[13:43:21] -!- Tom_itx has quit [Client Quit]
[13:47:13] -!- Brunetty has quit [Ping timeout: 255 seconds]
[13:52:37] -!- Brunetty_ has quit [Ping timeout: 255 seconds]
[13:55:13] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[14:08:57] -!- sumpfralle has quit [Ping timeout: 256 seconds]
[14:20:27] -!- sumpfralle has quit [Ping timeout: 276 seconds]
[14:24:43] -!- Brunetty has quit [Read error: Connection reset by peer]
[14:36:39] -!- Tom_L [Tom_L!~Tom@ip68-102-196-57.ks.ok.cox.net] has joined #linuxcnc-devel
[14:36:39] -!- Tom_L has quit [Changing host]
[14:36:39] -!- Tom_L [Tom_L!~Tom@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[14:36:40] -!- Tom_itx has quit []
[14:41:07] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[14:44:30] -!- Tom_L has quit [Quit: Quit]
[14:47:05] -!- Tom_L [Tom_L!~Tom@unaffiliated/toml/x-013812] has joined #linuxcnc-devel
[14:54:08] -!- Tom_L has quit [Quit: Quit]
[15:13:05] -!- kwallace [kwallace!~kwallace@smb-231.sonnet.com] has joined #linuxcnc-devel
[15:19:14] -!- Akex has quit [Quit: Connection closed for inactivity]
[15:28:13] -!- b_b has quit [Changing host]
[15:33:34] -!- _eventor [_eventor!~eventor@p5B254F2F.dip0.t-ipconnect.de] has joined #linuxcnc-devel
[15:35:39] -!- eventor has quit [Ping timeout: 256 seconds]
[15:39:22] -!- Akex_ [Akex_!uid58281@gateway/web/irccloud.com/x-fixqpcgujpnbkrnz] has joined #linuxcnc-devel
[15:42:14] -!- jthornton has quit [Remote host closed the connection]
[15:43:57] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[15:48:24] -!- _eventor has quit [Ping timeout: 272 seconds]
[15:57:50] amnesic_away is now known as amnesic
[16:01:37] -!- teepee has quit [Ping timeout: 264 seconds]
[16:03:39] -!- Roguish [Roguish!~chatzilla@c-50-143-183-159.hsd1.ca.comcast.net] has joined #linuxcnc-devel
[16:04:34] amnesic is now known as amnesic_away
[16:05:50] -!- teepee [teepee!~teepee@unaffiliated/teepee] has joined #linuxcnc-devel
[16:11:04] -!- nickg_ has quit [Ping timeout: 252 seconds]
[16:16:00] -!- Connor1 [Connor1!~Connor@c-50-156-251-60.hsd1.tn.comcast.net] has joined #linuxcnc-devel
[16:17:18] -!- jepler_ [jepler_!~jepler@emc/developer/pdpc.professional.jepler] has joined #linuxcnc-devel
[16:17:43] -!- mozmck1 [mozmck1!~moses@67.210.159.245] has joined #linuxcnc-devel
[16:19:30] -!- Deejay has quit [Read error: Connection reset by peer]
[16:19:31] -!- [qube] has quit [Ping timeout: 246 seconds]
[16:19:31] -!- kriskropd has quit [Ping timeout: 246 seconds]
[16:19:32] -!- Hawku has quit [Ping timeout: 246 seconds]
[16:19:32] -!- jerkey has quit [Read error: Connection reset by peer]
[16:19:32] -!- jesseg has quit [Ping timeout: 246 seconds]
[16:19:32] -!- archivist_herron has quit [Ping timeout: 246 seconds]
[16:19:32] -!- jleh has quit [Ping timeout: 246 seconds]
[16:19:33] -!- theorbtwo has quit [Read error: Connection reset by peer]
[16:19:33] -!- GlennS has quit [Ping timeout: 246 seconds]
[16:19:33] -!- jfrmilner has quit [Ping timeout: 246 seconds]
[16:19:33] -!- Thetawaves has quit [Ping timeout: 246 seconds]
[16:19:33] -!- cers has quit [Ping timeout: 246 seconds]
[16:20:02] -!- jst has quit [Ping timeout: 246 seconds]
[16:22:59] -!- amatecha has quit [*.net *.split]
[16:22:59] -!- ybon1 has quit [*.net *.split]
[16:22:59] -!- norias has quit [*.net *.split]
[16:22:59] -!- toner has quit [*.net *.split]
[16:22:59] -!- mozmck has quit [*.net *.split]
[16:23:00] -!- mal`` has quit [*.net *.split]
[16:23:00] -!- jepler has quit [*.net *.split]
[16:23:00] -!- Flipp_ has quit [*.net *.split]
[16:23:00] -!- Connor has quit [*.net *.split]
[16:23:00] -!- Jymmm has quit [*.net *.split]
[16:23:00] -!- djinni`_ has quit [*.net *.split]
[16:23:01] -!- amnesic_away has quit [*.net *.split]
[16:23:01] -!- roycroft has quit [*.net *.split]
[16:23:01] -!- jdh has quit [*.net *.split]
[16:23:01] -!- archivist has quit [*.net *.split]
[16:23:01] -!- firephoto_ has quit [*.net *.split]
[16:23:01] -!- meryan00 has quit [*.net *.split]
[16:23:01] -!- almccon_ has quit [*.net *.split]
[16:23:01] -!- sweenzor has quit [*.net *.split]
[16:23:14] -!- mal`` [mal``!~mal``@2607:5300:100:200::160d] has joined #linuxcnc-devel
[16:30:28] -!- archivist [archivist!~archivist@host81-149-189-98.in-addr.btopenworld.com] has joined #linuxcnc-devel
[16:33:51] -!- terinjokes has quit [Ping timeout: 246 seconds]
[16:33:51] -!- b_b has quit [Ping timeout: 246 seconds]
[16:33:52] -!- Akex_ has quit [Ping timeout: 246 seconds]
[16:33:52] -!- steves_logging has quit [Ping timeout: 246 seconds]
[16:33:52] -!- Akex_ [Akex_!uid58281@gateway/web/irccloud.com/session] has joined #linuxcnc-devel
[16:33:53] -!- Akex_ has quit [Changing host]
[16:33:53] -!- Akex_ [Akex_!uid58281@gateway/web/irccloud.com/x-urbydevxuitshzmi] has joined #linuxcnc-devel
[16:43:56] -!- Mr_Sheesh has quit [Disconnected by services]
[16:55:39] -!- meryan00 has quit [Client Quit]
[17:12:40] Jymmmm is now known as Jymmm
[17:27:43] -!- danylevskyi has quit [Ping timeout: 255 seconds]
[17:37:13] -!- [cube] has quit []
[17:48:44] -!- raymondhim has quit [Ping timeout: 244 seconds]
[17:58:30] -!- danylevskyi has quit [Client Quit]
[18:18:11] -!- Akex_ has quit [*.net *.split]
[18:28:51] -!- syyl has quit [Quit: Verlassend]
[18:47:59] <KGB-linuxcnc> 03Sebastian Kuzminsky 05hy-vfd af3b1bb 06linuxcnc 10src/hal/user_comps/huanyang-vfd/hy_vfd.c hy-vfd: remove some dead code * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=af3b1bb
[18:47:59] <KGB-linuxcnc> 03Sebastian Kuzminsky 05hy-vfd dcb33d8 06linuxcnc 10src/hal/user_comps/huanyang-vfd/hy_vfd.c hy-vfd: remove some dead code * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=dcb33d8
[18:48:00] <KGB-linuxcnc> 03Sebastian Kuzminsky 05hy-vfd 839f40d 06linuxcnc 03docs/man/man1/hy_vfd.1 hy-vfd: start adding a manpage * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=839f40d
[18:48:01] <KGB-linuxcnc> 03Sebastian Kuzminsky 05hy-vfd cd0a1c2 06linuxcnc 10src/hal/user_comps/huanyang-vfd/hy_vfd.c hy-vfd: fixup --help output * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=cd0a1c2
[18:48:05] <KGB-linuxcnc> 03Sebastian Kuzminsky 05hy-vfd 8bd4451 06linuxcnc 10src/hal/user_comps/huanyang-vfd/hy_vfd.c hy-vfd: add copyright info to hy_vfd.c * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=8bd4451
[18:55:11] -!- ingsoc has quit [Quit: Leaving.]
[18:59:04] <zeeshan|2> is it true that python userspace components run slower than c userspace components?
[19:02:40] <zeeshan|2> my mill vfd component is written in python, and my lathe vfd component is written in c. both seem to have lag. the lathe one bothers me more because when running CSS mode, there is like a .5 s to 1 s delay between commanded speed and actual speed.
[19:03:00] <zeeshan|2> (im using modbus serial to control speed) -- anyway to speed this up -- maybe down to .1s?
[19:04:06] <seb_kuzminsky> i think the speed of the serial communication is much much slower than the difference in speed between python and c
[19:04:29] <seb_kuzminsky> are both vfds using the same baud rate?
[19:05:00] <seb_kuzminsky> you'll probably not get good speed control through a serial-attached vfd no matter how cleverly you write the driver, is my guess
[19:12:48] -!- ve7it [ve7it!~LawrenceG@S01060014d19d0b68.pk.shawcable.net] has joined #linuxcnc-devel
[19:17:27] <skunksleep> We got the mesa hardware... Now which machine to convert?
[19:27:20] <pcw_home> Python + serial delays are probaby still just a few mS
[19:27:21] <pcw_home> If you have .5 to 1 second delays, I suspect thats mainly in the drive firmware
[19:33:52] <skunksleep> I would think it pretty easy to figure out if the delay is linuxcnc or the drive
[19:34:25] <skunksleep> * halscoping signals
[19:41:49] <pcw_home> not sure if you can tell when the low level serial xmit is done
[19:43:50] -!- eventor [eventor!~eventor@p5B254F2F.dip0.t-ipconnect.de] has joined #linuxcnc-devel
[19:43:59] <skunkworks> depends on what is exposed - I could see a pin that lets you know when the python routine is done - and then see how long the drives takes to respond..
[19:53:54] -!- furrywolf has quit [Ping timeout: 264 seconds]
[20:07:11] <jepler_> if you followed the sample in 'pydoc hal', it has a 1s delay between times it checks the pins
[20:07:14] <jepler_> while 1:
[20:07:15] <jepler_> imposed by the time.sleep call
[20:07:18] <jepler_> # act on changed input pins; update values on output pins
[20:07:20] <jepler_> time.sleep(1)
[20:08:23] <jepler_> having a hal output that the python program sets after it's transmitted its serial message or whatever is a good way to see whether the delay is before or after the serial transmit
[20:08:51] <jepler_> you can scope the component's input and output and just see onscreen how long it takes
[20:08:54] jepler_ is now known as jepler
[20:09:46] -!- theorb has quit [Ping timeout: 256 seconds]
[20:10:21] <pcw_home> also you might read something from the drive to avoid communication overruns (Though Im not too familar with modbus handshaking)
[20:10:23] <pcw_home>
[20:13:49] <jepler> if I recall serial modbus correctly, after the master sends a command it waits for a confirmation or response from the device, except in the case of broadcasts
[20:19:13] <pcw_home> Yeah, so you could look at the time till it responds (not that the tells you it changed the VFD frequency yet)
[20:21:22] -!- sumpfralle1 has quit [Ping timeout: 272 seconds]
[20:32:28] <skunkworks> if he has spindle feedback - he can see..
[20:36:34] -!- mhaberler has quit [Ping timeout: 272 seconds]
[20:36:34] mhaberler_ is now known as mhaberler
[20:42:27] <zeeshan|2> seb_kuzminsky: both are using the same baud rate yes. 19200
[20:42:32] <zeeshan|2> ill try increasing it
[20:43:28] <zeeshan|2> and scoping what is causing the delay
[20:44:27] <pcw_home> 19200 is ~ 2000 chars/second so unless you have a pretty big message its probably not the main issue
[20:46:25] <zeeshan|2> ill spit the time out at send and recieve
[20:46:40] <zeeshan|2> like jepler said
[20:48:22] <pcw_home> yeah need intrumentation to see where the time goes...
[20:53:43] -!- Deejay has quit [Quit: bye]
[21:04:16] jerkey_ is now known as jerkey
[21:05:14] -!- micges [micges!~micges@dfb59.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[21:11:15] -!- micges has quit [Quit: Ex-Chat]
[21:22:25] -!- skunksleep has quit [Ping timeout: 250 seconds]
[21:35:56] -!- adb_ has quit [Ping timeout: 252 seconds]
[21:42:47] -!- FreezingCold has quit [Ping timeout: 244 seconds]
[21:50:49] -!- jleh_ has quit [Ping timeout: 264 seconds]
[22:01:56] -!- FreezingCold has quit [Ping timeout: 240 seconds]
[22:04:56] -!- mhaberler has quit [Quit: mhaberler]
[22:22:08] -!- FreezingCold has quit [Ping timeout: 252 seconds]
[22:26:37] -!- mhaberler has quit [Quit: mhaberler]
[22:42:25] -!- FreezingCold has quit [Ping timeout: 264 seconds]
[22:46:43] jdh_ is now known as jdh
[22:56:51] -!- Camaban has quit [Quit: Leaving]
[23:02:11] -!- FreezingCold has quit [Ping timeout: 256 seconds]
[23:05:27] LeelooMinai_ is now known as LeelooMinai
[23:15:53] -!- jthornton has quit [Quit: Leaving]
[23:16:48] -!- eventor has quit [Ping timeout: 272 seconds]
[23:17:43] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[23:21:34] -!- jthornton has quit [Remote host closed the connection]
[23:22:35] -!- FreezingCold has quit [Ping timeout: 256 seconds]
[23:23:08] -!- jthornton [jthornton!~john@184.21.239.59] has joined #linuxcnc-devel
[23:34:45] -!- Mr_Sheesh has quit [Ping timeout: 248 seconds]
[23:39:54] -!- cnc1 has quit [Remote host closed the connection]
[23:42:25] -!- FreezingCold has quit [Ping timeout: 256 seconds]
[23:53:10] -!- steve_stallings [steve_stallings!~Steve@wsip-70-182-2-252.dc.dc.cox.net] has joined #linuxcnc-devel
[23:53:38] steve_stallings is now known as steves_logging