When I place the Daq_Read.vi & the GPIB_Read.vi at the same vi, the Proggram finish to read all the samples from the Daq board and then Read from the GPIB. Can I read them both at the same time ?? I'm using Win XP, LabView 6.02, PCI-GPIB, PCI-6035E.
You will need to invoke the multi-threading capability of LabVIEW to accomplish this task. You will need to wire the VIs in parallel by means of the Error I/O terminals. Use the Merge Errors VI to conclude the parallel operation. Now, assign each VI to a different "thread" as follows:
1) Save your DAQ and GPIB VIs under NEW names in a folder of your choice, then open each VI 2) Right-Mouse Click on the Icon and choose VI Properties 3) Choose the Execution Category 4) Under the "Preferred Execution System Tab" choose: a)Data Acquisition for the DAQ VI b)Instrument I/O for the GPIB VI 5) Save the changes
This should give very near simultaneous operation (at reduced speed as the CPU is performing both operations.