08-28-2020 04:45 AM
Hello,
I have a cDAC with one NI9474 module and the following setup in my VI:
As it stands now this setup works, ie the signal I want are output on DO0, DO1 and DO2 and when I change the state of DI0 from LOW-> HIGH DO3 is output.
For my actual application, DO0-DO2 operate a device that then outputs a pulse, read by DI0.
My worry is that since 'Output DO3' SubVI needs to wait for the previous block to complete, there is the possibility of the 'pulse' being missed.
I tried not connecting the 'error' terminal but I would then get a error on running the VI as both subVIs attempt to access the same module
Is there some way (other that getting another NI9474) where the 2 SubVIs could be run quasi-simultaneously or a different approach I could use?
09-03-2020 10:45 AM
Hi sherzaad,
One problem you may be facing is that the NI 9474 is a digital output module: https://www.ni.com/documentation/en/c-series-digital-module/latest/9474/pinout/. Are you using the NI 9474 for the DI0 you mention ?