FullBoar Posted April 17, 2020 Share Posted April 17, 2020 Hi all, First post here, so hopefully this is in the right location... I'm attempting to use the websocket.c4z demo from the Driverworks SDK. At this stage it's unmodified. When loaded into Composer Pro, running with Virtual Director, whenever I try to test basic functionality it fails with the output LUA_ERROR [id: 12][name: WebSocket Demo][file: websocket.c4z][method: OnPropertyChanged]: [string "Lua Code"]:29: attempt to index local 'DemoSocket' (a nil value) In the field "WebSocket URL", I'm using the string "http://websocket.org" (which works fine from a browser) So... My question is, is this demo driver still relevant? Is there more documentation somewhere? Edit: The end goal here is to try and establish two-way comms using an SSL certificate. Only after getting that working can I then think about driver implementation. Thanks D. Quote Link to comment Share on other sites More sharing options...
-defunct- Posted April 17, 2020 Share Posted April 17, 2020 Try on a live system. Virtual director is very very limited in functionality for drivers or anything. It's more there to make project templates. Quote Link to comment Share on other sites More sharing options...
FullBoar Posted April 17, 2020 Author Share Posted April 17, 2020 Thank you. That's useful to know... Any suggestions if I don't have a C4 controller yet? Quote Link to comment Share on other sites More sharing options...
-defunct- Posted April 17, 2020 Share Posted April 17, 2020 Without one, you're pretty much limited on what you can do to guessing. So I'd look to get a controller asap. FullBoar 1 Quote Link to comment Share on other sites More sharing options...
FullBoar Posted April 17, 2020 Author Share Posted April 17, 2020 Ha... okay. That's a bit of a shame... I'd really hoped the Virtual Director was a bit more fully featured Quote Link to comment Share on other sites More sharing options...
-defunct- Posted April 17, 2020 Share Posted April 17, 2020 If that was the case, I'm sure everyone would build desktops with high specs and use virtual director instead of a controller and then nobody would buy controllers and the CA10 wouldn't be sellable at all... FullBoar 1 Quote Link to comment Share on other sites More sharing options...
alanchow Posted April 17, 2020 Share Posted April 17, 2020 31 minutes ago, FullBoar said: Hi all, First post here, so hopefully this is in the right location... I'm attempting to use the websocket.c4z demo from the Driverworks SDK. At this stage it's unmodified. When loaded into Composer Pro, running with Virtual Director, whenever I try to test basic functionality it fails with the output LUA_ERROR [id: 12][name: WebSocket Demo][file: websocket.c4z][method: OnPropertyChanged]: [string "Lua Code"]:29: attempt to index local 'DemoSocket' (a nil value) In the field "WebSocket URL", I'm using the string "http://websocket.org" (which works fine from a browser) So... My question is, is this demo driver still relevant? Is there more documentation somewhere? Edit: The end goal here is to try and establish two-way comms using an SSL certificate. Only after getting that working can I then think about driver implementation. Thanks D. Probably best to post this in the driverworks section of the official dealer forum. https://forums.control4.com/tt.aspx?forumid=98 FullBoar 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.