OpenICE Community Support Forum

Welcome to the OpenICE community support forum. Use this forum for submitting bugs, asking for help, and solving problems you are having with OpenICE software. For ideas, general questions, and conversation please use the discussion forum.
0
Answered

Confused about the communication between two computers both running openice

zhangtan 10 years ago in OpenICE updated by Phai Reddy 9 years ago 7
hi,
I am new to this community.I was doing some experiment in openice.Recently i found an interesting problem.When i ran the newest version openice on two computers in the same network,especially,i ran "ICE_Supervisor" on computer A,and ran a simulated device through "ICE_Device_Interface" on computer B.What i found is that the simulated device did not show in the supervisor in computer A .But i remember it's not the case like this in the older version openice.Does not a supervisor can recognize a device in the same network not only in the local computer? So i got confused and need help. Thank you very much.
zhangtan
ICE OpenICE
0
Answered

How to build OpenICE source on BBB

Hyungi Kim 10 years ago in OpenICE updated by zhangtan 10 years ago 22
Hi, guys!

I was installed Revision C Disk Image and gradle-2.4 and sync to a NTP clock on BBB.
but, jdk 8u33 in Rev.C disk image is not build OpenICE source on BBB. (./gradlew)
The reason is 8u33 is not supported JavaFx. so I reinstalled jdk 8u6.
but OpenICE source is not build on BBB....
I want to build OpenICE source on BBB.
help me how to build OpenICE source on BBB or build reference.

p.s - Your device adapter(BBB) have a rs-232 serial port. my BBB don't have a serial port. T.T
Image 13

thanks
Hyungi
OpenICE device-adapter
0
Under review

Reading a DeviceIdentity that has a blank model field

Bradford Needham 10 years ago in OpenICE updated by Jeff Plourde 10 years ago 6
I'm writing an OpenICE app designed to report the on/off state of various Devices. So far I've successfully modified Hello OpenICE code to Subscribe to HeartBeat and DeviceIdentity Topics. The HeartBeat data seems to arrive fine, but the DeviceIdentity data has problems.

In the received DeviceIdentity, the model name is blank, rather than being something like "Pulse Ox (simulated)". I've seen some symptoms that suggest that the model string gets filled in later, but I'm not certain of that.

I wanted to double-check with you that I'm using the correct pattern to read the DeviceIdentity data: I substituted class names in Hello OpenICE code based on some guesswork, so something may be incorrect. Based on the symptom I'm wondering whether I'm not properly telling DDS that I want to read the data contents. I haven't found an example of reading DeviceIdentity in the mdpnp git.

Here is the relevant code (adapted from HelloICE.java) - I apologize for the formatting. Note that on reception of a Pulse Ox (simulated) DeviceIdentity, the model field is blank.

Thanks for your help,
Brad
---------------------------------

public void on_data_available(DataReader reader) {
ice.DeviceIdentitySeq deviceIdentitySeq = new ice.DeviceIdentitySeq();
SampleInfoSeq infoSeq = new SampleInfoSeq();
DeviceIdentityDataReader diReader = (DeviceIdentityDataReader) reader;
try {
diReader.read(deviceIdentitySeq, infoSeq, ResourceLimitsQosPolicy.LENGTH_UNLIMITED, SampleStateKind.NOT_READ_SAMPLE_STATE, ViewStateKind.ANY_VIEW_STATE, InstanceStateKind.ALIVE_INSTANCE_STATE);
/*
* Bug: the model number info seems blank. Example output:
* 2015-09-24 13:50:11 DEBUG IceQos:50 - Loaded default ice_library QoS
* 2015-09-24 13:51:30 ERROR DeviceIdentityListener:75 - Empty model in received DeviceIdentity
* 2015-09-24 13:51:30 INFO HelloIce:75 - ON: manuf: , model: , serial:
* 2015-09-24 13:51:47 INFO HelloIce:75 - OFF: manuf: , model: , serial:
*/
Date now = new Date();
for(int i = 0; i < infoSeq.size(); i++) {
SampleInfo si = (SampleInfo) infoSeq.get(i);
ice.DeviceIdentity data = (ice.DeviceIdentity) deviceIdentitySeq.get(i);
if(si.valid_data) {
if (data.model.length() == 0) {
logger.error("Empty model in received DeviceIdentity");
}

tracker.sawIdentity(data, now);
}

}
} catch (RETCODE_NO_DATA noData) {
// No Data was available to the read call
} finally {
// the objects provided by "read" are owned by the reader and we must return them
// so the reader can control their lifecycle
diReader.return_loan(deviceIdentitySeq, infoSeq);
}

}



OpenICE
0
Under review

supported devices

Alistair MacDonald 10 years ago in OpenICE updated by anonymous 8 years ago 10
Hello Jeff. We're in Missoula working on an OR music volume controller project using OpenICE and Philips MP70 monitors. Do you know what's in the queue for drivers for the newest monitors such as Spacelabs (Xpression), Nihon Kohden BSM 6000 series, Mindray DPM, GE Carescape, Drager Perseus. I know some communication protocols are openly available for NK, Mindray and GE, but wasn't sure if and when they would make their way into OpenICE.
-Alistair MacDonald
0
Answered

Not able to build ICE project

Vasanth Jaisingh 10 years ago in OpenICE updated 10 years ago 4
I get the following error while running gradlew command.

Please help..

Where:
uild file 'D:\OpenICE\mdpnp-code\data-types\x73-idl-rti-dds\build.gradle' line:
72

What went wrong:
problem occurred evaluating project ':data-types:x73-idl-rti-dds'.
Could not resolve all dependencies for configuration ':data-types:x73-idl-rti-
ds:rtiddsgen'.
> Could not resolve com.rti.dds:rtiddsgen-resource:5.1.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/com/
ti/dds/rtiddsgen-resource/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/libs-release/com/r
i/dds/rtiddsgen-resource/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/remote-repos/com/r
i/dds/rtiddsgen-resource/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'http://www.sparetimelabs.com/maven2/com/rti/dds/rtiddsgen
resource/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to http://www.sparetimelabs.com refused
> Could not GET 'http://maven2.javacv.googlecode.com/git/com/rti/dds/rtidd
gen-resource/5.1/rtiddsgen-resource-5.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://www.jogamp.org/deployment/maven/com/rti/dds/rtidds
en-resource/5.1/rtiddsgen-resource-5.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://maven.restlet.org/com/rti/dds/rtiddsgen-resource/5
1/rtiddsgen-resource-5.1.pom'.
> Connection to http://maven.restlet.org refused
> Could not GET 'http://download.java.net/maven/2/com/rti/dds/rtiddsgen-re
ource/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to http://download.java.net refused
> Could not GET 'http://repo1.maven.org/maven2/com/rti/dds/rtiddsgen-resou
ce/5.1/rtiddsgen-resource-5.1.pom'.
> Connection to http://repo1.maven.org refused
> Could not resolve com.rti.dds:rtiddsgen:5.1.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/com/
ti/dds/rtiddsgen/5.1/rtiddsgen-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/libs-release/com/r
i/dds/rtiddsgen/5.1/rtiddsgen-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/remote-repos/com/r
i/dds/rtiddsgen/5.1/rtiddsgen-5.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'http://www.sparetimelabs.com/maven2/com/rti/dds/rtiddsgen
5.1/rtiddsgen-5.1.pom'.
> Connection to http://www.sparetimelabs.com refused
> Could not GET 'http://maven2.javacv.googlecode.com/git/com/rti/dds/rtidd
gen/5.1/rtiddsgen-5.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://www.jogamp.org/deployment/maven/com/rti/dds/rtidds
en/5.1/rtiddsgen-5.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://maven.restlet.org/com/rti/dds/rtiddsgen/5.1/rtidds
en-5.1.pom'.
> Connection to http://maven.restlet.org refused
> Could not GET 'http://download.java.net/maven/2/com/rti/dds/rtiddsgen/5.
/rtiddsgen-5.1.pom'.
> Connection to http://download.java.net refused
> Could not GET 'http://repo1.maven.org/maven2/com/rti/dds/rtiddsgen/5.1/r
iddsgen-5.1.pom'.
> Connection to http://repo1.maven.org refused
> Could not resolve org.anarres:cpp-bin:1.2.8-SNAPSHOT.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Unable to load Maven meta-data from https://build.openice.info/artifacto
y/libs-snapshot/org/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/o
g/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Connection to https://build.openice.info refused
> Unable to load Maven meta-data from https://build.openice.info/artifacto
y/libs-release/org/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'https://build.openice.info/artifactory/libs-release/or
/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Connection to https://build.openice.info refused
> Unable to load Maven meta-data from https://build.openice.info/artifacto
y/remote-repos/org/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'https://build.openice.info/artifactory/remote-repos/or
/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Connection to https://build.openice.info refused
> Unable to load Maven meta-data from http://www.sparetimelabs.com/maven2/
rg/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://www.sparetimelabs.com/maven2/org/anarres/cpp-bi
/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Connection to http://www.sparetimelabs.com refused
> Unable to load Maven meta-data from http://maven2.javacv.googlecode.com/
it/org/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://maven2.javacv.googlecode.com/git/org/anarres/cp
-bin/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Network is unreachable: connect
> Unable to load Maven meta-data from http://www.jogamp.org/deployment/mav
n/org/anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://www.jogamp.org/deployment/maven/org/anarres/cpp
bin/1.2.8-SNAPSHOT/maven-metadata.xml'.
> Network is unreachable: connect
> Unable to load Maven meta-data from http://maven.restlet.org/org/anarres
cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://maven.restlet.org/org/anarres/cpp-bin/1.2.8-SNA
SHOT/maven-metadata.xml'.
> Connection to http://maven.restlet.org refused
> Unable to load Maven meta-data from http://download.java.net/maven/2/org
anarres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://download.java.net/maven/2/org/anarres/cpp-bin/1
2.8-SNAPSHOT/maven-metadata.xml'.
> Connection to http://download.java.net refused
> Unable to load Maven meta-data from http://repo1.maven.org/maven2/org/an
rres/cpp-bin/1.2.8-SNAPSHOT/maven-metadata.xml.
> Could not GET 'http://repo1.maven.org/maven2/org/anarres/cpp-bin/1.2.
-SNAPSHOT/maven-metadata.xml'.
> Connection to http://repo1.maven.org refused
> Could not resolve xalan:xalan:2.7.1.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/xala
/xalan/2.7.1/xalan-2.7.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/libs-release/xalan
xalan/2.7.1/xalan-2.7.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/remote-repos/xalan
xalan/2.7.1/xalan-2.7.1.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'http://www.sparetimelabs.com/maven2/xalan/xalan/2.7.1/xal
n-2.7.1.pom'.
> Connection to http://www.sparetimelabs.com refused
> Could not GET 'http://maven2.javacv.googlecode.com/git/xalan/xalan/2.7.1
xalan-2.7.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://www.jogamp.org/deployment/maven/xalan/xalan/2.7.1/
alan-2.7.1.pom'.
> Network is unreachable: connect
> Could not GET 'http://maven.restlet.org/xalan/xalan/2.7.1/xalan-2.7.1.po
'.
> Connection to http://maven.restlet.org refused
> Could not GET 'http://download.java.net/maven/2/xalan/xalan/2.7.1/xalan-
.7.1.pom'.
> Connection to http://download.java.net refused
> Could not GET 'http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7
1.pom'.
> Connection to http://repo1.maven.org refused
> Could not resolve org.antlr:antlr:3.5.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/org/
ntlr/antlr/3.5/antlr-3.5.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/libs-release/org/a
tlr/antlr/3.5/antlr-3.5.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/remote-repos/org/a
tlr/antlr/3.5/antlr-3.5.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'http://www.sparetimelabs.com/maven2/org/antlr/antlr/3.5/a
tlr-3.5.pom'.
> Connection to http://www.sparetimelabs.com refused
> Could not GET 'http://maven2.javacv.googlecode.com/git/org/antlr/antlr/3
5/antlr-3.5.pom'.
> Network is unreachable: connect
> Could not GET 'http://www.jogamp.org/deployment/maven/org/antlr/antlr/3.
/antlr-3.5.pom'.
> Network is unreachable: connect
> Could not GET 'http://maven.restlet.org/org/antlr/antlr/3.5/antlr-3.5.po
'.
> Connection to http://maven.restlet.org refused
> Could not GET 'http://download.java.net/maven/2/org/antlr/antlr/3.5/antl
-3.5.pom'.
> Connection to http://download.java.net refused
> Could not GET 'http://repo1.maven.org/maven2/org/antlr/antlr/3.5/antlr-3
5.pom'.
> Connection to http://repo1.maven.org refused
> Could not resolve org.aspectj:aspectjrt:1.7.2.
Required by:
org.mdpnp:x73-idl-rti-dds:0.4.3
> Could not GET 'https://build.openice.info/artifactory/libs-snapshot/org/
spectj/aspectjrt/1.7.2/aspectjrt-1.7.2.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/libs-release/org/a
pectj/aspectjrt/1.7.2/aspectjrt-1.7.2.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'https://build.openice.info/artifactory/remote-repos/org/a
pectj/aspectjrt/1.7.2/aspectjrt-1.7.2.pom'.
> Connection to https://build.openice.info refused
> Could not GET 'http://www.sparetimelabs.com/maven2/org/aspectj/aspectjrt
1.7.2/aspectjrt-1.7.2.pom'.
> Connection to http://www.sparetimelabs.com refused
> Could not GET 'http://maven2.javacv.googlecode.com/git/org/aspectj/aspec
jrt/1.7.2/aspectjrt-1.7.2.pom'.
> Network is unreachable: connect
> Could not GET 'http://www.jogamp.org/deployment/maven/org/aspectj/aspect
rt/1.7.2/aspectjrt-1.7.2.pom'.
> Network is unreachable: connect
> Could not GET 'http://maven.restlet.org/org/aspectj/aspectjrt/1.7.2/aspe
tjrt-1.7.2.pom'.
> Connection to http://maven.restlet.org refused
> Could not GET 'http://download.java.net/maven/2/org/aspectj/aspectjrt/1.
.2/aspectjrt-1.7.2.pom'.
> Connection to http://download.java.net refused
> Could not GET 'http://repo1.maven.org/maven2/org/aspectj/aspectjrt/1.7.2
aspectjrt-1.7.2.pom'.
> Connection to http://repo1.maven.org refused

Try:
un with --stacktrace option to get the stack trace. Run with --info or --debug
ption to get more log output.

UILD FAILED

otal time: 21 mins 33.581 secs

Answer
Jeff Plourde 10 years ago
Hi Vasanth,

You can create a gradle.properties in your home directory that specifies your HTTP proxy information.  More information is available at this link: https://gradle.org/docs/current/userguide/build_environment.html#sec:accessing_the_web_via_a_proxy

Please let us know if that information helps you to build successfully.

Cheers
Jeff Plourde
0

EMG Simulation

money apan 10 years ago in OpenICE updated 10 years ago 2
Has anyone done a EMG simulator on the platform, anyone can provide tips on same.
0
Answered

OpenICE Execution Ubuntu - Beginner

Dr Hoo 10 years ago in OpenICE updated by Jeff Peterson 10 years ago 3
Hi!
I am glad to have opportunity to communicate with you all.
I am planning to implement testbed as a network of OpenICE devices that all of them are Ubuntu/Debian VMs. I installed JDK 1.7.0-79 as you can see below:


~/Downloads/OpenICE-0.6.2/bin$ java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)



When I try to execute OpenICE, I face following error, I highly appreciate your help and attention in advance.



~/Downloads/OpenICE-0.6.2/bin$ ./OpenICE
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/mdpnp/apps/testapp/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

