02-06-2016 01:31 PM
Have a vi that communicates to a spectrometer. There's a dll file used. Theres an issue when i try to run on a 64bit machine using win7. One of 2 xp systems work the other xp resembles the win7 system.
Thought it was just a 32bit vs 64bit issue but thats not the case. Have validated all machines running in administrator mode.
Upon start the vi goes out to establish communication by initializing the spectrometer. Once initialized a return number of 1 should be received but I get a 9 digit number. The manufacture of the spectrometer doesn't have any idea.
Any thoughts would be greatly appreciated.
Thanks for your time.
Dave
02-06-2016 01:51 PM - edited 02-06-2016 01:53 PM
02-06-2016 04:22 PM
02-06-2016 11:50 PM - edited 02-06-2016 11:51 PM
@dg_dog66 wrote:
Haven't tried win7 32bit yet.
It's a USB connection.
How do I know if it does?
It's a Stellarnet spectrometer....
Thank you....
If it can use their SpectraWiz software, they have a LabVIEW implementation. Perhaps you can learn something from taking a peek under the hood? Or maybe use the software outright?
One more thought: The 9-digit number doesn't represent the value "1" somehow, does it? 😉
02-07-2016 08:15 AM
02-07-2016 08:45 AM
@dg_dog66 wrote:
Thanks. But why would one xp system work and not the other...
It could be a lot of different things. There must have been something else to make you think it was a dll issue, because that's the last thing I would suspect given the only thing we know went wrong. (That it spits out a 9-digit number.) I would expect that it would hang LabVIEW or return some kind of error. Maybe the number is an error code?
02-07-2016 03:26 PM
@dg_dog66 wrote:
Thanks. But why would one xp system work and not the other...
You've given almost no information for us to go with here.
One XP could be 32-bit while the other 64-bit. Different service packs implement different things. You might be missing other required drivers.
The maker of the device provides the dll and you've been in contact with them. Do they have their own utility that calls this dll? Does their utility provide similar or different results to what you're seeing now? Is the nine digit number always the same or does it vary? If it's always the same, have you asked them what the specific number means as it might be an error?
You say you've validated the systems. How have you done so?
02-08-2016 03:49 AM