LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 2011 crash when create bound variables

Hello

I have to connect to an OPC server in an upcomming project and have played around a bit with the OPC client options.

 

I tried using data sockets and that seems to work (bar a user problem when accessing an OPC server on a remote computer but thats another story).

 

But i would like to use shared variables as that seems like a handy way to access the needed variables. I have followed the instructions in http://zone.ni.com/devzone/cda/tut/p/id/7450 .

 

However when i use the create bound variables feature LabView crashes when i browse for OPC tags, step3 under "Create Shared Variables that Connect to the OPC Tags through the I/O Server". If i try to expand the node "OPC1" LabView crashes. I try to access the built in NI OPC server, have tried both localy and on a remote computer with the same OPC server installed. Same result every time.

 

Is there something i have missed? Something that needs to be configured before going through that tutorial?

 

I run LabView 2011 on a 64 bit Win7P computer. The DSC module and the NI OPC Servers are installed and seem to work (when running the OPC examples and using data sockets locally).

 

/ Nimgaard

0 Kudos
Message 1 of 6
(2,880 Views)

Same exact problem when I follow that tutorial. I'm able to create an I/O server referenced to a custom VI without issue, but connecting to the OPC server causes LabVIEW to crash when I expand and browse for the OPC tags.

 

LabVIEW 2011 32-bit (11.0), Windows 7 64-bit, DSC module and NI OPC Server 2010.

 

Anyone know what's wrong?

0 Kudos
Message 2 of 6
(2,812 Views)

Hi Nimgaard and emptyshelf,

 

I am looking into this and seeing if I can recreate the crash at my end. Do you get a crash log during the crash that you can post? Also Nimgaard are you also using OPC Server 2010?

 

Regards,

0 Kudos
Message 3 of 6
(2,791 Views)

Hey Jeff-P,

 

I don't get a crash log and LabVIEW doesn't prompt me to investigate previous internal errors when re-opened after the crash. There's nothing in my lvfailurelog directory after the crash either. Is there any other place I should check?

0 Kudos
Message 4 of 6
(2,781 Views)

I am not at the development computer at the moment but all software im using is from the 2011 DS2 package.

 

I didnt seem to get any crash log though.

 

I recently tested against the actual hardware i want to control and used ITools OPC Server to connect to the hardware and i seemed to be able to connect to that OPC Server with bound variables just fine.

 

So for my part the issue is "solved" in that i got a working solution. Still strange that LabView would just take a dive like that...

 

/ Nimgaard

0 Kudos
Message 5 of 6
(2,770 Views)
Spoiler
 

Hi Nimgaard,

 

I have the same Error when i tried to expand OPC in shared variable menu, labview crashes. I try whith labview 2011 and labview 2011 SP1. I have W7 x64.

 

In the attached photo you can look this issue.

 

José

 

 

0 Kudos
Message 6 of 6
(2,628 Views)