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.
-1

How to change default configration of Openice ?

Ashish Saini 1 year ago 0

Hello Mdpnp team

I want to say change default configration . I am just asking if i have run the mdpnp program

Default Application Select is ICE_Device_interface , Device Category is Serial, Device Type is Drager Evita4 and Serial port is xyz is selected.


Thanks

0

how to insert and retrive data from database?

Ashish Saini 1 year ago 0

I have add successfully dependencies

compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.6'

and connection s is successfully established

but i dont know where data is stored ? I have to create the table name is mdpnp and create 5 columns .

It was successfully created ,but don't know where is going indata MySQL

0

how to add jdbc driver & Database url in Openice

Ashish Saini 1 year ago • updated 1 year ago 2

I am trying to add jdbc driver "com.mysql.jdbc.Driver"

& Database url jdbc:mysql://192.168.1.105:1433/demo but its not working .

Please tell me how to add jdbc driver & Database Url of openice .

0
Answered

OpenICE code in 3rd party app

Jeremy Ke 2 years ago • updated 1 year ago 4
Hello,

First off, thank you for providing such a good (open source!) solution for connecting to medical devices.

My company's primary product is an application that is a reporting solution for doctors/nurses. We're attempting to integrate the Philips Intellivue MP90 so we can automatically capture data, track live data, and add it to our reports.

OpenICE can get the Serial # + connect, but it stops there - I think it's because our MP90 currently doesn't have a measurement module, which should be coming in soon. I'll be able to test it more thoroughly in a few days.

If you don't mind answering, my two questions are these
  1. Have you attempted to connect to a MP90?
  2. I've noticed that there is the function TestIntellivue() under TestIntellivue.Java, but it contains commented out functions that don't exist. Assuming I've read the documentation on exporting data from Philips devices, could you explain how OpenIce calls on devices/philips/Intellivue to connect to the MPxx device?

Thank you!
Jeremy
OpenICE
0

How to create exe of mdpnp project ?

Ashish Saini 1 year ago 0

I have to create jar file but it's not working so plese tell me how to create a jar file of mdpnp project.

0

adding new app how to?

Priya Vaity 2 years ago in OpenICE 0

I am creating a new app like all other present in the openice.

I have created a package and also implemented the IceApplicationProvider interface but my app is not displayed on the main screen.

I am new to this can you guide me about how to solve this problem?

+3

> Building 75% > :run using Command gradlew run

Ashish Saini 2 years ago 0

E:\hello-openice-master>gradlew eclipse

:eclipseClasspath
:eclipseJdt
:eclipseProject
:eclipse

BUILD SUCCESSFUL

Total time: 3.217 secs
E:\hello-openice-master>gradlew build
:compileJava
:processResources
:classes
:jar
:startScripts
:distTar
:distZip
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

Total time: 4.333 secs
E:\hello-openice-master>gradlew run
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:run
INFO | Loading ice_library.xml from jar:file:/C:/Users/ashish/.gradle/caches/modules-2/files-2.1/org.mdpnp/x73-idl-rti-dds/0.6.3/8e5005d356d91f80cfb3b157e610971108aa35e3/x73-idl-rti-dds-0.6.3.jar!/META-INF/ice_library.xml
strategy: OnMiddlewareThread
> Building 75% > :run
0

Unable to Build complete

Ashish Saini 2 years ago 0

C:\Users\Ashish\Desktop\hello-openice>gradlew run
:compileJava
:processResources
:classes
:run

INFO | Loading ice_library.xml from jar:file:/C:/Users/Ashish/.gradle/caches/modules-2/files-2.1/org.mdpnp/x73-idl-rti-dds/0.6.3/8e5005d356d91f80cfb3b157e610971108aa35e3/x73-idl-rti-dds-0.6.3.jar!/META-INF/ice_library.xml

strategy: OnMiddlewareThread

> Building 75% > :run


it stuck at 75% ......


Regards

Ashish

0

unable to load native library nddscore

Tarun 2 years ago in OpenICE 0

