07-30-2008 10:11 AM
08-01-2008 07:05 AM
08-03-2008 12:16 AM
08-03-2008 01:09 PM
08-04-2008 07:42 AM
Hi David,
In your post you asked why must the sequence stop? I'll try to explain that here. The programmable power supply supplies current to a device which the dll used by the TestStand sequence is periodically communicating with. The dll assumes that after setup, and if initialization succeeds (of both the power supply and the device) then the device is always available. Many of the various steps in the sequence contain tests which involve sending commands to the device and expecting a response or timeout.
However, if the power supply output is disabled but the sequence continues executing, the dll will continue to periodically attempt to communicate with the device and it obviously won't respond. Usually timeout means a test has failed. Why continue the test sequence if we have disabled the power supply output outside the sequence via the break button?
Communications with the device powered by the power supply is the main idea here and not the power supply itself. However, it sounds logical to me that a long test sequence might be suspended by the operator. Do you have any ideas such as how I could call a callback in the Teststand sequence? Do you have any other suggestions on how to implement the break/resume operations I have described?
Thank you for your feedback.
Regards,
Caren
08-04-2008 09:42 AM
Hi Caren,
Just for understanding in a short way.
CVI-UI with a button Break! A Sequnce with serial comunication to a PS. If Break is pressed at any time PS should be turned off.over serial port communication.
Is that right ?
Greetings
juergen
08-04-2008 04:23 PM
You will need to:
So basically you will be overwriting the break UIMessage (actually all 3) and implementing some extra code when that happens.
This should help you get started, I would highly recommend reading the link I posted earlier regarding Best Practices for UI Development, it's a great document with a lot of information.
Have a great Monday!
08-12-2008 04:09 PM
08-13-2008 12:33 AM