Jump to content

NI Waveform Script Compiler Error Code Family: Difference between revisions

From LabVIEW Wiki
Added page
 
m Remove redlinks for individual error code pages.
 
Line 5: Line 5:
! Description
! Description
|-
|-
| [[Error Code -1074101568|-1074101568]]
| -1074101568
| A keyword was expected but not found in the script.
| A keyword was expected but not found in the script.
|-
|-
| [[Error Code -1074101567|-1074101567]]
| -1074101567
| A valid identifier was expected but not found in the script.
| A valid identifier was expected but not found in the script.


The identifier should specify a valid waveform or script name. Identifiers cannot start with a number.
The identifier should specify a valid waveform or script name. Identifiers cannot start with a number.
|-
|-
| [[Error Code -1074101566|-1074101566]]
| -1074101566
| An integer was expected but not found in the script.
| An integer was expected but not found in the script.


Insert an appropriate integer at this location in the script.
Insert an appropriate integer at this location in the script.
|-
|-
| [[Error Code -1074101565|-1074101565]]
| -1074101565
| An identifier found in the script is too long.
| An identifier found in the script is too long.


Use identifiers with no more than 511 characters.
Use identifiers with no more than 511 characters.
|-
|-
| [[Error Code -1074101564|-1074101564]]
| -1074101564
| The specified subset length is not valid.
| The specified subset length is not valid.


The subset length must be between 1 and 2,147,483,647.
The subset length must be between 1 and 2,147,483,647.
|-
|-
| [[Error Code -1074101563|-1074101563]]
| -1074101563
| The number of iterations specified for a finite "repeat" loop is invalid.
| The number of iterations specified for a finite "repeat" loop is invalid.


The number of iterations must be between 1 and 2,147,483,647.
The number of iterations must be between 1 and 2,147,483,647.
|-
|-
| [[Error Code -1074101562|-1074101562]]
| -1074101562
| The number of samples to wait in a finite wait instruction must be greater than 0.
| The number of samples to wait in a finite wait instruction must be greater than 0.
|-
|-
| [[Error Code -1074101561|-1074101561]]
| -1074101561
| The script contains an invalid character or symbol.
| The script contains an invalid character or symbol.


Replace the invalid character with a valid symbol or alphanumeric character.
Replace the invalid character with a valid symbol or alphanumeric character.
|-
|-
| [[Error Code -1074101560|-1074101560]]
| -1074101560
| The repeat loop is contained within too many levels of nested repeat loops. A "repeat" instruction can only be nested within another "repeat" instruction if the outer loop is infinite and there are no instructions before or after the infinite loop.
| The repeat loop is contained within too many levels of nested repeat loops. A "repeat" instruction can only be nested within another "repeat" instruction if the outer loop is infinite and there are no instructions before or after the infinite loop.


Unroll one of the repeat loops if possible, or change the script and run it several times. To unroll a loop, remove the "repeat" and "end repeat" instructions and explicitly replicate the instructions of the removed loop the desired number of times.
Unroll one of the repeat loops if possible, or change the script and run it several times. To unroll a loop, remove the "repeat" and "end repeat" instructions and explicitly replicate the instructions of the removed loop the desired number of times.
|-
|-
| [[Error Code -1074101559|-1074101559]]
| -1074101559
| The marker position exceeds the length of the subset.
| The marker position exceeds the length of the subset.
|-
|-
| [[Error Code -1074101558|-1074101558]]
| -1074101558
| This instruction is not supported on this device model.
| This instruction is not supported on this device model.
|-
|-
| [[Error Code -1074101557|-1074101557]]
| -1074101557
| A script or repeat loop contains no samples to generate.
| A script or repeat loop contains no samples to generate.