C:\Users\ICU\Desktop\hello-openice-master>gradlew run
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:run
WARN | Unable to load native library nddscore
java.lang.UnsatisfiedLinkError: C:\Users\ICU\Desktop\hello-openice-master\.nddsh
ome\lib\x64Win64jdk\nddscore.dll: The application has failed to start because it
s side-by-side configuration is incorrect. Please see the application event log
or use the command-line sxstrace.exe tool for more detail
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.rti.dds.util.NativeInterface.extractAndLoad(NativeInterface.java:
482)
at com.rti.dds.util.NativeInterface.loadNativeLibrary(NativeInterface.ja
va:172)
at com.rti.dds.util.NativeInterface.loadNativeLibraries(NativeInterface.
java:139)
at com.rti.dds.domain.DomainParticipantFactory.<clinit>(Unknown Source)
at org.mdpnp.rtiapi.qos.IceQos.loadAndSetIceQos(IceQos.java:44)
at org.mdpnp.helloice.HelloICE.main(HelloICE.java:372)
The library nddscore.dll could not be loaded by Windows.
Make sure that the library is in your Path environment variable.
java.lang.UnsatisfiedLinkError: no nddscore.dll in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.rti.dds.util.NativeInterface.loadNativeLibrary(NativeInterface.ja
va:168)
at com.rti.dds.util.NativeInterface.loadNativeLibraries(NativeInterface.
java:139)
at com.rti.dds.domain.DomainParticipantFactory.<clinit>(Unknown Source)
at org.mdpnp.rtiapi.qos.IceQos.loadAndSetIceQos(IceQos.java:44)
at org.mdpnp.helloice.HelloICE.main(HelloICE.java:372)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no nddscore.dll in ja
va.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at com.rti.dds.util.NativeInterface.loadNativeLibrary(NativeInterface.ja
va:168)
at com.rti.dds.util.NativeInterface.loadNativeLibraries(NativeInterface.
java:139)
at com.rti.dds.domain.DomainParticipantFactory.<clinit>(Unknown Source)
at org.mdpnp.rtiapi.qos.IceQos.loadAndSetIceQos(IceQos.java:44)
at org.mdpnp.helloice.HelloICE.main(HelloICE.java:372)
:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_92\bin\java.exe'' finished wi
th non-zero exit value 1

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

BUILD FAILED

Total time: 3.515 secs

0

Where to buy the BBB mentioned in docs?

Neil Young 2 years ago in OpenICE 0

Hello everybody,

I'm a newbie.I want to buy a BBB startkit to study openice.But I cant find a kit which can exactly meet the requirement mentioned in the article:a BBB kit with 'RS232 Cape'\'MircroSD Slot'\'Enclosure'.

Who can help me find an url to order the BBB kit which can directly deployed?

0
Under review

mdpnp on beaglebone black debian jessie

Alejandro Figar 2 years ago in OpenICE • updated by Priya Vaity 2 years ago 3
I have a Beaglebone Black with debian jessie. I've installed Oracle Java. Then I've cloned mdpnp project from github. Then I've tried to build demo-apps with gradlew and I've got the following error:

Defining custom ?build? task is deprecated when using standard lifecycle plugin has been deprecated and is scheduled to be removed in Gradle 3.0

FAILURE: Build failed with an exception.

* Where:

Script '/home/debian/mdpnp/interop-lab/demo-apps/javafx.plugin' line: 60

* What went wrong:

A problem occurred evaluating script.

> Could not find JavaFX Packager Tools, please set one of [jfxrtDir in Gradle Properties, JFXRT_HOME in System Environment, JAVA_HOME in System Environment, java.home in JVM properties]

Please advice,

Thanks,
demo-apps device-adapter
Answer
Jeff Plourde 2 years ago
Hi Alejandro

We don't recommend building the codebase directly on embedded devices. It would be technically possible except that earlier this year Oracle withdrew JavaFX support from the JDK for embedded ARM devices in 8u33. More information about their decision can be found here.

That said we *do* recommend running "device adapters" on the beaglebone black platform from the console. In this mode JavaFX is not required at runtime. This is why OpenICE built on an x86_64 platform can run on a beaglebone black. So the problem, really, is that our console-oriented code and JavaFX code are both housed in the interop-lab/demo-apps project and the build process expects JavaFX (hence the error you have received).

