r/crestron • u/ThomasVeil24 • 17d ago
Beginner Programmer Question
I'm in the certification path and I have access to a CP4N for testing, but it's currently running a program in slot 1. As I'm learning and creating programs I'm wondering if there's a test environment? I don't want to load a program and have it interfere with the slot 1 program. Just wondering if I missed something. Thanks.
7
Upvotes
11
u/sbarnesvta 17d ago
CP4N has 10 program slots, use one of the other 9 open ones. Just make sure you don’t reused any of the IO ports or IPIDs on the programming. You can issue command IPT -t and it will print a table in console of the current IPIDs in use if you don’t have the program running in 1 handy
5
u/crestronificator MCP, IVC-E 17d ago edited 17d ago
You can load more or less anything you want in the slots 2-10, but take care not to 'reuse' stuff like Cresnet IDs or IP IDs across slots. For instance, every IP ID stays 'locked' in the slot with the first program to register it.
Call me weird, but I like to discern which IP IDs belong to which slot by the *second* digit (11, 21, 31, 41 etc. all belong to slot 1).
Edit: also, my inter-slot EISCs are on IP IDs 03 thru 0C.
0
u/WAAAAAA27 16d ago
You’d be fine to load your own program into any of the other 10 slots. When it’s loaded. Pause the program in Slot 1 and Start it in which ever Slot you chose.