Creating a temp .txt file on NetLinx Controller?
jcerecke
Posts: 40
Can I create a .txt file from code on the NetLinx Controller? Or at least read & write to one?
I've been given the following commands by Lifesize Room 220 Video Conference Codec:
Now there could be up to 1000 Directory entries, which is a lot of text to store in a variable. But I'm thinking if NetLinx does allow me to write to a text file, I might have to do it from a variable anyway?
I've been given the following commands by Lifesize Room 220 Video Conference Codec:
get directory local -B > localdir.txt set directory local -o -B < localdir.txt
Now there could be up to 1000 Directory entries, which is a lot of text to store in a variable. But I'm thinking if NetLinx does allow me to write to a text file, I might have to do it from a variable anyway?
0
Comments
Unless you're really pushed for memory you shouldn't have any issues just using a 2 dimensional char array. Even with 1000 entries at 32 characters a piece your only looking at just under 32kB.
We have seen that happen in 8400's many times (not due to us, we don't rewrite there) - losing the ability to store the screen calibration. A new card and they work fine. I wonder if the OS in the panels isn't re-writing it far too often.