We'd like, in the future, to segregate JavaFX components in a separate artifact and provide build options that exclude those JavaFX components to allow a build on ARM. Based on our current workload and available resources it will be a few months before anyone here is able to take on this project. We'd welcome help from anyone in the community who would like to help refactor the codebase in this way.

For more information on building on an x86_64 machine and deploy to an ARM device see a previous answer:
http://community.openice.info/topic/805647-how-to-build-openice-source-on-bbb/

Thank you very much
Jeff Plourde

0

Support for GE CareStation Mechanical Ventilators

Behnood Gholami 2 years ago in OpenICE 0

Hi MDPnP Team,


I noticed in your introduction video that you have a GE CareStation Ventilator in the lab. However, I don't see this ventilator as one of the supported devices in OpenICE. Do you have any plans to include GE CareStation as one of the supported devices anytime soon?


Thanks.

OpenICE
0
Under review

openICE with Philips Intellivue M50

Pau Soler 3 years ago in OpenICE • updated by NathanS 2 years ago 4
Hi,
I would like to understand if the device drivers you have already developed would be compatible with Philips Intellivue MP50, either through the serial or ethernet connections. I understand you can only confirm and maybe support devices you acctually have at the lab, like MP70, but I wonder if in your opinion it should be compatible - the protocol manual is the same- and if it has been tested by anyone in the community.

Thanks
mirumed.com
0

Build x73-idl-ospl-dds failed

K. Ebeling 2 years ago in DDS 0

I have installed an evaluation-version of VortexOpenSplice (6.6.2p1) from PrismTech. If I try execute task "osplIdlppJava" - following errors are thrown:


Generating from ice.idl
/opt/PrismTech/Vortex_v2/Device/VortexOpenSplice/6.6.2p1/HDE/x86_64.linux/bin/idlpp EVALUATION VERSION
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Type 'wstring' (defined in DeviceIdentity) unsupported near the token #pragma keylist DeviceIdentity unique_device_identifier
(line: 165, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Type 'wstring' (defined in DeviceConnectivity) unsupported near the token #pragma keylist DeviceConnectivity unique_device_identifier
(line: 218, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Type 'wstring' (defined in InfusionObjective) unsupported near the token #pragma keylist InfusionObjective unique_device_identifier
(line: 354, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Type 'wstring' (defined in InfusionStatus) unsupported near the token #pragma keylist InfusionStatus unique_device_identifier
(line: 390, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Undeclared referenced declarator alarm_limit_type near the token #pragma keylist AlarmLimit unique_device_identifier metric_id alarm_limit_type
(line: 424, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Undeclared referenced declarator alarm_limit_threshold near the token #pragma keylist GlobalAlarmLimitObjective metric_id alarm_limit_threshold
(line: 440, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Undeclared referenced declarator alarm_limit_type near the token #pragma keylist LocalAlarmLimitObjective unique_device_identifier metric_id alarm_limit_type
(line: 461, column: 0)
*** DDS error in file /home/kieb/workspace/mdpnp/data-types/x73-idl/src/main/idl/ice/ice.idl: Type 'wstring' (defined in Patient) unsupported near the token #pragma keylist Patient mrn
(line: 531, column: 0)
:data-types:x73-idl-ospl-dds:osplIdlppJava FAILED


It seams that type "wstring" is unkown in VortexOpenSplice and I can't see declarators "alarm_limit_type" and "alarm_limit_thresold" in file "x73-idl/src/main/idl/ice.idl"?


Can you help me please?

0

Running supervisor headlessly

Gregory Rehm 2 years ago • updated by Luke Fletcher 2 years ago 10

Hi,


I was wondering if the openice supervisor could be run headlessly (without GUI). I've been poking around at it on my own computer and I got as far as


./bin/OpenICE -app ICE_Supervisor -domain 15


To which java gives me an error.


Exception in thread "main" java.lang.IllegalStateException: Failed to create command instance org.mdpnp.apps.testapp.IceAppsContainer

at org.mdpnp.apps.testapp.Configuration.getCommand(Configuration.java:126)
at org.mdpnp.apps.testapp.Main.main(Main.java:59)


It seems java wants some kind of command before we can proceed but there doesn't seem to be any available documentation on commands to use. Was wondering


1. Even if I take this to its terminus can we run the process headlessly?

2. What are the lists of available commands to use?