11-13-2009 08:11 AM
Hi there,
hopefully I'v posed in the right board here.
Actual, I am totally new to LabView. Since last month I made some LabView VIs on Mac OS X in an universitary project to automate a chemical process using two chemical devices. One submits data and the other one gets data written.
Now, the main functionality is done. All needed data is read and in relation to that data, the other device gets commands how to react...but as it seems on Mac OS X only. But the final product should run on Windows.
We took the Mac OS X Labview project and built an application (.exe) on a Windows LabView Professional. But when started no data is submitted from device no. 1 which means device no. 2 can't be controlled correctly.
Using a simple LabView application which just reads the data from device no. 1 works well.
When building a Mac OS X application (.app) all works well again.
What can cause this issue and what can I do to prevent that?
Thanks a lot!
Best wishes from Hamburg, Germany
Volker
11-13-2009 09:18 AM
VolkerL wrote:
What can cause this issue ...
About a billion different things. Honestly, without knowing more about what you're actually doing in your code it's just a guessing game.
11-13-2009 09:28 AM
smercurio_fc wrote:
[...]just a guessing game.
So it's guessing time 🙂
Well, one question, Volker:
You said building the exe on Windows and executing the exe does not work correctly. What happens if you run the project (sources) itself in Windows?
But please follow smercurios hint and give us some more infos perharps some files to look into....
Norbert
11-13-2009 11:08 AM
Hi there,
thanks for your fast Support. I have problems getting a working LabView for Windows today, because the PC where it's installed on, was in a closed room (in the university), today. I tried it with the Windows Trial Version and found out what the problem was. It seemed to be a timing issue in relation to the interface. I made a "dynamic wait" while loop under Mac OS X that didn't work any more under Windows. Now I rearranged the timing and it ist working again.
Sorry for not posting my project or even a single VI. I wasn't sure which VI to let you view in, because my project's got until now 12 of them. Next time I just share the reading device's interface VI.
Nevertheless thanks a lot!!!
Best wishes again!
Volker