Can I execute or Test Functions from Studio
Brent Simpson
Junior Member
Hi All,
Does anybody know if it is possible to test or execute Functions or parts of programs directly from Studio rather than setting up test buttons and assigning then to the Function? I imagine it would be executed via diagnostics similar to emulating a device?
I would find it exteremly useful if it was possible...
Cheers
Brent
Does anybody know if it is possible to test or execute Functions or parts of programs directly from Studio rather than setting up test buttons and assigning then to the Function? I imagine it would be executed via diagnostics similar to emulating a device?
I would find it exteremly useful if it was possible...
Cheers
Brent
Comments
-
As far as I know, that is not possible. However, it is something that I've often thought would be useful as well. Perhaps someone out there knows something I don't?
-
Maybe if enough of us ask for it, AMX might add it to their todo list?
I can't see why it couldn't be added - after all we can control and emulate almost everything via Diagnostics...
Brent -
Good idea! If they can emulate a touch panel why not a master?
-
Frankie wrote:Good idea! If they can emulate a touch panel why not a master?
Well it may perhaps look trivial, but emulate a master is pretty complicated, instead emulation of a touch panel is very simple, as NSX just sends on ICSNet message as if it came from touch panel unless it doesn't really existe
Vince -
I never thought it would be trivial. As a mater of fact sound pretty difficult to me. I have seen other companies emulate other devices on a pc, take palm of instance.
Brent's post just got me thinking about it and I thought I would just throw the idea out there. -
Hold on.
You've got MyFunction() that you just created that does some stuff and you just want to try it out. So create some "dummy" handler for a button or something, compile and link and download and then use Diagnostics to trigger the event that calls the function.
What Brent is asking for is a way to bypass the "dummy" event handler. He's not asking for the code to run on the PC, he's not asking about bypassing the compile and link and download phase.
Doing this is actually a lot easier than emulating the master on the PC. It just needs the proper API from the master.
Fred
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums