Page 2 of 4

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

Posted: Mon Feb 02, 2009 10:55 pm
by RobertBell
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.

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

Posted: Tue Feb 03, 2009 7:27 am
by tom
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?

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

Posted: Tue Feb 03, 2009 11:43 am
by RobertBell
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

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

Posted: Tue Feb 03, 2009 2:38 pm
by TaineGilliam
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

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

Posted: Fri Jun 05, 2009 4:11 pm
by golights
Would it be possible to get an updated list of HC. commands?

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

Posted: Fri Jun 05, 2009 4:25 pm
by BobbyHarrell
Will ask Robert or Gary to post.

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

Posted: Fri Jun 05, 2009 4:31 pm
by RobertBell
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)

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

Posted: Mon Jun 22, 2009 2:49 pm
by MattKlasmeier
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 163 times

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

Posted: Tue Jul 07, 2009 8:13 am
by gooze
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.

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

Posted: Wed Jul 08, 2009 8:11 am
by BrianEvans
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.