LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Community 2020 serial port

Hi guys, really back to basics I'm afraid

 

Does Community LabVIEW have restrictions on communicating with serial ports?

 

 

See this serial config box I snipped from Youtube. Check the spikey property arrows when the guy hovers over it. (and he has the ability to drag the output of the serial port to a write command)

 

geeday_0-1594056160563.png

 

In the Community editions at best, I can see the "terminals" from "visible items" via right click.

geeday_1-1594056305595.png

 

When I open the serial example project from 

 

C:\Program Files (x86)\National Instruments\LabVIEW 2020\examples\Instrument IO\Serial\Serial.lvproj

 

I get 

geeday_2-1594056335601.png

 

a seemingly broken solution.

 

what have I done or not done or not paid for?

 

thanks in advance.

 

G.

0 Kudos
Message 1 of 8
(3,060 Views)

No, LabVIEW Community does not change anything with VISA or communicating over a serial port.  I have yet to see my company get the license update, so I currently have LabVIEW 2020 Community installed purely for helping on these forums.  And all of the examples in the project you state look fine for me.  It would help more if you stated exactly which VI you were looking at in the examples.  It looks like you are looking at the Simple Serial.vi.  I have several issues with this example, but that is for another story.  But it looks like you did something to the VISA Configure Serial Port VI.  You might want to try repairing your install.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 8
(3,051 Views)

Thanks for the quick response.

 

the image above is from"Simple Serial.vi"

 

"Serial Write and Read on Two Ports.vi" also doesn't like a "Visa Resource".

 

I'll uninstall everything NI/LabVIEW related on my machine and start again. I did have some standalone NI and Keysight VISA stuff already installed. I wonder if there is a conflict?

 

thanks again

 

0 Kudos
Message 3 of 8
(3,041 Views)

Before you go to the trouble of reinstalling everything, can you identify what specifically LabVIEW thinks is wrong with those wires, according to the error list?

0 Kudos
Message 4 of 8
(3,034 Views)

I've started now, only 347 parts to remove!!!!!!!

 

I'm not sure I saw an error. the examples wouldn't run as bits of the program were not connected together. there was something about not liking to connect something with a polyvi?

 

My main issue was when I dropped a Serial block, I couldn't drag its output anywhere, or see the like triangle properites that sprout from the box on hover over.

 

the fact the examples showed the same thing, suggests a system problem with Ni / Visa Drivers / LabVIEW?

 

I really don't want to have to remove "Keysight Connection Expert" as my system currently works!! Having an NI and Keysight VISA DLL caused issues in the past (which were easily worked around to be fair)

 

 

0 Kudos
Message 5 of 8
(3,019 Views)

I guess it's too late to warn you that if the uninstallation doesn't go well, you may have to reformat your hard drive.  Seriously.  Ask Bob Schor about that.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 8
(2,977 Views)

The uninstall went fine, although I've broken other stuff.

 

My main response is one of embarrassment.

 

I would click on a block, then try to drag a wire from its output to the next block, but I could not "get hold of" the output wire.

 

No!!!! You cannot drag from a block that is selected (i.e. you clicked on it first).

 

if you click on white space, then hover over the block, the output spikes appear and you can drag wire!!

 

Wow, I've got a long was to go.

thanks to those who replied, I hope to be back soon with a more stimulating and interesting question.

0 Kudos
Message 7 of 8
(2,935 Views)

@geeday wrote:

 

I really don't want to have to remove "Keysight Connection Expert" as my system currently works!! Having an NI and Keysight VISA DLL caused issues in the past

 


I found that as long as you set the Agilent/Keysite VISA DLL as SECONDARY and Ni VISA as Primary there's no issues having both installed.

 

LabVIEW and compiled LV applications still run normally as does the HP/Agilent/Keysite programs that rely on the "Connection Expert".

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 8
(2,903 Views)