From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200477, What's wrong here?

I try stop my aquisition by "Finalizar Aquisição" button (block2.jpg), but the error -200477 (error.jpg)is show. Look for attached pictures.
 
What's happen?
Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
Download All
0 Kudos
Message 1 of 24
(8,049 Views)
Hi leo,

the error seems to be related to the 'Sample clock' vi before the while loop. Check the parameters there!

Note: you can use one index array to get more than one element. Just resize the function (inside your while loop).
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 24
(8,045 Views)
Hi Gerd,
 
 very good NOTE..looking better...I saw that the name of the device doesn't arrive in the Timing Clock. My for loop doesn't get to insert the physical channels in Create Channels (physical channel format - Dev1/ai0). The property node Device of for loop's task out is empty(block3.jpg).
 
I don't understand why the physical names isn't accept.
 
You have other tip?
Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 3 of 24
(8,029 Views)
Hi leo,

what do you do with that property node inside the red circle? It's not synchronized with dataflow, so you surely read an 'empty' value. Why not just connect the indicators instead of using a property node?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 24
(8,026 Views)

Hi Gerd,

property node haven't function...is the probe for find reason of the problem.

Now i think that did you want. Look picture again....but empty is returned yet(empty = Browse and Dev1 if open combobox).

Is there other thing that would cause this error?

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 5 of 24
(8,022 Views)
Are all the arrays that you autoindex in the FOR loop at least the size of the "Physical Channel" array? How often does the FOR loop actually run?
 
(In any case, you can safely delete the value property write and array size node wired to N. The loop count is determined by the size of the smallest autoindexing array input.)
Message 6 of 24
(8,008 Views)

Hi Altenbach,

I understand your message, thx for basic tip that I forget. My for loop run at 1 time by start aquisition software.

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 7 of 24
(8,003 Views)

Hi Leo,

I agree with Aldenbach, the for loop problaby isn't working as intended.  On subsequent runs it may run right but the property node breaks dataflow.  Also the error wire inside the for loop needs to be shift registered and the stop condition inside the while loop should also stop on error.

Chris Co.

Aldenbach, welcome back. i was going to post earlier but had no time (some array question/ answer- brilliant by the way). I hate to post here but 2 birds one stone.

0 Kudos
Message 8 of 24
(7,995 Views)

hello everybody, I have the same kind of problem. i checked all what you sayed in your previous message, but i didn't success to resolve it.

my for structure isn't used, i don't know why !!!!!!!!!!!

 

you will find  a pic of my vi .

 

thank you

 

Amine

A.Selmaji
0 Kudos
Message 9 of 24
(7,437 Views)

Hi Amine,

 

try this:

 

1- put a name in task and change autoclean to FALSE;

2- all entries in FOR loop need have a same size;

3- remove constant (16) in N loop attribute;

4- Change to Shift Register the Task Wire in loop;

5- Verify if STOP button action is "Switch when Pressed".

 

Bye!

 

Leonardo de S. Cavadas
Maintenance Engineer and Inspection - Bureau Veritas do Brasil

Engineer Metallurgist with emphasis in Advanced Materials
Technologist in Computer Science
0 Kudos
Message 10 of 24
(7,425 Views)