LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

niDC power measure

Hi all,

I am facing this error ,while measuring current/voltage from PXI-4145 ch4 .Actually I am using all 4 channel from this instrument. Forcing and measuring is fine for all 3 channel except CH4.I have attached the snippet from this VI and error we got. Could you please help me to find the solution for it

0 Kudos
Message 1 of 3
(611 Views)

puppy@11111 wrote:

I have attached the snippet from this VI and error we got. Could you please help me to find the solution for it


These are NOT snippets, just pictures. We cannot debug images.

0 Kudos
Message 2 of 3
(591 Views)

altenbach is right, its impossible to debug photos or see what values you are actually passing to the For loops. 

 

** Save the default values of all front panel controls, then post the code. **

 

I will guess the error from array indexing and the FOR loops.  In "DCPOWER_INITILIZE" if one of the indexed arrays you pass is shorter than the other and as a result it only configures channels 1-3 and doesn't configure channel 4.  Then when you attempt to measure ch4 it throughs an error.  OR in "VI USED.." you have the Resource Name passed as array to index, but shouldn't that just be the one PXI card?  

 

All just guesses without your code.

Craig

 

0 Kudos
Message 3 of 3
(527 Views)