LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stellarnet spectrometer not communicating with swdll.dll in labview 2013

Hi Friends,

I have a stellarnet spectrometer which i need to drive through labview. I am using the .llb provided by the company guys. It runs great in labview 8.5. But in labview 2013 the program stops while communicating with "Call Library Function Node" to "C:\Program Files\StellarNet\SpectraWiz\swdll.dll". 

 

I have attached the screen shot of where the program is stuck.

0 Kudos
Message 1 of 3
(3,080 Views)

Hi soumendras,

Considering LabVIEW is returning error 12 in the error-cluster, I suspect the DLL isn't even being called before an error is detected.

Open the CLF-node, under "Library name or path" navigate to (select) the DLL, then be sure you can select the "function name" "SWDinit".

If that doesn't help, I'm guessing it's some other sort of dependency problem (like a file SWDll.dll needs is missing/misplaced).

I don't know if it's important, but is LV2013 64bit?  (I'm guessing 8.5 was 32bit?).

 

 

 

0 Kudos
Message 2 of 3
(3,041 Views)

Here are some lessons learned using swdll.dll:

1. Start LabVIEW as Administrator (or edit the manifest of compiled executables to from "asInvoker" to "requireAdministrator"

2. Move folder SpectraWiz from C:\Program Files\StellarNet\SpectraWiz to avoid file write difficulties.

0 Kudos
Message 3 of 3
(475 Views)