07-06-2020 12:27 PM
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)
In the Community editions at best, I can see the "terminals" from "visible items" via right click.
When I open the serial example project from
C:\Program Files (x86)\National Instruments\LabVIEW 2020\examples\Instrument IO\Serial\Serial.lvproj
I get
a seemingly broken solution.
what have I done or not done or not paid for?
thanks in advance.
G.
07-06-2020 12:41 PM
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.
07-06-2020 12:56 PM
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
07-06-2020 01:04 PM
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?
07-06-2020 01:24 PM
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)
07-06-2020 04:44 PM
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.
07-07-2020 03:20 AM
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.
07-08-2020 11:45 AM - edited 07-08-2020 11:48 AM
@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".