Description
Hi, I'm using PrawnBlaster to generate pseudoclock for my NI 6535 board. The clock terminal is set to PFI4 by
NI_PCIe_6535(
name='ni_6535', parent_device=master_clock.clocklines[0],
MAX_name='PCIe-6535-Dev1',
clock_terminal='/PCIe-6535-Dev1/PFI4', # use PFI4 to receive clock from the master clock
clock_mirror_terminal='/PCIe-6535-Dev1/PFI5', # use PFI5 to mirror clock from the master clock
stop_order = -1) # 1st device in daisy chain, ensure it transitions to manual mode first
The NI_PCIe_6535 class is generated by labscript_devices/NI_DAQmx/models/generate_subclasses.py
. The program compiled without any error. But I find that the high level voltage received by PFI4 is only ~1.3V when running digital output tasks, which means the input impedance of PFI4 port is only ~50Ohm, instead of 50kOhm, given the output driving ability of rp2040 GPIO.
When I use LabVIEW to do digital output, the input impedance is correct (a high value, I did not measure the exact number) and the high level is indeed 3.3V, so I think the NI board is fine.
I see the underlying worker uses DAQmxCfgSampClkTiming to configure this function. So I'm wondering if there are any other steps (like config. in NI-MAX, or config. in generate_subclasses.py
, etc.) to correctly configure the input impedance.
Thanks!