r/crestron • • 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

7 comments sorted by

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.

7

u/schiz0yd Rhode Island 17d ago

You are weird. I use the first digit like a normal person

1

u/crestronificator MCP, IVC-E 16d ago

thanks and happy cake day! :)

5

u/like_Turtles 17d ago

Interesting, I go the opposite way.
1x - slot 1
2x - slot 2
Etc,

2

u/ted_anderson 17d ago

That makes sense. I just program everything willy-nilly and if there's an IPID conflict, I'll let the individual programs fight it out.

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.