LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One Element Stream Channel VI broken on LabVIEW 2022 Q3

Solved!
Go to solution

Hi, I updated LabVIEW 2022 Q3 over the past couple of months, and the One Element Stream-str library's Channel.vi in 32-bit LabVIEW seems to now be broken from what was working in LabVIEW 2021.  I tried today to update to Q3 Patch 1, and it's still broken.  I'm running it on Windows 10.  Could someone look into this or provide a workaround?

 

brnbs_0-1672258528348.png

 

0 Kudos
Message 1 of 6
(1,288 Views)

In order to try to reproduce (and understand) the problem, please provide us with your LabVIEW code that (a) works in LabVIEW 2021 and (b) fails in LabVIEW 2022.  Seeing the code that LabVIEW generated doesn't allow (I was going to say "us", but I'll say) me to "guess how you did this".

 

Bob Schor

0 Kudos
Message 2 of 6
(1,273 Views)

I created a one element stream channel from a string and it is not broken in my LV2022Q3. I would mass compile and check if the outcome shows any corrupt VIs and fix them.

 

Or are you getting this if you create a channel writer from an empty VI, with ExtraVILIb empty? First, in your documents folder delete \LabVIEW Data\<version>\ExtraVILib\ChannelInstances and then start LabVIEW, then, create a new VI, and in it create a one element stream channel to see if that works at least.

 

Certified LabVIEW Architect
0 Kudos
Message 3 of 6
(1,244 Views)

I tried deleting the ChannelInstances folder, but now it's gone and I can't create a new VI with a One Element Channel.  I'm trying to rebuild it with LabVIEW package repair.

 

The VI I'm referencing is a subVI to Read Endpoint - NI .  The VI should be available in your LabVIEW 2022 Examples in \National Instruments\LabVIEW 2022\examples\Channels\Basics\

 

I think the issue is tied to a new Windows profile configuration on my computer that puts the Windows account profile on a server rather than the local machine.  Now, the same VI in my LabVIEW 2021 folder is broken too.  Does LabVIEW 2022 recreate this  "\LabVIEW Data\<version>\ExtraVILib\ChannelInstances" folder every time the "My Documents" folder is accessed, or is it created during the LabVIEW 2022 install?

0 Kudos
Message 4 of 6
(1,212 Views)
Solution
Accepted by topic author brnbs

The ChannelInstances folder is created when a channel wire is either created or a VI using a channel wire is loaded. So you can just try and delete it and create a channel wire reader or writer and it should be created immediately, along with the channel wire VIs for that data type. 

 

 

Certified LabVIEW Architect
0 Kudos
Message 5 of 6
(1,195 Views)

I still ran the LabVIEW repair tool to repair my LabVIEW core libraries, but it appeared to rebuild ChannelInstances as you described when I reloaded the project.  Thanks for your help!

0 Kudos
Message 6 of 6
(1,153 Views)