Elementary Question, I'm sure...
vegastech
Posts: 369
When I select a file to transfer to my controller, I always end up transferring a .tkn file. As I should. My question comes in here: When I compile my project, in the status tab of Netlinx Studio, I see a .axs file after compiling, and a compressed .src file. Shouldn't I be seeing a .tkn file instead?
0
Comments
The compressed .src is an archive file containing everything in your system (other than IR files) when it compiled, including any .AXIs and .AXSs. You can choose to build with or without this .src, but if you do it without, you cannot then extract any code from your master at a later date and edit the .AXS (similar to "Send Source Code" in AXCESS).
If you navigate to the directory where you saved your AXS, this is where you will find the .tko, the .tkn and the .src.
c:\laptop backup\amx\jvc\jvc Main.axs
c:\laptop backup\amx\jvc\jvc Main.axs - 0 error(s), 0 warning(s)
Compiled Code takes 2137011 bytes of memory --Token and Variable count is 802 (Maximum is 100000)
Compressing Source Code Files...
Created SRC file c:\laptop backup\amx\jvc\jvc main.src
if you then go to file transfer, click Add, click Other (if you havent set up a workspace), click Compiled Netlinx Source Code, navigate to your directory, you'll see the .tkn, click OK, ensuring your addressing is 0:1:0, click OK, click send, , ....Robin's yer cousin's pappy.
Edit:
Damn it. Beat me to it
lol! :-D .
When I was in class I learned a trick to auto-increment a list of copied lines. I thought it was alt+highlighting the numbers to increment, but I can't for the life of me remember what the next step was. +, arrow down, can't remember!
For this:
TimeArray[1] = 1000
TimeArray[1] = 1000
TimeArray[1] = 1000
TimeArray[1] = 1000
TimeArray[1] = 1000
I want to change each subsequent line to show 2,3,4,5.
I never took C, so this is still fairly new to me...
I want to create a FOR loop that will continue to check the status of a variable every second until it reaches Zero. This is what I have:
I have the decrement info in the loop, but how do I tell it to re-check every second?
That won't work because your loop will run real fast. Probably the best way to do what you want is to use a timeline which triggers every second. In the timeline event for that timeline, increment or decrement a variable. Look up timelines in the Netscape programming language manual to see how timelines work.
If you want another way to do this which many people will frown upon and some will claim that it will cause a world-wide singularity:
That would probably be the way to do this with an Axcent3. With Netlinx, using a timeline is preferred.