ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 2 条)
2,491 次查看

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 项奖励
2 条消息(共 2 条)
2,476 次查看