02-25-2020 09:12 PM
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,
If you can identify the offending subVI that would help greatly.
thanks once again.
Greg
02-26-2020 12:17 AM
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.)
03-03-2020 03:56 PM
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
03-03-2020 04:03 PM
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.
03-03-2020 04:27 PM
Here is the Services eror
Greg
03-03-2020 05:02 PM
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
03-10-2020 12:33 AM
So I disabled Driver checking and reinstalled NI-VISA for the 4th time.
No difference, still get this error
And when I try yo Create a new Serial port connection through NI-Max I get this error
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
03-10-2020 07:27 AM
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?
03-10-2020 04:53 PM
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
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.
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
03-10-2020 04:54 PM
One more thing.
NI variable is set to Automatic start