From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

G#

cancel
Showing results for 
Search instead for 
Did you mean: 

what's the differences between G# and Actor Frameworks?

which one is better?

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

Better? That question makes no sense. They are different Tools that solves different problems.

G# is a tool that allows you to have reference based classes in LV.

AF is a design system that sends data/commands through queues.

 

They can be combined if you like. 🙂

 

So, what are you trying to build and which problem are you trying to solve?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 6
(2,590 Views)

How to create G# class in AF??

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

G# classes cannot be created in AF. Create G# classes with G#. What Yamaeda means is that both frameworks can be used in the same project.

Certified LabVIEW Architect
Message 4 of 6
(2,540 Views)

Thols is right (as usual) 🙂

To expand on it; i haven't tried, but i assume you can use G# classes as parameters or consumers in an AF-system. I don't know when this would be a good idea, but it'd basically be like sending a DVR to some data as part of a message.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 6
(2,536 Views)

Let me add that before launching the root actor you have to start the external create process (call G#Object_StartExternalCreateProcess.vi) lest your G# class might disappear when the actor that created them stops executing.

Message 6 of 6
(2,533 Views)