Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB and simultaneous analog input

i'd like to measure frequency with a HP53181A , which takes some gate time for good resolution, via a keithley GPIB card and simultaneously read 2 analog channels via a labPC card at maximum speed. i wrote stand alone vi's for both tasks which work well. I tried to combine them using two loops with one local boolean switch as startin condition. The analog input loop immediately measures at high speed (ca.100 Hz) but the GPIB loop only does one cycle after the analog loop stops. My email is bender2811@gmx.at (icq 135297554)
please contact if you need additional information Thanks already
0 Kudos
Message 1 of 2
(3,310 Views)
Bender,

I believe that your program is not running in multithreading mode. So it gives all resources to the most important operation, which is data acquisition, and then it performs operation such for GPIB instruments. There is a good knowledge base in the web addressing this issue, please check the KB "If I use multithreading, will my application run faster?" with special attention to the last paragraph. You can also get to that document if you browse through www.ni.com, select Support, and in the search box type: "+multithreading +labview +application +run +faster", this may bring you some good documents that will be of help. To check if y
ou have multithreading turn on please go to your menu Tools >> Options... >> Performance and Disk >> Run with multiple threads.

If you think you may need further assistance you can also get to us by navigating to www.ni.com/ask and view our contact information.

Good luck!

Nestor Sanchez
Applications Engineer
National Instruments
Nestor
0 Kudos
Message 2 of 2
(3,310 Views)