FX3ConnectionWaitForBoard Method |
This function is used to wait for an FX3 to be programmed with the ADI bootloader. In general, the programming model would go as follows,
to connect and program the first board attached:
Dim myFX3 as FX3Connection = New FX3Connection(firmwarepath, bootloaderpath, devicetype)
If Not myFX3.WaitForBoard(10) Then
Msgbox("No boards found")
Exit Sub
End If
myFX3.Connect(myFX3.AvailableFX3s(0))
Namespace:
FX3Api
Assembly:
FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntaxpublic bool WaitForBoard(
int TimeoutInSeconds
)
Public Function WaitForBoard (
TimeoutInSeconds As Integer
) As Boolean
public:
bool WaitForBoard(
int TimeoutInSeconds
)
member WaitForBoard :
TimeoutInSeconds : int -> bool
Parameters
- TimeoutInSeconds
- Type: SystemInt32
The timeout to wait for a board to connect, in seconds
Return Value
Type:
BooleanIf there is a board available (false indicates timeout occurred)
See Also