Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
How to anyone connect watchport/h host sensor via mango
-
Hi.
I?have a watchport/H host (digi .com) sensor .for temperature and humidity test.
the com port is com12.
what have I try:have a script and test it can received the data during 20minutes.
what I?expect: How can it run always.Below is use "device Monitoring studio" to view the data .
00000001 12.09.2014 17:30:06.476 PnP Event: Connect DOWN 0x00000000 5c 00 3f 00 3f 00 5c 00 45 00 64 00 67 00 65 00 53 00 65 00 … .?.?..E.d.g.e.S.e.…00000002 12.09.2014 17:31:17.237 +70.761 IRP_MJ_WRITE DOWN 0x00000000 54 T
00000004 12.09.2014 17:31:18.209 +0.969 IRP_MJ_WRITE DOWN 0x00000000 0d .
00000007 12.09.2014 17:32:00.772 +40.704 IRP_MJ_WRITE DOWN 0x00000000 49 I
00000009 12.09.2014 17:32:02.028 +1.254 IRP_MJ_WRITE DOWN 0x00000000 0d .
00000011 12.09.2014 17:32:02.068 +0.037 IRP_MJ_READ UP 0x00000102 57 00 61 00 74 00 63 00 68 00 70 00 6f 00 72 00 74 00 2f 00 … W.a.t.c.h.p.o.r.t./.…
00000031 12.09.2014 17:35:55.002 +0.737 IRP_MJ_READ UP 0x00000102 2b 33 30 2e 36 32 35 30 43 0d +30.6250C.
00000033 12.09.2014 17:36:25.185 +30.182 IRP_MJ_WRITE DOWN 0x00000000 48 H00000035 12.09.2014 17:36:26.159 +0.971 IRP_MJ_WRITE DOWN 0x00000000 0d .
00000037 12.09.2014 17:36:27.297 +1.137 IRP_MJ_READ UP 0x00000102 34 32 25 0d 42%.
Thanks in advance..
Attachment: download link
-
Above the script display like this .
But I use hyperminal is received data .and I type "T" and get temperature value .Type "H" and get humidity.9? 18 17:09: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 17:09: 'WatchportHSDS': Serial Port COM12 failed with error jssc.SerialPortException: Port name - COM12; Method name - openPort(); Exception type - Port busy.
Urgent9? 18 10:22: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 10:22: 'WatchportHSDS': Serial Port COM12 failed with error jssc.SerialPortException: Port name - COM12; Method name - openPort(); Exception type - Port not found.
Urgent9? 18 00:51: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 00:51: 'WatchportHSDS': Port COM12 is in use
Urgent9? 18 00:48: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 00:48: 'WatchportHSDS': Port COM12 is in use
Urgent9? 18 00:45: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 00:45: 'WatchportHSDS': Port COM12 is in use
Urgent9? 18 00:45: 'WatchportHSDS': Read failed because port is not configured correctly
Urgent9? 18 00:45: 'WatchportHSDS': Port COM12 is in useWhat is wrong with it ? I have close hyperminal .
any suggestion?Thank in advance.
Attachment: download link
-
Your port is busy.
You can use a tool like portmon to tell you what application is using the serial port:
http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx