If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Phidget webservice fun
2 posts
• Page 1 of 1
Phidget webservice fun
Hi all,
I was playing around today with the Phidget remote webservice and flowstone.
Attached is a screenshot, and the fsm file, and the phidget webservice log that I was testing with.
If you have a Phidget LCD display, you can test this also. I had 1 computer on the network (ip # 192.168.1.151) connected to the Phidget locally. I had 3 other computers, and the local computer (total of 4) connected to the webservice. I had 2 desktops, 1 HTPC, and a netbook, all connected simultaneously.
Each computer had 6 connections, for a total of 24 connections. Individually, I tried up to 12 or 13 connections on a computer (had 2 computers with 12), but I never saw a limit, although I'm sure there is one. Even with 12 connections, my CPU was only at around 6% or so. The only trouble I saw was the LCD display itself had issues connecting multiple instances on XP machines, the 8/8/8 module could connect just fine. On Vista and Windows 7 I could connect to multiple instances just fine to both the LCD and 8/8/8 module.
Using HTPC's as "nodes", I can have local Phidget modules plugged into individual HTPC's. I can access these from a Master PC with a Flowstone app, and I can have a lot of local control as well. This would be an example of the distributed control I have talked about in other posts. I plan on using a web cam, that is tied into the network directly, that will allow visual feedback from a master controller. Has anyone else done any testing with other Phidget modules over the webservice? I'm curious to know what is possible. This capability would greatly reduce my need to have client / servers set up for basic I/O. I still would need them for COM port interfacing, but wouldn't need to worry about the Phidget data. One nice thing about the webservice is that for each connection, a new port is defined for that connection. This allows the multiple connections to the same device. I would not be able to do this with flowstone, since each server will connect to only 1 IP address, although I need to test this to make sure.
Well enough for this post, feel free to comment or make suggestions. Sorry about the big JPG, I just wanted the info in the serial setup to be visible.
I was playing around today with the Phidget remote webservice and flowstone.
Attached is a screenshot, and the fsm file, and the phidget webservice log that I was testing with.
If you have a Phidget LCD display, you can test this also. I had 1 computer on the network (ip # 192.168.1.151) connected to the Phidget locally. I had 3 other computers, and the local computer (total of 4) connected to the webservice. I had 2 desktops, 1 HTPC, and a netbook, all connected simultaneously.
Each computer had 6 connections, for a total of 24 connections. Individually, I tried up to 12 or 13 connections on a computer (had 2 computers with 12), but I never saw a limit, although I'm sure there is one. Even with 12 connections, my CPU was only at around 6% or so. The only trouble I saw was the LCD display itself had issues connecting multiple instances on XP machines, the 8/8/8 module could connect just fine. On Vista and Windows 7 I could connect to multiple instances just fine to both the LCD and 8/8/8 module.
Using HTPC's as "nodes", I can have local Phidget modules plugged into individual HTPC's. I can access these from a Master PC with a Flowstone app, and I can have a lot of local control as well. This would be an example of the distributed control I have talked about in other posts. I plan on using a web cam, that is tied into the network directly, that will allow visual feedback from a master controller. Has anyone else done any testing with other Phidget modules over the webservice? I'm curious to know what is possible. This capability would greatly reduce my need to have client / servers set up for basic I/O. I still would need them for COM port interfacing, but wouldn't need to worry about the Phidget data. One nice thing about the webservice is that for each connection, a new port is defined for that connection. This allows the multiple connections to the same device. I would not be able to do this with flowstone, since each server will connect to only 1 IP address, although I need to test this to make sure.
Well enough for this post, feel free to comment or make suggestions. Sorry about the big JPG, I just wanted the info in the serial setup to be visible.
- Attachments
-
- phidget_log.zip
- (1.11 KiB) Downloaded 1244 times
-
- phidget_screenshot.jpg (103.26 KiB) Viewed 11063 times
-
- phidget_LCD_network.fsm
- (35.01 KiB) Downloaded 1207 times
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
Re: Phidget webservice fun
As a side note, the netbook where I had trouble connecting to the LCD module only, I downloaded the latest C++ redistributable from Microsoft, and that fixed the problem. Without that updated file, Flowstone will also crash when the connection is lost. With the file, it will re-connect automatically. Just so everyone knows...
BTW, to get all of that working, you have to have the Phidget dlls installed on every machine, The Phidget webservice running on every machine, and Bonjour print service installed as well. This needs to be installed so that the local Phidget machine can also connect to the Phidgets.
BTW, to get all of that working, you have to have the Phidget dlls installed on every machine, The Phidget webservice running on every machine, and Bonjour print service installed as well. This needs to be installed so that the local Phidget machine can also connect to the Phidgets.
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 40 guests