LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 4145 Multi-channel DC Power supply program

Solved!
Go to solution

Hi guys, 

I want my NI 4145 to output 4 channels DC current, each channel current can be changed. When I program for it, I see some problems. I think in my application, what I need is sequence current. If I configure it to be sequence mode, then it tells me if you have multi-channels in one session, then I need to switch to single point mode. Then I tried single point mode, when I run it, the system says 'niDCPower Initiate VI 'run.PNGhas error that this session is already running. 

So I don't know how to deal with it. 

Anyone has ideas?

I also attached my VI. 

Thanks

 

0 Kudos
Message 1 of 2
(2,384 Views)
Solution
Accepted by topic author zyb1003

Hi Guys, I think I just solved the problem!

I removed that VI from while loop to outside in front of the loop and it works! I think that VI is only able to run once in one session, the while loop just keep running configure mode 

0 Kudos
Message 2 of 2
(2,375 Views)