07-17-2007 04:40 AM
07-18-2007 03:36 AM
07-19-2007 10:22 AM
07-20-2007 02:14 AM
07-20-2007 05:04 AM
there are only two things you can do.
1) Try to Discard and Disable Events. The functions which you has to use are:
VISA Discard Events = viDiscardEvents ()
VISA Enable Events = viEnableEvents ()
2) Goto
==> http://zone.ni.com/devzone/cda/tut/p/id/4713
==> 3.3 Interrupt Detection Information
07-20-2007 06:21 AM
07-24-2007 09:19 AM
There can be more reasons:
- The Vendor ID of your device
- The serial ID of your device
You don't use a device of National Instruments I think, so the vendor ID and the serial ID can be a problem
You don't use a device of National Instruments I think, so the vendor ID and the serial ID can be a problem => but with that problem, I can't help you (if it isn't a device of NI)
08-01-2007
02:58 PM
- last edited on
08-06-2025
03:09 PM
by
Content Cleaner
Florian,
Without having access to your hardware and the INI file that you have created using the VISA Driver Wizard, it is very difficult for us to know what might be going wrong in the viOpen call.
Does your device use the Subsystem Manufacturer ID or Model Code?
I just looked at your viOpen call. It looks like the third parameter in your call should be '0' instaed of '4'. Value 4 (VI_LOAD_CONFIG) is only supported for serial instruments, not PCI.
Please view the NI-VISA help documentation for information on the VISA function calls.
https://www.ni.com/docs/en-US/bundle/ni-visa-api-ref/page/ni-visa-api-ref/ni-visa-api-ref.html
Message Edited by Christian L on 08-01-2007 02:58 PM