-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i execute your script? #4
Comments
Hi @martinmmi Looks like you're trying to install it inside the node interactive shell. |
And is this script a tsl-umd server or a client? A server, or? Iam searching after a solution for a tsl-umd client. I have allready finished hardware from https://www.rossvideo.com/ (Black Carbonite Solo) and i try to build a tsl-umd recipient with an raspberry pi for tsl-umd tallys. |
But i dont know how i can start |
Try this to send tally to Dashboard. Run the following commands in PowerShell to create a script/project. mkdir tally-test
cd tally-test
npm install tsl-umd-v5
New-Item index.js
explorer . Now open the const TSL5 = require('tsl-umd-v5')
// Replace this value with your Dashboard PC IP address
var ip = "<dashboard-pc-ip>"
var umd = new TSL5()
var port = 5001
//Sending tallies
tally = {
"screen": 0,
"index": 1,
"display": {
"rh_tally": 1,
"text_tally": 0,
"lh_tally": 0,
"brightness": 3,
"text": "Test Tally"
}
}
//Send UDP tally
console.log("Attempy Tally with sequence")
umd.sendTallyUDP(ip, port, tally, true)
//Send UDP Tally
console.log("Attempy Tally without sequence")
umd.sendTallyUDP(ip, port, tally, false) Then back in PowerShell run the command with You may also need to open the firewall rules on your dashboard PC to accept traffic on port 5001 |
I installed node.js in version 20.1.0 (windows) and tried to install the tsl-umd-v5 packedge.
But i get this error:
The text was updated successfully, but these errors were encountered: