Picoscope 3424 ps3000_flash_led doesn't work
Picoscope 3424 ps3000_flash_led doesn't work
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?
Code
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.
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.