@Fatemeh
The Discovery Interface does not use or have ports. You open the camera you want with the access token which is available after your discover.
To set the CVB color format (“PixelFormat”) or number of buffers (“NumBuffer”) you need to set the parameters in the token before opening the device:
token.SetParameter("PixelFormat", "2")
token.SetParameter("NumBuffer", "30")