Home AMX Forum NetLinx Studio
Options

Forgot...Please forgive me!

How do I upload an include file to the processor? I created an include, saved it in the same directory as my source file and workspace, added it to the include folder in my workspace, but when I go to upload, I don't have an option to upload it. It simply isn't in the list of available workspace files. Is it automatically put in there somehow?

Comments

  • If you have them defined in your workspace under the Include folder, they will be added to the .scr file of the main program.
  • vegastechvegastech Junior Member
    Can I assume that this means that I cannot then download that AXI from the processor, as it isn't loaded as a separate file?
  • PhreaKPhreaK Senior Member
    When you do an 'include x' it essentially tells the compiler to take the contents of file x and insert it into the source at that point.

    If you've got your compiler set to compile with source this will also place a copy of the include in the .src archive that is created. So when you grab the source from the master and extract you will see your main .axs file along with any .axi's it utilizes.
  • vegastechvegastech Junior Member
    That makes so much more sense to me now - thanks! The netlinx documentation isn't very forthcoming about this, as far as I've seen.
  • truetrue Junior Member
    It's alright - even the trainers at AMX don't know how includes work.
  • ericmedleyericmedley Senior Member - 3709 Posts
    shameless plug for my idea of the super_include.

    Bump
  • PhreaKPhreaK Senior Member
    true wrote: »
    It's alright - even the trainers at AMX don't know how includes work.
    That's a bit of a blanket statement. No matter where you go you will find at least a couple of people that are bad at their job. Personally the ones I've dealt with have been pretty frickin' awesome.
  • mushmush I programme in the dark!
    PhreaK wrote: »
    Personally the ones I've dealt with have been pretty frickin' awesome.

    I second that motion!
  • ericmedleyericmedley Senior Member - 3709 Posts
    I can only speak for Dallas myself. All my training has been down there and I found them all to be pretty knowledgeable and downright jolly good folk..

    I did have a little trouble way early on in Atlanta where I went to learn about the AMX MAX since I was programming my first one. When I got there, the instructor knew even less than I did (which aint saying much...) about the MAX. So, we pretty much downloaded the files and picked over it for a few hours. We didn't even have a live MAX to play with. So, everything we did was pretty much speculation. So, all I got from that trip was a nasty drive across town from the airport during both rush hours.

    Apart from that one blot, I can say it's been a good run.
Sign In or Register to comment.