Search found 8 matches

by shenrotin
Fri Jul 19, 2013 2:45 pm
Forum: Java
Topic: JVM crash using JNI
Replies: 5
Views: 24284

Re: JVM crash using JNI

Hi Hitesh,

It works! I finally have Java communicating with the pico, in 64 bits.

I didn't understand why the JVM-32 bits was behaving like this.

I'll post my wrapper when it will be completely developped.

Thanks again.

Sébastien.
by shenrotin
Fri Jul 19, 2013 2:42 pm
Forum: C and C++
Topic: SDK problem with the PS 5444B
Replies: 7
Views: 20402

Re: SDK problem with the PS 5444B

Thanks! Problem solved. It worked easily with mingw64 (http://sourceforge.net/projects/mingw-w64/) under Windows 7.
by shenrotin
Fri Jul 19, 2013 9:52 am
Forum: Java
Topic: JVM crash using JNI
Replies: 5
Views: 24284

Re: JVM crash using JNI

Hi Hitesh, Thanks for your code. I checked and it is really similar to mine. 1) Just to be clear: I built a dll: "PicoNative.dll" that implements the function "JNIEXPORT void JNICALL Java_com_iba_device_PicoNative_connect(JNIEnv * env, jobject object)" -I'm calling this function from Java using the ...
by shenrotin
Thu Jul 18, 2013 3:45 pm
Forum: Java
Topic: JVM crash using JNI
Replies: 5
Views: 24284

JVM crash using JNI

Hello, I'm trying to develop a simple wrapper for the PS5000a library. I'm using a picoscope 5444B. I'm developping under Windows 7 (x64). I'm using MingW gcc to compile the C code. (32 bits) I'm using the JDK 7 (32 bits). 32 bits is required because I don't have the 64 bits library (PS5000a.lib and...
by shenrotin
Thu Jul 18, 2013 9:47 am
Forum: C and C++
Topic: SDK problem with the PS 5444B
Replies: 7
Views: 20402

Re: SDK problem with the PS 5444B

Hello,

Everything works pretty well. I'm able to use the SDK to fetch data. However, I would like to compile my program to target a X64 machine. Do you know if the same lib (PS5000a) exist in 64-bits ?

Thank you.

Sébastien.
by shenrotin
Tue Jul 16, 2013 2:07 pm
Forum: C and C++
Topic: SDK problem with the PS 5444B
Replies: 7
Views: 20402

Re: SDK problem with the PS 5444B

Great! Your example works fine. I'm going to try to fetch some values, now. Thanks a lot.

Sébastien.
by shenrotin
Mon Jul 15, 2013 5:45 pm
Forum: C and C++
Topic: SDK problem with the PS 5444B
Replies: 7
Views: 20402

Re: SDK problem with the PS 5444B

I also noticed that the file PS5000a.lib is provided on the installation CD.
I tried to use this one instead, but the header is missing and the function signatures are different than in the file PS5000.lib

Sébastien.
by shenrotin
Mon Jul 15, 2013 11:59 am
Forum: C and C++
Topic: SDK problem with the PS 5444B
Replies: 7
Views: 20402

SDK problem with the PS 5444B

Hello, I recently bought a PS5444B. Everything is running well with the provided software Picoscope6. I'm trying to use the SDK to communicate with a PS5444B. I recently downloaded the SDK 5000 from this site. I'm trying to run the simplified example: char ch; int i; PICO_STATUS status; UNIT_MODEL u...