12-12-2022 03:01 PM
Hello all,
I'm trying to use a labview vi that was made back in 2012. This vi uses Omnidriver with a USB 4000 spectrometer and a Kepko power supply that controls a magnet. The end result is a to plot the intensity vs magnetic field at different areas of the spectrum which can be defined by the user.
I attempted 2 methods, one with Labview 2021SP1(64 bit) and Omnidriver (64bit) with Wrapper 64 bit classes. The vi executes and reads the spectrometer to give the name and serial number but after initializing the vi gets stuck at the integration to obtain the background spectrum. To proceed with anything, I have to essentially use the task manager to stop labview from runnning. I read and also got a suggestion that that Labview 32 bit maybe required since it's an old program.
In the second attempt, I used one of the older computers that has Labview 2012SP1 (32 bit) and I installed the Omnidriver 64 bit while calling the wrapper class in the 32 bit Ver 8.0 since that seems to be what the code is trying to search. The SubVi to initialize the spectrometer runs well on its own. However, if I try attempting to run the main vi, the files get corrupted and gives the Error 1097. I do get some path dependency warnings as well, but I'm not 100% sure how to fix this.
I have attached the vi with the subvis necessary. The Dlls were installed from the Omnidriver software. I'm not 100% certain if that'll work without installing it. But is there anyone who know how to work around this? Really appreciate any help you can give.
I'm quite new to labview so apologize if I'm not covering all the information that may be necessary.
12-17-2022 03:02 AM
usually you should use the NETOmniDriver-NET40.dll and upgrade to latest 32 bit version omnidriverspam-2.68.2-win32-installer
12-17-2022 04:04 PM
Hi Ronke,
Thank you for the reply. Yes I figured out there was a version issue in the wrapper classes I've been using. I had to install omnidriver 64 bit version but use the 32 bit drivers to solve it. I've been trying to use 32 bit Omnidriver with 32 bit classes.
Appreciate your reply. Have a great weekend!