LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 42201 the input signal is empty

hi all

 

can you help fixing this error please ?

 

error 42201 the input signal is empty .( i am having this error while connecting the build array function to the detrend function . 

Bill David
0 Kudos
Message 1 of 5
(3,683 Views)

What kind of array are you building? Please post code.

0 Kudos
Message 2 of 5
(3,672 Views)

Bill here is what i am doing 

 

thank you .

 

 

Bill David
0 Kudos
Message 3 of 5
(3,667 Views)

Bill David,

 

I can see several possibilities for an empty array:

 

1. You initialize the shift register with an empty array, so if nothing ever gets added to the array it will remain empty.

2. Part of the image is cut off. If an empty string is passed (although you may be testing for this in the cut off portion), the array will be empty.

3. If a non-empty strnig is passed but its format or contents does not translate to a non-empty array of strings, the output of the for loop will be an empty array.

 

Some additional possiblities could produce non-empty arrays with all zeros, NaN, or Infinities, but those would generate different errors.

 

Try putting indicators on the data string, on the string array, and on the numeric array to see what you are getting.

 

Lynn

0 Kudos
Message 4 of 5
(3,662 Views)

Johnsold .

 

Thank you for the reply. yeah i've just solved the issue . it was because the visa read was really reading what is in the buffer but the data was not as expected and sent from the microcontroller . ( as a result i was having an empty array .... i guess ) dont you think so ?

 

now everything is fine . 

 

Thank you 

Bill David
0 Kudos
Message 5 of 5
(3,658 Views)