GPIB doesn't have any hardware triggering so the closest you could get is by reading from GPIB in software when the hardware trigger is received from the IMAQ board. This will probably get you withing a few milliseconds, but not less than that. If that is good enough for your needs, then you would architect the program something like this. Create one thread (CmtScheduleThreadPoolFunction) and have it start by waiting for a ThreadLock that is held by the main thread or have it polling a flag. Then when you receive the trigger from IMAQ in the main thread, release the thread lock or set the flag which will allow your other thread to do the GPIB acquisition. The functions for creating and using thread locks are in the Utility library under Multithreading.
If a few milliseconds is NOT close enough for you, you will most likely have to find a way of hardware triggering your GPIB device.
Best Regards,
Chris Matthews
National Instruments