LabVIEW 6
NIDAQ 6.6
DAQCard DIO-24
MacOS 9.x
I am using low level VIs to perform Digital Reads from a single line with a hardware trigger. On a separate port, I am performing software-start digital output.
The VI sporadically hangs. This problem seems to have popped up ever since we started getting high-frequency noise on our trigger line (unfortunately we can not rectify this problem as it is out of our control). When the VI hangs, often times the computer itself will freeze. I've tried changing sampling rates, etc. I've set it to allow buffer overwrites. Essentially I am trying to use the DIO Read as a sort of event counter (since the DIO-24 does not come with a GPCTR). For this purpose, I sit in a loop trying to
read one sample from the DIO Line (which will of course fail until I receive a trigger signal). Once I am able to read a sample, I call BufferControl with a code of "start" to restart the triggered operation on the DIO Line.
Any help would be greatly appreciated.
Regards,
Jejo Koola