Scripts and repeat loops must have at least one generate, repeat, or finite wait instruction.
Scripts and repeat loops must have at least one generate, repeat, or finite wait instruction.
|-
|-
| [[Error Code -1074101556|-1074101556]]
| -1074101556
| The Start Trigger signal cannot be used with the wait, clear, or repeat instructions on this device.
| The Start Trigger signal cannot be used with the wait, clear, or repeat instructions on this device.
|-
|-
| [[Error Code -1074101555|-1074101555]]
| -1074101555
| The "clear trigger" instruction cannot be the last instruction of a repeat loop.
| The "clear trigger" instruction cannot be the last instruction of a repeat loop.
|-
|-
| [[Error Code -1074101554|-1074101554]]
| -1074101554
| Markers are not allowed in "wait" instructions on this device.
| Markers are not allowed in "wait" instructions on this device.
|-
|-
| [[Error Code -1074101553|-1074101553]]
| -1074101553
| The specified marker position is not a multiple of the alignment quantum.
| The specified marker position is not a multiple of the alignment quantum.
|-
|-
| [[Error Code -1074101552|-1074101552]]
| -1074101552
| The specified subset length is not valid.
| The specified subset length is not valid.


Change the subset length to be longer than zero samples and a multiple of the alignment quantum.
Change the subset length to be longer than zero samples and a multiple of the alignment quantum.
|-
|-
| [[Error Code -1074101551|-1074101551]]
| -1074101551
| The start offset of the subset is not a multiple of the alignment quantum.
| The start offset of the subset is not a multiple of the alignment quantum.
|-
|-
| [[Error Code -1074101550|-1074101550]]
| -1074101550
| The number of samples to wait in a finite wait instruction must be a multiple of the alignment quantum.
| The number of samples to wait in a finite wait instruction must be a multiple of the alignment quantum.
|-
|-
| [[Error Code -1074101549|-1074101549]]
| -1074101549
| The number of samples to wait in a finite wait instruction must be greater than the minimum finite wait length.
| The number of samples to wait in a finite wait instruction must be greater than the minimum finite wait length.
|}
|}


[[Category:Error Handling]]
[[Category:Error Handling]]

Latest revision as of 16:00, 7 May 2023

Below are all of the Error Codes that belong to the NI Waveform Script Compiler Error Code Family (see Error List for list of Families).

Code Description
-1074101568 A keyword was expected but not found in the script.
-1074101567 A valid identifier was expected but not found in the script.

The identifier should specify a valid waveform or script name. Identifiers cannot start with a number.

-1074101566 An integer was expected but not found in the script.

Insert an appropriate integer at this location in the script.

-1074101565 An identifier found in the script is too long.

Use identifiers with no more than 511 characters.

-1074101564 The specified subset length is not valid.

The subset length must be between 1 and 2,147,483,647.

-1074101563 The number of iterations specified for a finite "repeat" loop is invalid.

The number of iterations must be between 1 and 2,147,483,647.

-1074101562 The number of samples to wait in a finite wait instruction must be greater than 0.
-1074101561 The script contains an invalid character or symbol.

Replace the invalid character with a valid symbol or alphanumeric character.

-1074101560 The repeat loop is contained within too many levels of nested repeat loops. A "repeat" instruction can only be nested within another "repeat" instruction if the outer loop is infinite and there are no instructions before or after the infinite loop.

Unroll one of the repeat loops if possible, or change the script and run it several times. To unroll a loop, remove the "repeat" and "end repeat" instructions and explicitly replicate the instructions of the removed loop the desired number of times.

-1074101559 The marker position exceeds the length of the subset.
-1074101558 This instruction is not supported on this device model.
-1074101557 A script or repeat loop contains no samples to generate.

Scripts and repeat loops must have at least one generate, repeat, or finite wait instruction.

-1074101556 The Start Trigger signal cannot be used with the wait, clear, or repeat instructions on this device.
-1074101555 The "clear trigger" instruction cannot be the last instruction of a repeat loop.
-1074101554 Markers are not allowed in "wait" instructions on this device.
-1074101553 The specified marker position is not a multiple of the alignment quantum.
-1074101552 The specified subset length is not valid.

Change the subset length to be longer than zero samples and a multiple of the alignment quantum.

-1074101551 The start offset of the subset is not a multiple of the alignment quantum.
-1074101550 The number of samples to wait in a finite wait instruction must be a multiple of the alignment quantum.
-1074101549 The number of samples to wait in a finite wait instruction must be greater than the minimum finite wait length.