Hi there guys.
first of all, pls excuse my bad english, i'm non native
my problem :
i have an AD9858/PCBZ Evaluation Board Z Ref(F) here, which is the
simple DDS DAC type of the board. I can run it via the given software
and get exactly the results as i expect them on the spectrum analyzer.
But now i want to (and actually need to) run it via LABVIEW to implement
it into my experimental setup. (i want to use it as a freq. generator).
to aquire control of the board i want to use the same LPT1 parallel port the
the problem is that i have no idea how to adress it correctly.
i know how to adress the registers and single bits of the registers of the parallel port
in labview via "Out Port.VI" and "In Port.VI".
what i dont know is, which pin (and thus bit of which register) corresponds to
which function / pin on the board.
what i know is the adressing inside the board which is explained in the datasheet.
for example how to set the Freq tuning word for profile 1. i know the adress and the value
i have to give it.
But how is it actually done ? I think i have to pull the "Write Pin / Bit" first and then
send adress and then the data ? is that correct ?
but which pin of the parallel port corresponds to the write? or read ? or reset ?
has anyone experience in using these kind of boards with labview ?
or is there a simpler way then giving it ones and zeroes ??
thanks for your help, much appriciated !
ps.: if there is any api, dll or similar available, pls tell. i'd be more than happy to use
that instead of doing it the way i try now ..
thanks for your input and information, i understand the general process of writing data better now.
i have some questions anyway :
1) is there any DLL or other API which i could use for including into LABVIEW ? i saw them for other evaluation boards
2) how do i adress read, write, reset and FUD (which i think you refer to with "IO_UPDATE") via the
parallel port of my PC ? do they correspond to one of the control bit in the control register of the parallel port ?