Picoscope 3424 ps3000_flash_led doesn't work

Post general discussions on using our drivers to write your own software here
Post Reply
Spyguy33

Picoscope 3424 ps3000_flash_led doesn't work

Post by Spyguy33 »

I am trying to use the ps3000_flash_led function and when I call it, the LED in the front of the 3424 stays solid. Any ideas?

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

Hi and thank you for your post.

Could you send me your code.

Kind regards
Ziko

Technical Specialist

spyguy33

Code

Post by spyguy33 »

I am making a JNI interface to the dll that you guys have created. Here is the C code:

JNIEXPORT jshort JNICALL Java_ps3000_PS3000JNI_ps3000_1flash_1led
(JNIEnv *, jobject, jshort handle){
return ps3000_flash_led(handle);
}

Here is an example of what would be calling it.

public static void main(String[] args){
PS3000JNI ps3000jni = new PS3000JNI();
short handle = ps3000jni.ps3000_open_unit();
ps3000jni.ps3000_flash_led((short)1);
System.out.println(handle);
System.out.println(ps3000jni.ps3000_close_unit(handle));
}

In this example I am creating an instance to the dll called ps3000jni. The interface is able to use block data collecting without a problem, however whenever one goes to make the led flash, there is no change in the led.

Post Reply