Author Topic: Opening and closing a connection in an event  (Read 1037 times)

bradley217

  • Newbie
  • *
  • Posts: 1
Opening and closing a connection in an event
« on: October 13, 2023, 10:58:25 pm »
I'm using the task scheduler to create a connection, send some commands, then close the connection. Here's commands in the task:

connection action:add name:"Brad's RDS Encoder" model:Readbest type:2 nethost:172.20.9.23 netport:1000
send connection:"Brad's RDS Encoder" command:"DPSEN=0" command:"DPSMOD=2" command:"DPS=Hello World" command:"TEXT=Listen to the Greg Hill show in the year 2025!"
connection action:delete name:"Brad's RDS Encoder"

When the task executes, I don't see any packets come out from the Magic RDS 4 program. I'm using Wireshark to "sniff" the network interface on the PC on which I'm running Magic RDS 4. The "Recent Events" window does indicate that it's executing the commands. If I do each command individually, they work.

Jan

  • Hero Member
  • *****
  • Posts: 1071
Re: Opening and closing a connection in an event
« Reply #1 on: October 13, 2023, 11:09:35 pm »
The connection command cannot be used in the Task scheduler.