LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NISysCfgInitializeSession

Hi, 

 

in which library the function NISysCfgInitializeSession is? I was trying to call it (via JNative in java) from  nisyscfg.dll but I receive the error function not found.

 

cheers

0 Kudos
Message 1 of 5
(3,343 Views)

Hi gerardoglez,

 

You must be able to find it by installing NI System Configuration runtime.

 

http://joule.ni.com/nidu/cds/view/p/id/2614/lang/fr

 

Best Regards

Sabri JATLAOUI
Applications Engineer
National Instruments France

0 Kudos
Message 2 of 5
(3,327 Views)

I have already installed the runtime library, in the mean time, I was able to use the function making a copy of the lybrary to the lib folder in my project.

 

Something in parsing the string "C:\\Program File\\National Instruments\\...." failed, bu I am still loking for a solution...

 

best regards,

 

Gerardo

0 Kudos
Message 3 of 5
(3,320 Views)

Hi Gerardo,

 

I don't understand, did you succed to call NISysCfgInitializeSession?

 

Best regards.

0 Kudos
Message 4 of 5
(3,304 Views)

Yes I did have success using it. However I have used a brute force approach, as I was unable to read it from the original folder NI Runtime folder, I have copied it to my source folder and it works. It seems to be a bug of the JNative library.

0 Kudos
Message 5 of 5
(3,301 Views)