Hello,
I am just starting my adventures in brave new world of LabView and I run into a problem with my first serious vi which is controling CPX400DP power supply and DPO4104 oscyloscope.
What my vi should be doing:
First it sets current levels of both channels of power supply (e.g. 5V on first, 0V on second) and size of the jump (e.g. 0.5V). Then vi should change both current levels by size of the jump and repeat till the current levels of both channels would be reverse to the start value (in this case, 0V on first channel, 5V on second). Also before every current change the vi would save to file mean of measurements out of the waveform from oscyloscope.
What my vi is doing:
At first run it seems that it's doing everything in order (new text file with resonable numbers is created). However, when I try to run the vi a second time my power supply freezes short after few current changes. I can stop the execution of the vi in LabView (it does take a while though) but to successfully run the vi again I must reset my power supply (turn it off and on).
I tried to go around this problem by modyfing the vi in a way that it would do what I want multiple times during running the vi only once but unfortunately that didn't work.
If anyone would have any suggestions about what I am doing wrong or how to help fix this problem feel free to share I don't bite... much :smileywink: But seriously, I'm stuck with this problem for over a week and I'll be glad for any tips :smileyhappy:
Thanks!
Waldek.
PS Sorry if I am not clear somewhere but I'm not used to talk about programing in English :smileyembarrassed:
PSS In attachments are my main vi and two sub vis.