NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
larios
Posts: 1
0 Kudos

Global variable JNI

Hi,

 

I am creating a java application to use "NI USB-6008" and other models.

To do this, I created a class (Card.java) that has the methods needed to work with the card. Write files .h and .c and gender "card.dll". View files:

  • Card.java
  • Card1.c

To create Card.h I write in console:

javac Card.java

javah -jni Card


The problem I have is that "card.dll" takes from 3 seconds to respond. As a solution, I chose to create global variables static (Card2.c) but I get the error: "Failed to write core dump. Minidumps are not enabled by default on client version of Windows"

 

To create card.dll I used Dev-C + + and jdk7

 

Am I doing something wrong?
Thanks,
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page