Creating traffic simulator with VB .NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wouter van Teijlingen

    Creating traffic simulator with VB .NET

    Dear Readers,

    This is my first post to this group. I was pointed to this group in a
    other vb group, so i have better luck here!

    For my learning curve of VB .NET i want to make a traffic simulation
    program. Before i start programming, i need to know if there even is a
    possibility to make a algorithm in VB .NET that is able to let traffic
    drive and making the lights go green, orange or red.

    Thanks in advance,

    Wouter van Teijlingen
  • Larry Serflaten

    #2
    Re: Creating traffic simulator with VB .NET


    "Wouter van Teijlingen" <woutert@nedlin ux.nl> wrote
    [color=blue]
    > For my learning curve of VB .NET i want to make a traffic simulation
    > program. Before i start programming, i need to know if there even is a
    > possibility to make a algorithm in VB .NET that is able to let traffic
    > drive and making the lights go green, orange or red.[/color]


    What sort of algorithm do you anticipate that may cause it trouble?
    VB.Net is a programing language, after all....

    LFS


    Comment

    • Larry Serflaten

      #3
      Re: Creating traffic simulator with VB .NET


      "Wouter van Teijlingen" <woutert@nedlin ux.nl> wrote
      [color=blue]
      > For my learning curve of VB .NET i want to make a traffic simulation
      > program. Before i start programming, i need to know if there even is a
      > possibility to make a algorithm in VB .NET that is able to let traffic
      > drive and making the lights go green, orange or red.[/color]


      What sort of algorithm do you anticipate that may cause it trouble?
      VB.Net is a programing language, after all....

      LFS


      Comment

      • Cor Ligthert

        #4
        Re: Creating traffic simulator with VB .NET

        Wouter,

        In addition to Larry, when you cannot do it with VBNet you probably cannot
        do it with any programming language. Although there are languages which
        better fit for special situations as deep in the operating system
        programming and creating browser plugins.

        I saw nedLinux in your email adress, there is a VBNet mono. Here we almost
        all do VBNet microsoft (therefore is it a microsoft newsgroup). Most of us
        don't know how VBNet in Mono is acting at the moment.

        Just a little bit to get the traffic in the right direction.

        Cor


        Comment

        • Cor Ligthert

          #5
          Re: Creating traffic simulator with VB .NET

          Wouter,

          In addition to Larry, when you cannot do it with VBNet you probably cannot
          do it with any programming language. Although there are languages which
          better fit for special situations as deep in the operating system
          programming and creating browser plugins.

          I saw nedLinux in your email adress, there is a VBNet mono. Here we almost
          all do VBNet microsoft (therefore is it a microsoft newsgroup). Most of us
          don't know how VBNet in Mono is acting at the moment.

          Just a little bit to get the traffic in the right direction.

          Cor


          Comment

          • Wouter van Teijlingen

            #6
            Re: Creating traffic simulator with VB .NET

            Ok. But is it possible to make something that you can control the
            traffic lights with button. So i press green then the traffic will start
            driving? I press red it will stop?

            My email ends with nedlinux, but i'm really using VB .NET 2003 here :-)

            Thanks,

            Wouter van Teijlingen
            The Netherlands

            Comment

            • Wouter van Teijlingen

              #7
              Re: Creating traffic simulator with VB .NET

              Ok. But is it possible to make something that you can control the
              traffic lights with button. So i press green then the traffic will start
              driving? I press red it will stop?

              My email ends with nedlinux, but i'm really using VB .NET 2003 here :-)

              Thanks,

              Wouter van Teijlingen
              The Netherlands

              Comment

              • Cor Ligthert

                #8
                Re: Creating traffic simulator with VB .NET

                Wouter,

                You can control the RS232 port if you are asking that.
                Mostly is that answered by Dick Grier in this newsgroup.

                When you make a message like "how can I do the traffic lights using the comm
                port or RS232" he will probably answer you because in my idea has he some
                kind of filter on that in his newsreader.

                This is his homepage
                Hard & Software -- software consulting for data acquisition, serial communications, control, GIS, and WinCE embedded systems,


                There is a lot on MSDN, I never did this kind of things however here a
                sample.


                I hope this helps?

                Cor



                Comment

                • Cor Ligthert

                  #9
                  Re: Creating traffic simulator with VB .NET

                  Wouter,

                  You can control the RS232 port if you are asking that.
                  Mostly is that answered by Dick Grier in this newsgroup.

                  When you make a message like "how can I do the traffic lights using the comm
                  port or RS232" he will probably answer you because in my idea has he some
                  kind of filter on that in his newsreader.

                  This is his homepage
                  Hard & Software -- software consulting for data acquisition, serial communications, control, GIS, and WinCE embedded systems,


                  There is a lot on MSDN, I never did this kind of things however here a
                  sample.


                  I hope this helps?

                  Cor



                  Comment

                  • Wouter van Teijlingen

                    #10
                    Re: Creating traffic simulator with VB .NET

                    Cor Ligthert wrote:[color=blue]
                    > Wouter,
                    >
                    > You can control the RS232 port if you are asking that.
                    > Mostly is that answered by Dick Grier in this newsgroup.
                    >
                    > When you make a message like "how can I do the traffic lights using the comm
                    > port or RS232" he will probably answer you because in my idea has he some
                    > kind of filter on that in his newsreader.[/color]

                    That's not what i mean. It has to be software only. Imagine the following:

                    I have train. When the train passes the train passage has to close. The
                    ''battle trees'' have to be closed until the train is away. I don't want
                    to combine this with hardware at all (only the computer).

                    So when i press the button GREEN cars can ride. When i press RED, when
                    train comes by, cars must stop. So the train must comeby, let's say,
                    every five minutes.

                    I hope this makes things better understandable. Thank you for your help.

                    Bye,

                    Wouter van Teijlingen

                    Comment

                    • Wouter van Teijlingen

                      #11
                      Re: Creating traffic simulator with VB .NET

                      Cor Ligthert wrote:[color=blue]
                      > Wouter,
                      >
                      > You can control the RS232 port if you are asking that.
                      > Mostly is that answered by Dick Grier in this newsgroup.
                      >
                      > When you make a message like "how can I do the traffic lights using the comm
                      > port or RS232" he will probably answer you because in my idea has he some
                      > kind of filter on that in his newsreader.[/color]

                      That's not what i mean. It has to be software only. Imagine the following:

                      I have train. When the train passes the train passage has to close. The
                      ''battle trees'' have to be closed until the train is away. I don't want
                      to combine this with hardware at all (only the computer).

                      So when i press the button GREEN cars can ride. When i press RED, when
                      train comes by, cars must stop. So the train must comeby, let's say,
                      every five minutes.

                      I hope this makes things better understandable. Thank you for your help.

                      Bye,

                      Wouter van Teijlingen

                      Comment

                      • Wouter van Teijlingen

                        #12
                        Re: Creating traffic simulator with VB .NET

                        Cor Ligthert wrote:[color=blue]
                        > Wouter,
                        >
                        > You can control the RS232 port if you are asking that.
                        > Mostly is that answered by Dick Grier in this newsgroup.
                        >
                        > When you make a message like "how can I do the traffic lights using the comm
                        > port or RS232" he will probably answer you because in my idea has he some
                        > kind of filter on that in his newsreader.[/color]

                        That's not what i mean. It has to be software only. Imagine the following:

                        I have train. When the train passes the train passage has to close. The
                        ''battle trees'' have to be closed until the train is away. I don't want
                        to combine this with hardware at all (only the computer).

                        So when i press the button GREEN cars can ride. When i press RED, when
                        train comes by, cars must stop. So the train must comeby, let's say,
                        every five minutes.

                        I hope this makes things better understandable. Thank you for your help.

                        Bye,

                        Wouter van Teijlingen

                        Comment

                        • Wouter van Teijlingen

                          #13
                          Re: Creating traffic simulator with VB .NET

                          Cor Ligthert wrote:[color=blue]
                          > Wouter,
                          >
                          > You can control the RS232 port if you are asking that.
                          > Mostly is that answered by Dick Grier in this newsgroup.
                          >
                          > When you make a message like "how can I do the traffic lights using the comm
                          > port or RS232" he will probably answer you because in my idea has he some
                          > kind of filter on that in his newsreader.[/color]

                          That's not what i mean. It has to be software only. Imagine the following:

                          I have train. When the train passes the train passage has to close. The
                          ''battle trees'' have to be closed until the train is away. I don't want
                          to combine this with hardware at all (only the computer).

                          So when i press the button GREEN cars can ride. When i press RED, when
                          train comes by, cars must stop. So the train must comeby, let's say,
                          every five minutes.

                          I hope this makes things better understandable. Thank you for your help.

                          Bye,

                          Wouter van Teijlingen

                          Comment

                          • Cor Ligthert

                            #14
                            Re: Creating traffic simulator with VB .NET

                            Wouter,

                            That was what I understood, however there should be an interface between
                            your train and your computer in my opinion.

                            Or is it completly without any fysical beside the computer and is it
                            simulating.

                            I saw this link in another newsgroup by the way.
                            Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


                            This is with fysical, however I cannot keep it forever in my clipboard

                            :-)

                            Cor


                            Comment

                            • Cor Ligthert

                              #15
                              Re: Creating traffic simulator with VB .NET

                              Wouter,

                              That was what I understood, however there should be an interface between
                              your train and your computer in my opinion.

                              Or is it completly without any fysical beside the computer and is it
                              simulating.

                              I saw this link in another newsgroup by the way.
                              Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


                              This is with fysical, however I cannot keep it forever in my clipboard

                              :-)

                              Cor


                              Comment

                              Working...