04-18-2006 04:24 PM
04-18-2006 09:13 PM
04-19-2006 11:44 AM
thanks for the response....the resolution tracks the changing scale..so, it works now...
But, I have this VI works fine in LV setting, but once I create an application file (exe), it only loads once, then it does not enable/diable aggressors...
tried to create exe files three times, but still not working ....
need your help!
04-19-2006 07:06 PM
That's quite a project you posted! There are two things we will need from you in order to help you:
The first thing you need to do is strip down the program to figure out where the bug is occurring and to simplify the debugging process. I would first cut out all hardware code (instrument drivers and such) and replace it with some sort of simulated data. From there, you'll want to put notifications throughout your code so that you know where it is hanging up when you run it after you build it into an executable. You should be able to iterate through this process and get narrower and narrower in where this problem is occurring. Once you know where the problem lies, delete everything unrelated to it, and if the solution isn't obvious at that point, feel free to repost the issue and we should be able to help.
Kind Regards,
04-20-2006 10:56 AM
thanks for your reply!
I think the main focus is on the "set config"
a couple of interesting observations;
1. amplitude and frequency setting of hp8648c works with changing values...(??)
2. None on the aggressor settings run again after initial program run
I wonder if that would be a decent scoping to narrow down the problem.
Best,
04-20-2006 03:23 PM
04-24-2006 11:49 AM
I tried to simplify and put string indicators...
I am not sure how to stop the main loop when an error occurs. Could you share your insight?
converted the attached VI to EXE, but still having the same problem.
Thank you!
04-25-2006 01:55 PM - edited 04-25-2006 01:55 PM
You can stop the loop during an error by checking the status element of the error cluster. You can then OR the error status with whatever other stop condition you want and wire the result to the loop stop condition. I've illustrated the concept below:
Message Edited by AESulzer on 04-25-2006 01:56 PM