LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I run a StateChart in 64 bit

Hello,

 

I'm currently evaluating the statechart module and I find it great. I know that I can access the module only from LabVIEW 32 bit, but I'd like to know if it's possible to run in 64 bit the VIs that has code using a statechart?

I tried to copy vi.lib\StateChart directory from LV32 to LV64 and mass compile, but when I open a VI caller of a statechart I get XNode error on "run statechart" and "send trigger": "library that defines the xnode cannot be found" 

 

Has someone succeeded on this?

Charles

0 Kudos
Message 1 of 5
(2,849 Views)

Hello CharlesB64,

 

Which version of LabVIEW & LabVIEW Statechart do you have ?

Which OS are you using ?

 

LabVIEW Statechart is compatible with Windows 7 64bits from LabVIEW 2009 release. You can find more information about software compatibility here :

https://www.ni.com/en/support/documentation/compatibility/09/national-instruments-product-compatibil...

 

A VI compiled in 32bits should be running in 64bits however but the module has also to be supported on both environnements. In addition to that, the software has to be installed correctly, you can not just copy the vi.lib directory and expect it to be running properly. They are other .dll and code called bellow all of this.

 

Regards,

 

Yannick.

0 Kudos
Message 2 of 5
(2,833 Views)

Hello,

 

I'm running LV2010 on Win7 64 bit, and StateChart 2010.  I have both 32 bit and 64 bit editions of LabVIEW installed.

 

StateChart installer does stuff only on the 32bit version of LabVIEW, it leaves 64 bit edition without the module.

Do you know how to have it installed on both editions?

 

However I managed to make things run on the 64 bit version by copying vi.lib and the ressource/framework/providers/StateChart directory, and masscompile. Editing and running the StateCharts works OK. I also copied the palette under the menus/Categories/Statechart

 

So it works, but it would be great if NI provide an automated way to do it.

 

Charles

0 Kudos
Message 3 of 5
(2,827 Views)

When I try to mass recompile the resource folder in 64-bit, I get lots of bad subVI errors. Any idea how to get around this? Here are a few of the errors:

 

#### Starting Mass Compile: Mon, Jan 05, 2015 6:18:53 PM
  Directory: "C:\Program Files\National Instruments\LabVIEW 2013\resource\Framework\Providers\Statechart"
  ### Bad subVI: "NI_SC_Template.lvlib:ConfigurationLibraryData.vi"    Path="C:\Program Files\National Instruments\LabVIEW 2013\resource\Framework\Providers\Statechart\ConfigurationLibraryData.vi"
  ### Bad subVI: "NI_SC_Template.lvlib:ConfigurationLibraryData.vi"    Path="C:\Program Files\National Instruments\LabVIEW 2013\resource\Framework\Providers\Statechart\ConfigurationLibraryData.vi"

0 Kudos
Message 4 of 5
(2,706 Views)

Digging deeper I see the error is because the module is not licensed/activated. I have the 32-bit version of StateChart licensed/activated. How did you get it to work with 64-bit?

0 Kudos
Message 5 of 5
(2,704 Views)