04-10-2006 06:21 AM
04-21-2006 02:16 AM
Hello,
NI provides a wizard to help you troubleshooting your devices, you can try to use it for your problem. I give you a link how to use the wizard:
http://www.ni.com/support/gpib/max/commutil.htm
Hope it will help you for your problem.
Regards,
04-21-2006 11:54 AM
Julien,
To read an array of doubles, you can either modify the ilrdi function prototype for integers to accept an array of doubles instead. Or you can create a new subroutine based on ilrdi.
To modify the existing ilrdi, open the vbib-32.bas module. Go to the ilrdi subroutine and change the Integer to Double, as shown below is a code snippet:
Sub ilrdi(ByVal ud As Integer, ibuf() As Double, ByVal cnt As Long)
But if you want to leave ilrdi intact, you could copy and paste the ilrdi subroutine, give it a different name, such as ilrdd, and change the ibuf to be a Double.
I would suggest copying the original ilrdi and creating a special subroutine that handles an array of doubles only.
Hope this information helps.