I have an issue controlling a PWS4205 tektronix power supply timing for my purposes. I am newer to LabView and updated the power supply driver in an attempt to fit my needs. I would like to be able to control the following:
Using LabVIEW 2009
- Run the VI and wait for the user to start a power cycle
- Display continuous measurements of both current and voltage when VI is running
- User able to set power ON time, OFF time, and number of cycles before starting power cycle
- When user starts power cycle, log the current and voltage during ON/OFF cycles
- Be able to cancel the VI during power cycle
- Ensure the log is not lost after a power cycle if the user incorrectly cancels out of the file save.
- Be able to set sample rate for both continuous display and logging
Current timing issues I’m having:
- When selecting START CYCLES Boolean, the ON TIME takes 5-10s before starting rather than immediate
- When the power supply is supposed to be ON for set ON time, it is ON for a lot longer than the set value. Need the set ON and OFF time in the Front Panel to be the exact times the power supply output is ON and OFF for.
My files are attached. Main VI: Tektronix PWS4205 Controlled Timing Case_Logging.vi
I would appreciate any recommendations, updates to VI, similar examples to help with the timing issue. I realize my code is not very good and I don't have all the requirements I identified above yet. One step at a time...