C# question

This is a discussion on C# question within the C# Programming forums, part of the General Programming Boards category; Hi there, I am realy new to c# programming and I have one question. I want to send some commands ...

  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    7

    C# question

    Hi there,

    I am realy new to c# programming and I have one question.

    I want to send some commands to my serial port and I saw that is more easy to do this from a c# program that a c program. I want to control a board with 4 relays, they turn on and off by a simple command.

    I want to do this in a (maybe) special way: my program should read a value from a txt file and if that value is lets say 11 it should turn on relay no.1

    Can a c# program do this after I run the program? I mean do this automatic. If I write 11 in my file my program turn on the relay?

    I hope you could understand what I want to say


    I know I can do this from a C program but I found harder to do.

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    Last edited by VirtualAce; 08-24-2013 at 03:51 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 03-23-2011, 09:00 AM
  2. *szString = things question/memory question
    By Jang in forum C Programming
    Replies: 3
    Last Post: 01-20-2011, 03:59 AM
  3. Newbish Question file reading question....
    By kas2002 in forum C Programming
    Replies: 23
    Last Post: 05-17-2007, 12:06 PM
  4. Self regiserting DLLs question and libraries question.
    By ApocalypticTime in forum Windows Programming
    Replies: 2
    Last Post: 03-22-2003, 01:02 PM
  5. A question of color...(not a racial question)
    By Sebastiani in forum Windows Programming
    Replies: 7
    Last Post: 01-15-2003, 07:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21