Help: ICE_ICELIB_PIC_QUERY
Query routine for specific library functions
Function PIC_QUERY - Query routine for specific library functions
PIC p Handle to Device
int type Query type (FPLAN,...)
int info Info field (Override port setting for FPLAN)
void *value Buffer for data
int len Length of data item in bytes
Executes special query functions.
If type==QUERY_FPLAN this queries the availability of a specified frequency plan.
where the info=port and buffer is an array of 4 real_8s:
dval[0] = sample rate in MHz
dval[1] = RFFREQ in MHz
dval[2] = external reference freq in MHz
dval[3] = VCO reference in MHz
Prefill the 1st two fields with the desired parameter and it will return the
closest solution to those values. Note that for an LB2D a VCO!=30.0 means
degraded RF performance.
For instance to query frequency plans from NeXtMidas:
nM> forall #=10:125;5 picd/srate=#/rffreq=1000/port=module1 fplan pic1auto