Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

blue screen

hi,

 

I am using LabVIEW 2014 to control PHD Ultra pump 703007. Everything worked fine yesterday. However, the computer turned to blue screen after pump running for 20 minutes several times today. what could be the possible reason for this? And why this doesn't happen yesterday while i was doing the same procedures?

blue screen.JPG

0 Kudos
Message 1 of 14
(6,626 Views)
After rebooting, can you run the program again for a while? In a previous post, you were told to not repeatedly open/close the port. Did you make that change?
0 Kudos
Message 2 of 14
(6,620 Views)
Yes, I just open VISA once and close it after. And I can run the program for a while after rebooting. Actually, it's been running for 40minutes now…
0 Kudos
Message 3 of 14
(6,614 Views)

do you by accident use the read until endcharacter?

I mean is the endcharacter enabled?

 

It happened to me when communicating with an arduino and when I checked myself for the endcharacter and only read the characters that are available it never crashed again.

 

But ... it can be something else as always.

greetings from the Netherlands
0 Kudos
Message 4 of 14
(6,603 Views)

Please check 

IRQL_NOT_LESS_OR_EQUAL Serial Read Topic.

 

A real workaround is provided by Will_E. Please check his vi.

 

But, I do believe this is a bug of NI-VISA while using serial port.

 

The NI-VISA 4.2 works normally without this issue. 

0 Kudos
Message 5 of 14
(6,583 Views)

which VI are you talking about?

0 Kudos
Message 6 of 14
(6,561 Views)

How to check the version of VISA I am using?

0 Kudos
Message 7 of 14
(6,559 Views)
You really should know which version you installed but if you forgot, just open MAX and look under the software listing. I'm not convinced that VISA or enabling the termination character is to blame, though. I've used the serial read with the term character set countless times without issues. Check the driver that you are using for the serial port and attach your latest version of code.
0 Kudos
Message 8 of 14
(6,551 Views)

I use NI-VISA 5.0.3 and NI-Serial 3.7 and LabVIEW 2014. Interesting, everything works just fine with PHD Ultra pump 703006 though. 

0 Kudos
Message 9 of 14
(6,546 Views)
That's an old version of VISA and certainly not the one that came with LabVIEW 2014. The latest is 14.0.1 - http://www.ni.com/download/ni-visa-14.0.1/5023/en/

You are using an equally old version of NI-Serial. What serial converter from NI are you using? The driver, is of course, only for NI hardware.
0 Kudos
Message 10 of 14
(6,540 Views)