LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pick the last line of a string

Hi MaSta,

 

show the image in "full screen view" by using the icon in the upper right corner ("arrow in rectangle box").

You will find a "save" button below the image. After saving to your harddrive you can drag&drop the image in a block diagram.

 

Another problem: nowadays content provider/proxies tend to strip/filter/recode "known" image formats (like JPG, PNG) so they only contain the pure image information. Anything else like LabVIEW code in snippets may be stripped in this process...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 17
(899 Views)

@JÞB wrote:

@Martin_Henz wrote:

Use match pattern with pattern "[^\n]+$"


You cannot anchor with Match Pattern.  You would need Match Regular Expression which performs slowly because it recurses so you don't have to curse.


Match Pattern supports anchors ($ for the end and ^ for the begin).

 

A match pattern with pattern "[^\n]+$" works just fine.

 

0 Kudos
Message 12 of 17
(887 Views)

wiebe@CARYA wrote:

@JÞB wrote:

@Martin_Henz wrote:

Use match pattern with pattern "[^\n]+$"


You cannot anchor with Match Pattern.  You would need Match Regular Expression which performs slowly because it recurses so you don't have to curse.


Match Pattern supports anchors ($ for the end and ^ for the begin).

 

A match pattern with pattern "[^\n]+$" works just fine.

 


DAMNIT now I have to submit feedback on the detailed help.  Anchors didn't show up.   Or, I missed them reading it.


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 17
(867 Views)

@MaSta wrote:

 

 


I have aJing of that 


In your case, the snippet may not work for you because it was generated by LabVIEW 2022 which could be newer than your LabVIEW version.   You can use Quick Drop to find the functions in vi.lib because I showed Lables and even a pseudo relative path to Split String.vi.


"Should be" isn't "Is" -Jay
0 Kudos
Message 14 of 17
(861 Views)

@JÞB wrote:

@MaSta wrote:

 

 


I have aJing of that 


 


What in the world is a "Jing"? And who uses flash anymore?

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 15 of 17
(843 Views)

@Frozen wrote:


What in the world is a "Jing"? And who uses flash anymore?


It used to be the quick and easy way to take a video of your computer, and had free hosting online.  All the cool kids were doing it.  Then things shifted, and Jing got left in the dust.  I've taken my Jing videos, then converted them to a more accessible format, and then upload them to Youtube.  The process isn't complicated but can be a pain if the flash file needs to be played back in real time, and a new screen recording taken.  Here is one of my Youtube videos, that was Jing here.  I should probably make a Jing showing how to convert a Jing.

0 Kudos
Message 16 of 17
(838 Views)

@JÞB wrote:

wiebe@CARYA wrote:

@JÞB wrote:

@Martin_Henz wrote:

Use match pattern with pattern "[^\n]+$"


You cannot anchor with Match Pattern.  You would need Match Regular Expression which performs slowly because it recurses so you don't have to curse.


Match Pattern supports anchors ($ for the end and ^ for the begin).

 

A match pattern with pattern "[^\n]+$" works just fine.

 


DAMNIT now I have to submit feedback on the detailed help.  Anchors didn't show up.   Or, I missed them reading it.


It's there, in the 'special characters' link.

 

It would be useful if it was in the details section.

Message 17 of 17
(828 Views)