Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Reading Data Stored in a CSV file on a Crestron Processor
Chip Moody
The concept <cough> is easy enough.
toggle quoted message
Show quoted text
Use the file functions in S+ to read the conents of the CSV file into a buffer. If it helps, imagine this file as some device that dumps a large chunk of data in through an RS232 port. When it's done filling the buffer, now you can use the string manipulation functions to parse out the data you want. You would use Toolbox to transfer the CSV file from your computer to the processor - most likely to the USER directory. If this is something that will be updated with any frequency, you might look into having the CSV file hosted on a web server and having the Crestron read it from there - which is also easy. (In fact, it's easier than dealing with the S+ file routines) If you have a CSV sample file, feel free to shoot it over - I might already have some code that I could tweak to your need... - Chip --- In Crestron@..., "Iain" <iain@...> wrote:
|
to navigate to use esc to dismiss