We are switching from our custom-build interface board, build around the NAT7210 chip, to the standard NI interfaces.
I am currently working on porting the code to the NI 488.2 libraries.
In our custom implementation we were able to check the DI (Data In) bit in the Interrupt Status Register 1 of the NAT7210 chip to see if the CIC already did write a byte.
Using this, we were able to poll the interface, without actually having to call ibrd.
We could even combine this with an interrupt on that bit, so we did not even have to poll, but just could wait for the interrupt, before we started reading.
I am unable to find, in the documentation of the NI 488.2 libraries, if I can achieve something similar with those libraries.
Is something like this possible with the NI 488.2 libraries?
Or do I have to revert back to a polling mechanism, where I do a ibrd of one byte, with a small timeout, so I can do an ibwrt without having to wait for a long timeout?