The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Programming Question by LeiraHoward 2002-07-24 11:14:58
I'm working with a spectrum analyzer at work, and it connects to a computer via a RS232C port (serial port). The manual comes with instructions on how to write your own programs in QBASIC, (the manual is dated Jun 2000 and they still want QBASIC... bleah!) Anyway, the commands are sent over via a PRINT #1 command after the device is initialized with a OPEN "COM1:9600,more variables here" string.

I was wondering how I would go about initializing the COM port using C++, and how I could send over the commands to the device using C++. Any help would be appreciated.

[ Reply ]
  i might be able to help... by cybergeek2002-07-24 11:40:32
    Manual by LeiraHoward2002-07-24 11:54:21
      i don't know if i'm up to it... by cybergeek2002-07-24 12:00:17
        Heh... by LeiraHoward2002-07-24 12:27:36
          Well it's been a long time since... by Apfel2002-07-24 12:32:14
            Beats me... by LeiraHoward2002-07-24 12:41:57
              Got a... by Apfel2002-07-24 12:47:46
                Manual? by LeiraHoward2002-07-24 13:10:09
            try "fprintf ( STDAUX, "your command here" ); by i_am_pi2002-07-24 12:51:29
              Ha, I knew there was something like that! by Apfel2002-07-24 12:57:02
              Okay, I'll try that. by LeiraHoward2002-07-24 13:08:40
      have you tried... by ToLazyToThink2002-07-24 16:18:01

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)