So it is!  It's "--baud=".

Well, it didn't make the VFD run.  And looking at the Hal monitor, the 
vfd "Ready" was False.

I looked through the code, I see where it reads the coils, and compared 
with wj200 manual and x200 manual... the x200 does have all the same 
coils, but for some reason the wj200 put them at different coil numbers.

So, the wj200 driver needs to be modified into an x200 and recompiled.  
We're working through how to do all that right now. The code 
modification seems trivial, the compile stage is a lot more.

Danny

On 3/1/2016 9:05 AM, Sebastian Kuzminsky wrote:
> On 02/29/2016 10:26 PM, dan...@austin.rr.com wrote:
>> Well I spent several hours on this now.  I do see the format is wrong, I 
>> changed to:
>>
>> loadusr -W wj200_vfd  baud=19200
>>
>> But I've got it on a scope and it's still 9600 baud.  And if I change it to 
>> "baud=hahahhaha", there's no error for it being a non-number either.
>>
>> Could the wj200_vfd code have a bug in accepting arguments?
> It's certainly possible that there's a bug in the WJ200 driver, but at
> this time I don't know of any.
>
> Looking at the code, i see that it expects arguments to have two leading
> dashes, for example "--baud=12345".
>
> I also see that it does not attempt to validate the --baud=NUMBER
> argument, so it makes sense that giving the argument "--baud=huehuehue"
> leaves the baud rate at 9600 and does not complain.  (I'm not saying it
> *should* be that way, just saying that's what the code currently does.)
>
>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to