Shop OBEX P1 Docs P2 Docs Learn Events
writing to text files? - Page 2 — Parallax Forums

writing to text files?

2»

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-01 18:17
    TC,

    Your screen shots look suspiciously Mac but I will see how well it works on the PC version. Thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • T ChapT Chap Posts: 4,223
    edited 2007-04-01 18:20
    There are only a few minor cosmetic issues when it translates(temp version will be affected slightly, mainly the progress bars for time), you can run the files no problem on PC. Try running the serial app and put some data at 9600 into a USB2serail or rs232 port. You have to first select the port from the list of available ones.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-01 18:28
    TC,

    Will do…Admittedly…RealBASIC won’t be re-installed under this week…I have a small pile of stuff to get done today which I had better get started on. Thanks again.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-04-01 22:13
    Here is some code you can look over and see if it could be used. Also I attach a txt file with a small explanation and a BS2 file example. The code for both VB and BS2 can be pasted into each respective form. I like the app because its simple and reliable.

    Jeff T.


    Post Edited (Unsoundcode) : 4/1/2007 10:22:55 PM GMT
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-04-02 04:08
    Ok here's the full VB solution, I meant to post it last time but Im not too familiar with winzip and was in a hurry.

    Jeff T
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-04-03 21:38
    Now called 232ComLog ...Now has tooltips to explain each setting - just hover the mouse over a control to popup the tooltip..

    Also added the ability to list and choose a HTML file - it allows the user to switch to another html log file while still connected to a port ... I think I will park it for now !!

    Regards,

    Quattro

    UPDATE
    My apologies folks - I posted a test version -
    This has been rectified now the attached version is the one I should have attached

    LATEST UPDATE:
    12 August 2007 added the following with new features !
    http://forums.parallax.com/attachment.php?attachmentid=48674

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 8/12/2007 4:00:56 AM GMT
    823 x 719 - 85K
    555 x 693 - 70K
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2007-04-03 21:55
    I don't know what others think but I really like the graphics Quatro. You can't park it now your on a roll.

    Chris , do you intend to put the program together and do you have the time. If you do I will throw in an example now and then of my amateur VB apps. Having said that they do work quite well they just need cleaning up some. Another alternative would be to hand the batton to Quatro he seems very adept at VB. Also is there any specific type of interface you were interested in, control and logging can be pretty broad.

    Jeff T.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-04-03 22:22
    Jeff - thanks for that - I was thinking of adding socket support ... don't know if there is much interest in that though ..

    Regards,
    Quattro

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-03 22:28
    Jeff,

    I should have clarified…I was planning on at some point doing some examples for the BASIC Stamp for both data logging and Industrial Control or perhaps demonstrating how to change device parameters for something application specific from within VB/RB. I don’t have an exact application in mind yet, but for example, I wrote some programs years ago where it was easier to change settings within the code than to add code and a display, etc. For a customer I ended up writing a separate program to download their settings and then they would run the main application…What if instead they could run an application on their PC which would allow them to graphically select stuff they needed? No programming experience would be required. In fact I did this in QuickBASIC but try sending a customer a DOS application now…I know they try to contain themselves…

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-04-04 04:01
    See my previous post - FINAL version posted in my last thread ..(error sorted as of 5mins ago - I posted a test version - with error on startup - since rectified) please post any faults / suggestions

    Rgds,
    Quattro

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 4/4/2007 4:06:25 AM GMT
  • Michael RenoMichael Reno Posts: 3
    edited 2007-07-14 07:47
    Thank you so much!

    http://forums.parallax.com/forums/emoticons/yeah.gif
    yeah

    ¬ Mike R.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-07-15 02:07
    No problem Mike - did it work out well for you ?

    Quattro

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 7/15/2007 2:11:53 AM GMT
  • KatyBriKatyBri Posts: 171
    edited 2007-07-15 03:21

    What a great job with the .NET apps.· But what do you do if the PCs only have USB ports? Most PCs, especially laptops, no longer have any com ports.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-07-15 03:37
    KatyBri said...
    What a great job with the .NET apps. But what do you do if the PCs only have USB ports? Most PCs, especially laptops, no longer have any com ports.


    KatyBri,
    Usb to serial devices e.g FTDI products - this will enumerate any of those devices also ..

    For example - the Propeller Demo Board has a USB connection but it has an on board FTDI usb to serial converter to program the device but it can also be used to send/receive data from/to your application.

    Incidently I have a TCP/IP version done also for logging and communication..

    Regards,

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 7/15/2007 3:49:13 AM GMT
  • CruxCrux Posts: 74
    edited 2007-08-05 04:53
    Just to help everyone about a problem on QuattroRS4 application. I tried to interface the parallax RFID and tried it on the V2 of Quattro RS4 here are the results below. To fix the problem on garbage characters use the latest version V3. Thanks to QuattroRS4 for the help.
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-08-05 16:56
    Crux,
    I am glad it worked out for you - thanks for updating the thread...I have removed the 'test' .NET versions so as there would be no ambiguity and only v3 (final .NET version) remains. I also left the VB6 SSlogger as this was ok.

    Version 3 is http://forums.parallax.com/attachment.php?attachmentid=46405

    LATEST UPDATE:
    12 August 2007 added the following with new features !
    http://forums.parallax.com/attachment.php?attachmentid=48674

    Regards,
    John Twomey

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 8/12/2007 4:00:03 AM GMT
  • QuattroRS4QuattroRS4 Posts: 916
    edited 2007-08-12 03:29
    I have decided to add my latest offering - its IA_Logger - it logs to both HTML and text files from serial devices ,it saves ALL configurations to an INI file - so on reload the INI suits anyones specific defaults ... Port enumeration, It has a help file included - has tooltips which can be disabled an integrated web browser ... etc .. would like a bit of feedback ..

    EDIT: v4 avilable in zip format here http://www.igniteautomation.com/ia_logger.zip
    ········v4 avilable as MSI Installer here http://www.igniteautomation.com/ia_log.msi
    ········details here .. http://www.igniteautomation.com/ia_logger.html
    ······· 12 Jan 2008

    John Twomey

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    'Necessity is the mother of invention'

    Post Edited (QuattroRS4) : 1/12/2008 4:03:57 PM GMT
    604 x 587 - 56K
    606 x 587 - 54K
    609 x 682 - 91K
Sign In or Register to comment.