OpenICE
0
Under review

RJ45 port in use for Epic

Alistair MacDonald 10 years ago in OpenICE updated by Jeff Peterson 10 years ago 1
Dear MDPnP -

Is there any solution for adding a device adaptor to a Philips Intellivue MP70 if the RJ45 port is in use for EMR/Epic? Can the data out be sent to both the OpenICE adaptor and the EMR using some type of splitter?
0

MQTT and Node.js

taimoore rajah 10 years ago in OpenICE updated by Jeff Peterson 10 years ago 2
Hello Jeff,
I have been reading the node.js code on Github. Could you please explain to us how to use the publishing structure for plotting data on the web browser by implementing node.js? It will really help us a lot.
Cheers
Tim
0
Answered

Getting waveform data from the Puritan Bennett 840

Rado 10 years ago in OpenICE updated by Jeff Peterson 10 years ago 6
Hi everyone,

Sorry to keep asking questions, but this one has actually bugged us for a while now. Do you know how to make the Puritan Bennett 840 ventilator output waveform data?

We have tried all ports but all we get is the miscf message with numeric data only. We can't see any options on the ventilator itself either. As far as I understand from the code, the PB demo is also only set up to ask for numeric data.

Any insight you might have will be appreciated.

Thanks!

Rado
OpenICE demo-apps