My USB expancion devise number is 128. When I try to compile the script, I get error: number out of range.
How can I fix this.
-Tino-
Device number
Re: Device number
I guess you mean the USB device number is 128. The number you view in SiOC device window.
Thta is not the same as the IDX number, which is the number that links the script code to the hardware card.
I.e. if you want to use the USB Expansion card to control your OVH, the IDX should be 30, as this is the number(device number in the script code).
Find out more about this by right clicking the Modules and Operation windows in the OC4BAv4Config screen.
In the OC4BAv4.ini you will find all IDX numbers that are used in OC4BAv4 scripts.
The OC4BAv4 documentation also covers this in detail.
Thta is not the same as the IDX number, which is the number that links the script code to the hardware card.
I.e. if you want to use the USB Expansion card to control your OVH, the IDX should be 30, as this is the number(device number in the script code).
Find out more about this by right clicking the Modules and Operation windows in the OC4BAv4Config screen.
In the OC4BAv4.ini you will find all IDX numbers that are used in OC4BAv4 scripts.
The OC4BAv4 documentation also covers this in detail.
Re: Device number
No, I mean the device number Example IDX=30 USB-Expancion device=128.
The script compiler says it's not ok ; number out of range ----> 128
The script compiler says it's not ok ; number out of range ----> 128
Re: Device number
I fixed this doing fresh install Win 10. Now my device numbers start at beginning and it's now 2 for Expancion card, 4 on MCP and 5 on servo card.
It seems like if your usb device number goes above 127, program wont accept number.
It seems like if your usb device number goes above 127, program wont accept number.