This is a pretty good tutorial on file I/O in python

http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_3/File_IO

Have you seen my tutorials on gladevcp and building a gui from scratch?

John

On 9/13/2012 2:46 AM, Viesturs Lācis wrote:
> Hello!
>
> I am asked, if I can make a DRO machine that simply measures the
> length of parts and displays the length of the part on the screen.
> I find that to be easy task.
>
> What I do not understand, how to implement is:
> Client wants to define some ranges of the lengths and they want
> machine to count, how many parts fall in particular range and then
> save these data to a file.
>
> I think that use of ClassicLadder will handle counting number of parts
> in particular range, and export the counted number to HAL pin to be
> displayed in VCP.
> But how can I write those data to a file?
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to