LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating old programs from Labview v8 to 2016

Thanks Gerd,

 

now I understand what you were saying. I have fixed that when compiling my program and it now displays correctly.

 

However 1 other issue, It displays an error message, 

Greg1956_0-1582686711250.png

 

If you can identify the offending subVI that would help greatly.

 

thanks once again.

 

Greg

 

0 Kudos
Message 11 of 24
(850 Views)

Hi Greg,

 


@Greg1956 wrote:

However 1 other issue, It displays an error message, 

If you can identify the offending subVI that would help greatly.


No, I cannot identify the Vi from that error message image…

(I still recommend to recreate the whole project from scratch - with a proper program design/structure.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 24
(838 Views)

Hi Gerd,

 

found the reason for the SubVi error, now I only open the Main VI at startup.

 

Moving on to the last 2 errors.

I'm unable to see or add a Serial port to NI Max. I'm running Labview 16.5 with Max 18.5.

The serial does not appear in Create new Port window. It immediately errors to NI Visa not installed or need to be reinstalled.

After installing NI-Visa 18.5 full I get the same error.

 

Any idea how I can get this installed???

 

thanks

Greg

0 Kudos
Message 13 of 24
(814 Views)

Can you clarify what are you last two errors?

 

You say you can't install a serial port in MAX.  But you don't install serial ports in MAX.  You install them in Windows.  You need to see them in Windows Device Manager before you can see them in MAX.

0 Kudos
Message 14 of 24
(812 Views)

Here is the Services eror

Greg1956_0-1583274442565.png

Greg

 

0 Kudos
Message 15 of 24
(803 Views)

Hi RavensFan.

 

Yes I can see the com port in Windows but not in Max.

 

Just read that I need to install NI Visa Server so I'm searching the NI site for that and see if that helps.

 

Greg

0 Kudos
Message 16 of 24
(795 Views)

So I disabled Driver checking and reinstalled NI-VISA for the 4th time.

No difference, still get this error

Greg1956_0-1583818164440.png

 

And when I try yo Create a new Serial port connection through NI-Max I get this error

Greg1956_1-1583818204721.png

 

However if I go into the Services.msc program and turn on NI Variable Engine all the errors disappear and it functions correctly.

 

So how can I make that happen automatically since it won't start through the normal Services at startup.

 

thanks

Greg

 

 

0 Kudos
Message 17 of 24
(740 Views)

I think there are a couple of pieces of information that haven't come out in this thread yet.

 

1.  What brand is this serial port?  Is it an NI brand, is it built into the PC, or an add-on made by a regular computer company?

2.  The error you are showing here doesn't seem to be at all related to serial ports.  As the nature of your problems changed during the course of this thread?

3.  You say if you enable NI Variable Engine the errors go away, but it won't start through normal services at startup.  Why not?  What does Services Manager say about that service when you start your PC?  Is it set to Manual instead of Automatic?  Can you give us a screen shot of the Services dialog?

0 Kudos
Message 18 of 24
(729 Views)

1. this is the standard com built into a Dell 3060

2. Yes as I fixed each issue from the start of this thread I revealed a new one. I think I'm down to the last 2. It's been a good learning process.

3. Yes NI variable error will not start. don't know why but this is the sequence of errors

Greg1956_0-1583876165376.png

 

At this point NI Variable is not running.

 

If I open NI-Max to create a new Com1 port as I need, I see this.

Greg1956_1-1583877076307.png

Greg1956_2-1583877086390.png

 

On entering Service.msc I can see that NI variable is not running. Starting it allows data to from from my COM1 port to my Labview program/display.

 

I will look into the software and try and determine why it won't start NI variable.

 

thanks fro your help

Greg

 

0 Kudos
Message 19 of 24
(706 Views)

One more thing.

NI variable is set to Automatic start

Greg1956_0-1583877271045.png

 

0 Kudos
Message 20 of 24
(705 Views)