01-07-2016 12:31 PM
@master9991 wrote:
I am indeed sending the termination character. You check the code I posted above.
_gpibSession.TerminationCharacter = 10; _gpibSession.TerminationCharacterEnabled = true;
No, you are not. I told you that above which you didn't bother to read apparently.
01-07-2016 12:39 PM
I sending the same parameters in VB6 and it works.
I have read what you said (given under) but that didn't solve my problem.
"One thing you should note is that TerminationCharacter is for read *only*.
You will need to add your own when writing to the instrument."
01-08-2016 12:09 PM
Today I tried running the NI-VISA DotNET4.0 example for Service Request
- I am still getting time out when it waits on the "WaitOnEvent" [Synchronous mode] [GPIB-USB-HS with Windows 7 64 bit]
- It never runs the Handler routine [Asynchronous mode] [GPIB-USB-HS with Windows 7 64 bit]
But when I run my VB6 code for the Service Request it runs perfectly [Using a PCI-GPIB Card with Windows XP]
Any help is appreciated.
01-08-2016 12:19 PM
@master9991 wrote:
Today I tried running the NI-VISA DotNET4.0 example for Service Request
- I am still getting time out when it waits on the "WaitOnEvent" [Synchronous mode] [GPIB-USB-HS with Windows 7 64 bit]
- It never runs the Handler routine [Asynchronous mode] [GPIB-USB-HS with Windows 7 64 bit]
But when I run my VB6 code for the Service Request it runs perfectly [Using a PCI-GPIB Card with Windows XP]
Any help is appreciated.
Run your VB6 code with the GPIB-USB-HS
01-08-2016 06:13 PM
Ran VB6 code for the Service Request and it runs perfectly [GPIB-USB-HS with Windows 7 64 bit]
viStatus returns "Operation Completed Successfully"