Forum Replies Created
-
AuthorPosts
-
JonasStade
Participantnext try to upload
JonasStade
Participanthellooo,
first time using aquilon / livepremier system on a job with a little bit time, so I implemented the AWJ Protocol in a NEW Driver. With JSON Driver there are problems to read out data, because V-Control decides in the channels, if its POST or GET and you need POST for setting Values and GET to read out values. So This driver also uses device variable to setup layer for example. If you read the protocol manual you have to read out the layer state first so you can set the right target for the source. Its a bit complicated because to fill a layer you need 3 commands =>
Status_TBar – Reads out the data that you need
SetSourceToLayer – Uses the read out Data from Status_Tbar
Update_Layer – Updates all WEB RCS in the Network, its recommended to use, after you are done routing ALL you Layers!!have fun with this 😉
JonasStade
ParticipantGood Question,
I am just updating the device drivers sometimes and its running ok. For the event branch Companion was a game changer and the most things are possible with it. But for special developement V-Control works awesome. So I hope there will be some updates in the future 😉
JonasStade
Participanthere the file ….
Attachments:
JonasStade
Participant1. Use NthField() as a sorting function. Use <ClipId> as sorting identifier, then select slot 2, should be something like
dim clipid as string
clipid=NthField(ioresult,“<ClipId>“,2)And then you have two options. First you can set </clip> as an acknowledge in the command driver, so VControl stops reading the
Ioresult from this point on/cut the rest of the XML of, because it is the command end indicator, were the ack event would take over. Or you do another NthField request on </ClipId> and select slot 1. then fill the value into the device driver and you finish. Would be nice if you could response if it is working. The last time I write huge amount of text to this Forum and no working response etc.JonasStade
ParticipantUpload Errors:
[V4]_AV_Stumpfl_Pixera_v1.0.dr4: Sorry, this file type is not permitted for security reasons.Attachments:
JonasStade
Participantthis is freshly code from my new driver, IMPORTANT IS ALSO THE / at the beginning, because instead it would net be described as HTTP (for example wireshark and so on)
dim enter,two,nine,ten,m,json as string
m=””””
enter = chr(13) + chr(10)
json=”{“+m+”jsonrpc”+m+”:”+m+”2.0″+m+”, “+m+”id”+m+”:54, “+m+”method”+m+”:”+m+”Pixera.Timelines.Timeline.getTransportMode”+m+”, “+m+”params”+m+”:{“+m+”handle”+m+”:”+P1+”}}”
two= “Content-Type: application/json”+enter
nine=”content-length: “+str(Len(json))+enter
ten=”Connection: keep-alive”+enter+enterScriptResult = “/ ” +two+nine+ten+json+chr(10)
JonasStade
ParticipantHrhr I had the same issue the last days with Pixera. So the answer is: you need the
content-length: 22
This has to be the counting of all used symbols in the command. I just do a pre scriptresult as string, let’s call it
JSON=„Chenjdnjxunwbsi“
lenght=„content-length: „+str(Len(JSON))Len() counts all symbols but the output is integer so I directly change this back to string for the output.
JonasStade
ParticipantHi Dierk,
I found the mistake on the whole thing:
ÄzÌJ:àLhE{1Ú@ÂDã_ÐAÚØP?ºPOST / HTTP/1.1
Content-Type: text/plain
User-Agent: PostmanRuntime/7.15.0
Accept: */*
Cache-Control: no-cache
Postman-Token: 4b243b39-1067-43a9-a23a-1deee3587f13
Host: 10.20.21.10:8080
accept-encoding: gzip, deflate
content-length: 68
Connection: keep-alive{"jsonrpc":"2.0", "id":20, "method":"Pixera.Screens.getScreenNames"}
ÄzÌJ:àLhE6"@
Â\>¸:üdßúP?ÜPOST / HTTP/1.1
Content-Type: text/plain
User-Agent: V-Control/4.1.5
Accept: */*
Cache-Control: no-cache
Postman-Token: 66197b73-b76d-442f-be13-1c43b56ffbfc
accept-encoding: gzip, deflate
content-length: 68
Connection: keep-alive
{"jsonrpc":"2.0", "id":20, "method":"Pixera.Screens.getScreenNames"} HTTP/1.0
Accept: */*
Accept-Language: en
Host: 10.20.21.10
So there are some points on that. First fact that you should have known as a programer, vcontrol adds this part BEHIND the command.
Accept: */*
Accept-Language: en
Host: 10.20.21.10But it seems not relevant for the whole thing.
The most important thing on pixera is Content-Length!! This defines the command lenght and when you leave that out, it sais “Request has no data.”. This is something you have to know and its very reverse engineered from me 🙂
So it works now and I will upload the driver, when its ready 😉
JonasStade
ParticipantHi Dierk,
Pixera can be downloaded as a demo version and the api is working on that. So I tried it for a longer time yesterday and found a JSON client for API Testing which works very well. Is quit simple, I am using the HTTP Port on 8080 (own choice) and also have activated the Port 1400 for JSON TCP. You can use two API Ports at the same time and two Output Ports for sending something back from the timeline. They have also a JSON DL with delimiter Px0X ehich you can use. But for now the HTTP work. The thing is, you have to send the command as RAW. In the Software I just fill out the body part with the command and send it as RAW and get a RAW back from the API.
But if you have some time, it would be also nice to visit your place for a nice talk 🙂
JonasStade
Participantsomething went wrong with the pdf file, here we go again 😉
Attachments:
May 27, 2019 at 16:35 in reply to: [DRIVER][V4]Lightware 220pro TX & RX Module inkl. Live Update #2252JonasStade
ParticipantDriver Upload didn’t wokr, this is another try
JonasStade
Participantadditional stuff:
In my actual setup I am running companion on a second device and wanted to trigger a button via network. The problem was, that I also wanted to configurate companion via network. Here are the issues I was running into on windows 10:
– select the correct network adapter and port on the companion pc
– don’t press close, press hide
– when you want to access the config website from companion you have to be on private network setting. This is the major problem today on every win10 PC, and it is hard to change this. But here is your perfect solution:I have wrote a PowerShell Script called:
change_fucking_ethernet_profile_bitch_private.cmd + change_fucking_ethernet_profile_bitch_private.ps1
It can have every name, but they have to be similar to each other. So execute the cmd as admin and it will give you a list of network adapters. Type in the correct number, press enter and you are fine. In the set is also a change to public script, which will turn this setting back to normal 😉
JonasStade
ParticipantHi there, we had a nice idea onsite and wanted to confirm if it is working, and it works (but we don’t know how long it would be stable 😉
IDEA: When someone clicks on powerpoint, the multiviewer background should be changed for 1 second to greend and then back to black
So we needed a new command to change MV settings and I redesigned the MAC Adress field to a global one, because in V4 there couldn’t be two frames added to one device.
The result, it works quiet well, but I havn’t enough P fields for RGB Color, MV Destination and the Target Layout, so I had to work around a little bit with RGB values like 1023;1023;1023 for white. The command checks and erase characters or values under 0 and over 1023 and if you are lazy just type in 1023 and the command copy the value to R – G – B 🙂
We connected the Mastercue to V-Control and set up a playlist with arrow left/right added to green and red color and delay of 2000 so if someone is clicking wild, the E2 will not be broken from command 😉
I want to add some Device Values that are always there so we have something like “LastPreset Recalled” and some other interestin informations that could be provided for the GUI and so on (Transition Value from 0 to 4048 is also interesting for an optical feedback). But I am working on this right know and waiting for an answer from Dierk how this could be realised 😉
=> SO this Driver is BETA and just for people who wants to try out, fixed some stuff in comparison to V1.9
JonasStade
ParticipantNow after a few month Dierk had reconstruced the Channels to a very good state, but two cases were I am not so comfortable with:
1. You can add the same IP+Port to different devices and as we know this will not work when we switch into run mode 😉
2. When I save the channel It would be nice to get a feedback like a symbol or a text (NO POPUP!!) that indicates that the save worked. It is strange to press a Button and don’t get any feedback that the channel/save/modification is working. It would be nice to see the IP near the Channel State in the programming Window or in something like a seperated Output Window, were I can see All running Channels with IP and Port so I can indicate if some Channel is broken (in my case I fill out the IP into the port window and didn’t realize it for a longer time ^^) -
AuthorPosts