11-25-2013 10:51 AM
Hi,
I was wondering if I could get some help/advice.
I'm building an application that my students will run on the lab laptops. I'm using Labview 2012 32-bit on windows 7.
The program is a state machine that simply controls a waveform generator.
When running the exe on a different laptop with windows XP, the sub VI's that turn off the generator work fine (outside the while loop). When running the VI, they do not seem to be sending anything, i.e. no response from the generator, whilst everything else works perfectly.
When runing the exe on the computer I wrote the VI in, it works perfectly.
Could this be due to windows xp? Does any one have any advice?
I've attached a zip of the file.
Solved! Go to Solution.
11-25-2013 11:00 AM
You really need to add an error indicator to the front panel. That would tell you a lot. You also need to provide details on what you included in the installer (i.e. which drivers, run-times, etc.).
11-25-2013 11:09 AM - edited 11-25-2013 11:10 AM
Too add to what Dennis said, why are your wires not wired through all the cases? You could be going into a state and losing your references (to your queue, to your daq task, etc). Many cases of the case structure are returning their default values which are essentially "null."
Oh, nevermind, it looks like you are using those bad references to cause your queue to error out, which stops the inner while loop in the top loop.
I would suggest fixing up this basic stuff, then we can move forward with the other issues.
11-27-2013 09:12 AM
Incase anyone sees this in the future: The error was I was going from a UK computer to a Norwegian computer. All was working fine, but the decimal separator was fine, hence the device could not respond. Simply adding an error indicator showed me that. Thank you!
11-27-2013 09:14 AM
Hi Greg,
Thanks for the advice, but you have confused me a little bit.
How else would you do the queing? Could you be a bit more specific?
I appreciate the time you took to look through it and your advice would help me improve my programing.