11-11-2020 05:09 AM
Hi there,
I'm a C# developer- new to NXG, usually I interface with NI-USB-6216 in my .NET programs.
I'm trying to port my .NET program to NXG and I'm having trouble figuring out the UI side of the NXG.
Is it possible to have a Tool Strip Menu similar to the one offered in MS Visual Studio?
Take a look at the attached screenshot to see exactly what I mean.
Thanks
11-11-2020 07:24 AM
I haven't used it yet myself in NXG, but you can add and edit a Menu to a gvi via the Panel tab on the configuration pane:
11-12-2020 04:46 AM
Thanks, I haven't spotted it before.
I played around with it just there, and it's not that easy to use, but thanks for pointing me to the right direction.
When I type-in "menu" in the Search, there's a project called "Customizing the Menubar" and he has a nice thing going on there, now just to figure it out as a newbie 😄
11-12-2020 07:08 AM
I've tried and tried to like NXG, but the incomplete feeling plus the intentional design choices have made me abandon it for now. 😞
11-12-2020 07:38 AM
Ha! I never had any prior experience with LabVIEW before NXG so I'm golden 😄
As a matter of fact I've never had any experience with "visual" programming, I've always been a text based coder.
Unfortunately, a decision has been made, at management level, and now we have to move to LabVIEW.
I'm trying to wrap my head around it at the moment, and the company will be doing the training soon, but so far I'm not liking it! Haha.
Hopefully I'll change my mind as I learn.
11-12-2020 07:50 AM
I came from text-based too, back in 1997 (Whoa, seeing that in writing I start feeling old.. 😱)..
Took me two weeks of cursing and 🙄, then reading up on some course work about statemachines and message handling lead me to see the light and start over. From then on I was hooked and never looked back.
For serious work though I'd recommend to start using LabVIEW instead of NXG because NXG is not quite there yet feature-wise.
11-12-2020 08:22 AM
@mattcrow wrote:
Ha! I never had any prior experience with LabVIEW before NXG so I'm golden 😄
As a matter of fact I've never had any experience with "visual" programming, I've always been a text based coder.
Unfortunately, a decision has been made, at management level, and now we have to move to LabVIEW.
I'm trying to wrap my head around it at the moment, and the company will be doing the training soon, but so far I'm not liking it! Haha.
Hopefully I'll change my mind as I learn.
There are some paradigms that can be hard to embrace, as the dataflow and 'the wire is the variable' makes for quite a difference when moving from a text based language. If I'm trying to make a text based comparison it'd be like going from an ultra typed language like Assembler to Python, or from C to Lisp. However, most all structure and logic is the same, so once you know to loop and handle arrays it'll get better. 🙂