05-04-2021 03:10 PM
I have an issue I've been losing my mind over for a few weeks.
We have an Atmospheric Chamber (ESPEC) for which we've made a VI using Labview 64 bit 2019. And it works well enough, but I'm trying to migrate it to NXG and that's when it stop working.
I've been sniffing on the serial port with a oscilloscope, decoding the ascii I'm sending. Sometime it will send an incomplete string and other time it won't send anything at all. The VISA port selection box in NXG also doesn't refresh.
I made sure the RS-232 specs were identical everywhere. I also made sure the com port was free before I made the tests.
I'm not that knowledgeable in serial comm or labview so I'm not sure if the problem comes from NXG or myself. I've included the codes, both the version that works and the one I built.
Thank you
Solved! Go to Solution.
05-04-2021 04:04 PM
Is there a huge reason for switching to NXG? This is an EOL product. The last version will be 5.1, which is out now.
05-04-2021 05:12 PM
By any chance are you using a USB to serial adapter, or a secondary add-on card instead of the built-on serial ports on your PC motherboard? If so, what brand? Some of them, especially ones containing Prolific chips, are incredibly unreliable. It could be that NXG vs regular LabVIEW has a small difference in how it talks to the adapter that's enough to make a borderline adapter fail.
But just in general, I too am wondering why you are migrating to NXG, since it will get basically no support in the future. If LabVIEW 2019 works now... stay with it if you can.
05-05-2021 08:14 AM - edited 05-05-2021 08:16 AM
I'm using a laptop with a serial to USB Tripp-Lite U209-000-R which I just read, does contain a prolific chipset.
But no, there is indeed very little reasons to change to NXG other than I find it nicer to use when building a VI.
I thought it was going to be the other "vanilla" version that would eventually cease to be supported and I wanted to be up to date on both version.
Thank you