HC. The list - and questions about it.

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: HC. The list - and questions about it.

Post by RobertBell » Mon Feb 02, 2009 10:55 pm

I talked to the boys. We would need a unique identifier when the FX starts (which may be a very long string with is useless to anybody buy Lua. We would provide a method of getting that string so you could call it right after you run the cue in question). Do you have specific thoughts in mind. Please share them or this will defiantly be pushed to back back burner.
Robert Bell - Product Manager - Horizon Control Inc.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: HC. The list - and questions about it.

Post by tom » Tue Feb 03, 2009 7:27 am

I would like to be able to create an effect through an external application. The goal would be to create effects based on variables and with a slightly different interface than what we have now.

Also, being in a cue, being able to call up a window with the list of effects running and then adding fixtures and modifications based on mathematics.

I'm not sure if it's nessicary to give all effects a unique id, (but i'm sure that would come in handy in the future) but it does store a list of running effects in cues. Is it not possible to split that up?


Side question,
Whats the syntax for getting a output number of a fixture not based on the index but based on the channel number? Or how do i get the index of a fixture from it's channel number?
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: HC. The list - and questions about it.

Post by RobertBell » Tue Feb 03, 2009 11:43 am

tom wrote:Whats the syntax for getting a output number of a fixture not based on the index but based on the channel number? Or how do i get the index of a fixture from it's channel number?
this returns the first 1-based offset fixture's patch

Code: Select all

print(HC.GetProperty('fixture',1,'patch'))
Int:135,Attr:1052
this returns fixture 1's patch

Code: Select all

print(HC.GetProperty('fixture','#1','patch'))
Int:137,Attr:1025
Robert Bell - Product Manager - Horizon Control Inc.

User avatar
TaineGilliam
Posts: 1183
Joined: Tue Oct 23, 2007 5:15 pm
Location: Cleveland, OH
Contact:

Re: HC. The list - and questions about it.

Post by TaineGilliam » Tue Feb 03, 2009 2:38 pm

Given the direction of "FX on Looks" - using the Look as a handle for the effect, allow linking variables to effect attributes/parameters. This doesn't do much for the "free-standing" or cue attached effect but still sounds very powerful. After all, hopefully, a cue could use the "FX on Look" as a palette...

Taine

User avatar
golights
Posts: 159
Joined: Mon Feb 04, 2008 2:58 pm
Location: South Of Atlanta

Re: HC. The list - and questions about it.

Post by golights » Fri Jun 05, 2009 4:11 pm

Would it be possible to get an updated list of HC. commands?

User avatar
BobbyHarrell
Posts: 2280
Joined: Fri Oct 12, 2007 10:51 am
Location: Livingston, NJ
Contact:

Re: HC. The list - and questions about it.

Post by BobbyHarrell » Fri Jun 05, 2009 4:25 pm

Will ask Robert or Gary to post.
Bobby Harrell - Product Specialist
Philips Entertainment - Strand Lighting

User avatar
RobertBell
Posts: 2421
Joined: Fri Oct 12, 2007 1:11 pm
Primary Venue / Use: Other
Where I Am: Horizon Control Inc
Location: On the dark side just north of Toronto
Contact:

Re: HC. The list - and questions about it.

Post by RobertBell » Fri Jun 05, 2009 4:31 pm

They are always listed in the MACRO SCIPT EDITOR or by typing HELP at a telnet prompt. But here they are for 10.6.1

Code: Select all

HC.AddUserFunctionDescription('description_offunction')
HC.AttributeFade(fixture[,attribute_name],value [,time])
HC.AttributeFadeCapture(fixture[,attribute_name],value [,time])
HC.AttributeGetValue([source_identifier,]fixture[,attribute_name])
HC.AttributeSetValue([source_identifier,]fixture,attribute_name,attribute_value)
HC.Bump('page_name' | page_index , look_number, is_down )
HC.ButtonPress('page','name' or order)
HC.ButtonWingButtonPress( bank, button )
HC.ButtonWingPageDown( bank )
HC.ButtonWingPageUp( bank )
HC.CueListAssert('cue list')
HC.CueListGo('cue list')
HC.CueListGotoAndExecuteFollows('cue list', cue)
HC.CueListGotoAndHalt('cue list', cue)
HC.CueListHalt('cue list')
HC.CueListHaltBack('cue list')
HC.CueListRelease('cue list'[,release_time])
HC.Deselect('fixture_string')
HC.Encoder( encoder_number, signed_value)
HC.FixtureCheckBack()
HC.FixtureCheckForward()
HC.FixturePark('fixture_spec')
HC.FixtureUnPark('fixture_spec')
HC.FlashFixture([fixture_num])
HC.FlashOutput([output_num])
HC.FlipCurrentSelectionSet()
HC.GetButtonWingButtons( bank )
HC.GetButtonWingPageName( bank )
HC.GetCommandLineText()
HC.GetCurrentSelectionSet(['delimeter'])
HC.GetScriptSource('type'|'number'|'parent'|'name'[,'type'|'number'|'parent'|'na                                                                                                                                                             me'[,'seperator']])
HC.GetScriptSource('type'|'number'|'parent'|'name'|'value'[,'type'|'number'|'par                                                                                                                                                             ent'|'name'|'value'[,'seperator']])
HC.GetSoftkeyText( 'bank' )
HC.HardwareConsoleLights(level 0 to 10)
HC.ILSLockCommand(device_id,lock(1)/unlock(0)
HC.ILSSetScene(device_id,scene)
HC.LookFade('page',looknumber,value[,seconds])
HC.LookFadeRate('page',looknumber,value[,seconds full scale])
HC.LookFadeStop('page',looknumber)
HC.LookGetValue('page',looknumber)
HC.MediaPlayerPause()
HC.MediaPlayerPlay()
HC.MediaPlayerPlayFile('file name')
HC.MediaPlayerStop()
HC.MessageBox('message_box_text')
HC.MidiNoteOff(channel_1_to_16,key_1_to_128[,velocity_0_to127])
HC.MidiNoteOn(channel_1_to_16,key_1_to_128[,velocity_0_to127])
HC.MidiTimeCodeEnable()
HC.MidiWrite(midi_byte[,midi_byte ...])
HC.OutputCapture(output , level | 'level_percent')
HC.OutputPark(output, level | 'level_percent' [, park_group])
HC.OutputRelease(output )
HC.OutputRouteEnable( route_number [, 'live'|'blind'|'liveblind'] )
HC.OutputRouteDisable( route_number )
HC.OutputRouteAdd( output_start, output_end, 'shownet'|'dmx'|'kinet'|'pathport'|                                                                                                                                                             'e1.31'|'artnet', xdmx_start [, 'live'|'blind'|'liveblind'])
HC.OutputUnPark(output [, park_group ]  )
HC.PatchFixture(fixture[,dmx_channel [, 'Dimmer' | 'DMX1' | 'DMX2' | 'DMX3' ] ]                                                                                                                                                               )
HC.PowerPointFirstSlide(machine_id)
HC.PowerPointGotoSlide(machine_id,slide_number)
HC.PowerPointLastSlide(machine_id)
HC.PowerPointNextSlide(machine_id)
HC.PowerPointPrevSlide(machine_id)
HC.RecordCue('cue_list',cue_number[,'merge'|'replace'][,'IPCGLSTE'][,cue_time][,                                                                                                                                                             'label'])
HC.RecordLook('look_page',look_number[,'merge'|'replace'][,'IPCGLSTE'][,'label']                                                                                                                                                             )
HC.ReleaseAll()
HC.RemDim()
HC.SaveShow()
HC.SearchFixtureProperties( 'search_bounds', 'inuse|notinuse|all', fixture_num_m                                                                                                                                                             atch, att_family_match, start_page_index, max_num_fixtures_returned, ...properti                                                                                                                                                             es...)
HC.Select('fixture_string')
HC.SerialClose(1 to 16)
HC.SerialOpen(1 to 16,'9600,N,8,1'[,'script'])
HC.SerialRead(1 to 16)
HC.SerialWrite(1 to 16,'output string' or binary_byte or table [,...])
HC.SetFixtureType(fixture[, 'manufacturer', 'model [, 'mode']])
HC.SetLevel('fixture_string', 'level_string' [,fade_time_seconds])
HC.SetOutputPriority(output_number , priority )
HC.SMPTEStart(['hh:mm:ss.fr'[,'30'|'30dr'|'25'|'24']][,interface])
HC.SMPTEStop(interface)
HC.SoftkeyPress( 'M or S', button_number  )
HC.Status('status string')
HC.SystemRestart([<maintain state>true|false])
HC.SystemShutdown()
HC.Trackball( 'H' | 'V' | 'X' | 'Y', signed_value)
HC.UIMacro('macro-info'[,'macro-info' ...])
HC.VariableGet('page','name' | order)
HC.VariablePagePatchSet('page','new patch')
HC.VariableSet('page','name' | order,'value' | value)
HC.VariableSetDelayed('page','name' | order,'value' | value,seconds)
HC.Wheel( wheel_number, signed_value)
Robert Bell - Product Manager - Horizon Control Inc.

MattKlasmeier
Posts: 491
Joined: Tue Oct 23, 2007 1:41 pm
Location: Cincinnati, OH
Contact:

Re: HC. The list - and questions about it.

Post by MattKlasmeier » Mon Jun 22, 2009 2:49 pm

Attached is the list in Excel. I started when it came out but this post reminded me to finish it. I also tried to denote changes in the list. Let me know if I need to make any corrections.
HC Macro List 10.6.1.xlsx
HC Macro List Excel 2007
(13.13 KiB) Downloaded 153 times

User avatar
gooze
Posts: 1760
Joined: Tue Dec 18, 2007 12:42 pm
Location: Amsterdam, The Netherlands
Contact:

Re: HC. The list - and questions about it.

Post by gooze » Tue Jul 07, 2009 8:13 am

I started playing with some HC commands over telnet on the OSX terminal and I discovered that HC.SystemShutdown() is a quite dangerous powerful beast. It even shuts down windows and powers down your console! No questions asked.
Floriaan Ganzevoort - Lighting designer
THEATERMACHINE design. production. operations.

User avatar
BrianEvans
Posts: 700
Joined: Fri Oct 12, 2007 1:11 pm
Location: Orlando, Florida

Re: HC. The list - and questions about it.

Post by BrianEvans » Wed Jul 08, 2009 8:11 am

Thats the idea.

This is implemented for Automation applications.
Museums, theme park attractions, etc.

We like to program an automatic reboot at an ungodly hour about once a week,
to keep things running smoothly.
Brian Evans - System Specialist - Horizon Control Inc.

Post Reply