LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with GPIB read on a Real Time device

Hello,

 

I have a Real Time PXI (PXI8101) with a GPIB module. This module connects the RT device to a keithley picoampmeter. You can find the VI I use to read the measured data in the attachment.

The problem I have is when I use this VI in a timed loop (with f.e. a loopperiod of 500ms), I get an error code 6 from the GPIB read VI. If I use the VI in a regular loop with the same loopperiod, I get the correct measured value.
Can anyone explane why this only works with a regular loop? 

 

Best regards,

Dries

0 Kudos
Message 1 of 2
(2,206 Views)

Hello Dries,

 

My guess is that it's in how your timed loop is configured.

Can you share the VI with the timed loop and the VI with the normal while loop?

This will allow me to confirm my guesses.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 2
(2,191 Views)