LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi Freeze after Visa write LV 2009 only

Hello

 

i use Labview since LV 7.1... most of the time i use it to read Data from a RS232  Device with VISA .. there was no problem until we upgraded to Labview2009...

 

after the upgrade to 2009 our "command send" Vi, which only concatenates a string and then send it twice per VISA to our RS232 device, freezes after or in the middle of the second Visa Write...i attach a picture from that VI in the state of freeze aftehr i switched the Highlight execution on ...

 

it is totaly random when the VI frezzes somtimes i can send more then 200 commands or more ... somtimes i can only send 10 ...

 

the only way to close Labview is to kill it in the Taskmanager ... 

 

if i compile an EXE File ists the same Problem ...

 

if i use my older EXE file wich was made with Labview 8.6.1 there is no probem ....

 

i already asked the support  but got no solution so far ...

 

aynone with ideas 

 

 

0 Kudos
Message 1 of 11
(4,429 Views)
What is your os?
0 Kudos
Message 2 of 11
(4,413 Views)

Windows XP Pro SP3 latest Updates...

 

Core2 Quad Q6600 2,4Ghz

2GBRAM

 

 

T

0 Kudos
Message 3 of 11
(4,408 Views)
Have you installed the patch?
Message Edited by muks on 11-04-2009 06:44 PM
0 Kudos
Message 4 of 11
(4,404 Views)

muks wrote:
Have you installed the patch?
Message Edited by muks on 11-04-2009 06:44 PM

 

yes i have tried it with and without it ... no effect..the vi still freeze after or during Visa Write...seems that way...

 

T

0 Kudos
Message 5 of 11
(4,387 Views)

There was a bug in the VISA drivers that shipped with LV 7.1 that would manifest itself in that way so...

 

Did you update the VISA drivers to the latest and greatest when you upgraded to LV 2009?

 

BTW: If you wrap-up your serial code in an Action Engine form, you can skip using the semaphores.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 11
(4,379 Views)

i have the latest VISA Drivers....

 

i dont think its the VISA Driver itself as my LV8.6.1 EXE runs perfectly with the same driver on the same PC ...

 

 

 T

 

ps. do i even need a read/write handshake for the VISA function or is that done internal ..?

0 Kudos
Message 7 of 11
(4,365 Views)

Hello!

 

Is your device connected to RS232 directly or are you using any converters e.g. USB » RS232?

 

Regards,

Peter

0 Kudos
Message 8 of 11
(4,329 Views)

Hi

 

our device ist  directly with the native PC RS232 Port connected ... but i got the same result if i use a USB->RS232 or a PCI Card with 8 RS232 Ports ...

 

T

0 Kudos
Message 9 of 11
(4,327 Views)

Just started using 2009, jumping up from 7.1.    I have the latest 9.0f3 patch, Vision Dev. Module, VISA 4.6, and NI-488-2 2.7.3.  Some of my vision code is broken and I'm trying to fix it, mostly due to what looks like typedef changes on the image type.

 

When getting to the point where I get an error, and thus can't proceed, I hit the stop button and 2009 completely freezes.   Using Process Explorer I can see that it is using no CPU time at all, no resources numbers change whatsoever.  I need to kill LabVIEW ...  Not good.

 

And, whose idea was to move the "set breakpoint" one sub-menu away?  There goes my productivity having to spend extra time to slide the mouse over for one of the more common operations ...

 

0 Kudos
Message 10 of 11
(4,087 Views)