09-27-2007 04:54 PM
09-28-2007
02:57 PM
- last edited on
06-03-2024
07:01 PM
by
Content Cleaner
Message Edited by Andy L on 09-28-2007 03:08 PM
09-28-2007 03:45 PM
Thanks, not sure if I'm misunderstanding but I'm trying to do this within a labwindows/cvi exceutable. It appears that the instrument only has a llb file for labview so I'm out of luck.
Brian
10-01-2007
10:30 AM
- last edited on
06-03-2024
07:01 PM
by
Content Cleaner
10-01-2007 11:21 AM
Thanks for your help, but my problem is not the error itself, but that I can't catch the error.
I'm causing the error to happen by not turning the device on.
I'm trying to figure out what I can do to catch the problem before my program crashes. The get handle function seems to act the same even with the device off.
10-01-2007 11:55 AM
Hello,
I am not sure anymore why, but I replaced (many years ago) the call to ibdev with a call to OpenDev (and an arbitrary unique name) and subsequently changed the primart address (ibpad) of this device to the one I needed for the instrument.
*Device = OpenDev ("", DeviceName);
if (*Device <= 0)
{
.... ....
}
if (ibpad (*Device, address) < 0)
{
.... ....
}
Succes, Jos
10-01-2007 12:36 PM
10-01-2007 12:58 PM
I was finally able to catch the error inside of the ibwrt. Don't know why I couldn't do it with any of the open functions but thanks for everyone's help.
Brian